Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 185.6 kB / 17.06 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 88.73 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3269/0.3269, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003356, allocations: 8 kB / 460 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3167, allocations: 61.9 MB / 0.5096 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.4436, allocations: 108.9 MB / 0.616 GB, free: 2.223 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4439, allocations: 83.94 kB / 0.616 GB, free: 2.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1365/0.5804, allocations: 54.46 MB / 0.6692 GB, free: 11.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5804, allocations: 0 / 0.6692 GB, free: 11.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.404e-05/0.5805, allocations: 48 kB / 0.6693 GB, free: 11.34 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006647/0.5872, allocations: 2.577 MB / 0.6718 GB, free: 8.699 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5873, allocations: 8.031 kB / 0.6718 GB, free: 8.691 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00171/0.589, allocations: 443 kB / 0.6722 GB, free: 8.246 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.5914, allocations: 448.1 kB / 0.6726 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004885/0.5963, allocations: 1.493 MB / 0.6741 GB, free: 6.262 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.5966, allocations: 197.2 kB / 0.6743 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.5976, allocations: 252 kB / 0.6745 GB, free: 5.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2779/0.8755, allocations: 6.318 MB / 0.6807 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002893/0.8759, allocations: 23.83 kB / 0.6807 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/0.8773, allocations: 115.5 kB / 0.6808 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/0.8786, allocations: 459.7 kB / 0.6813 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.8916, allocations: 5.348 MB / 0.6865 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.9171, allocations: 20.14 MB / 0.7062 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0065/0.9237, allocations: 1.808 MB / 0.7079 GB, free: 93.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006478/0.9302, allocations: 4.715 MB / 0.7125 GB, free: 90.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.9303, allocations: 41.92 kB / 0.7126 GB, free: 90.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 5.37e-06/0.9303, allocations: 0 / 0.7126 GB, free: 90.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.04945/0.9797, allocations: 9.689 MB / 0.722 GB, free: 88.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.9799, allocations: 63.22 kB / 0.7221 GB, free: 88.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004627/0.9845, allocations: 1.634 MB / 0.7237 GB, free: 88.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003152/0.9849, allocations: 46.27 kB / 0.7237 GB, free: 88.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.9862, allocations: 1.534 MB / 0.7252 GB, free: 87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005699/0.9868, allocations: 410.9 kB / 0.7256 GB, free: 86.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.9871, allocations: 54.84 kB / 0.7257 GB, free: 86.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002675/0.9873, allocations: 420.3 kB / 0.7261 GB, free: 86.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.9895, allocations: 1.005 MB / 0.7271 GB, free: 85.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/0.9927, allocations: 2.505 MB / 0.7295 GB, free: 83.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/0.9959, allocations: 1.533 MB / 0.731 GB, free: 82.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-05/0.9961, allocations: 15.75 kB / 0.731 GB, free: 82.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.006212/1.002, allocations: 3.514 MB / 0.7345 GB, free: 81.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/1.002, allocations: 32.34 kB / 0.7345 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.736e-05/1.002, allocations: 53.66 kB / 0.7345 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-05/1.003, allocations: 82.16 kB / 0.7346 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/1.005, allocations: 0.6853 MB / 0.7353 GB, free: 81.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.117e-05/1.005, allocations: 99.53 kB / 0.7354 GB, free: 81.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/1.008, allocations: 158.6 kB / 0.7355 GB, free: 81.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/1.008, allocations: 155.9 kB / 0.7357 GB, free: 81.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (353): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00244/1.011, allocations: 1.136 MB / 0.7368 GB, free: 80.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/1.011, allocations: 169.4 kB / 0.7369 GB, free: 80.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/1.014, allocations: 1.744 MB / 0.7387 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.014, allocations: 11.25 kB / 0.7387 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.014, allocations: 0 / 0.7387 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/1.014, allocations: 6.5 kB / 0.7387 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.025, allocations: 5.636 MB / 0.7442 GB, free: 76.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/1.025, allocations: 10.44 kB / 0.7442 GB, free: 76.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.026, allocations: 255.5 kB / 0.7444 GB, free: 76.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.576e-05/1.026, allocations: 18.59 kB / 0.7444 GB, free: 76.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/1.026, allocations: 37.39 kB / 0.7445 GB, free: 76.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.707e-05/1.026, allocations: 25.31 kB / 0.7445 GB, free: 76.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.026, allocations: 14.59 kB / 0.7445 GB, free: 76.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/1.028, allocations: 2.557 MB / 0.747 GB, free: 74.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007512/1.029, allocations: 266.8 kB / 0.7473 GB, free: 74.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004404/1.029, allocations: 32.67 kB / 0.7473 GB, free: 74.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.03, allocations: 67.19 kB / 0.7474 GB, free: 74.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/1.031, allocations: 103.5 kB / 0.7475 GB, free: 74.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.226e-05/1.031, allocations: 42.09 kB / 0.7475 GB, free: 74.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002076/1.033, allocations: 1.187 MB / 0.7487 GB, free: 73.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.033, allocations: 0 / 0.7487 GB, free: 73.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003019/1.036, allocations: 0.5092 MB / 0.7492 GB, free: 73.74 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003305/1.039, allocations: 6.351 MB / 0.7554 GB, free: 67.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004185/1.043, allocations: 2.204 MB / 0.7575 GB, free: 67.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.043, allocations: 0 / 0.7575 GB, free: 67.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.044, allocations: 0.6224 MB / 0.7581 GB, free: 66.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/1.047, allocations: 231.9 kB / 0.7583 GB, free: 66.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/1.07, allocations: 45.14 MB / 0.8024 GB, free: 23.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/1.073, allocations: 2.121 MB / 0.8045 GB, free: 22.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002469/1.075, allocations: 0.7478 MB / 0.8052 GB, free: 22.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/1.077, allocations: 0.9589 MB / 0.8062 GB, free: 21.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.713e-06/1.077, allocations: 0 / 0.8062 GB, free: 21.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06533/1.143, allocations: 37.88 MB / 0.8432 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.143, allocations: 173.1 kB / 0.8433 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.311/4.454, allocations: 0 / 0.8433 GB, free: 9.066 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat