Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001893/0.001893, allocations: 183.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009066/0.0009066, allocations: 98.8 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2059/0.2059, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 58.85 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4402/0.5789, allocations: 105.8 MB / 0.5822 GB, free: 10.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5793, allocations: 77.09 kB / 0.5822 GB, free: 10.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7245/1.304, allocations: 137.7 MB / 0.7168 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.895e-06/1.304, allocations: 3.5 kB / 0.7168 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003821/1.304, allocations: 138.2 kB / 0.7169 GB, free: 74.29 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02867/1.333, allocations: 7.267 MB / 0.724 GB, free: 71.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/1.333, allocations: 9.781 kB / 0.724 GB, free: 71.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007276/1.34, allocations: 1.185 MB / 0.7252 GB, free: 71.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04178/1.382, allocations: 9.488 MB / 0.7344 GB, free: 70.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0276/1.41, allocations: 8.786 MB / 0.743 GB, free: 70.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009683/1.411, allocations: 0.5086 MB / 0.7435 GB, free: 70.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004663/1.415, allocations: 0.6862 MB / 0.7442 GB, free: 70.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04663/1.462, allocations: 16.12 MB / 0.7599 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009056/1.463, allocations: 99.97 kB / 0.76 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004495/1.468, allocations: 323.8 kB / 0.7603 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002633/1.47, allocations: 1.466 MB / 0.7617 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0294/1.5, allocations: 12.86 MB / 0.7743 GB, free: 66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08951/1.589, allocations: 70.79 MB / 0.8434 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/1.603, allocations: 5.916 MB / 0.8492 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/1.603, allocations: 46.69 kB / 0.8492 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.119e-05/1.603, allocations: 67.69 kB / 0.8493 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 9.248e-06/1.603, allocations: 0 / 0.8493 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.06767/1.671, allocations: 22.49 MB / 0.8713 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/1.671, allocations: 263.5 kB / 0.8715 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01568/1.687, allocations: 6.173 MB / 0.8776 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007079/1.688, allocations: 65.7 kB / 0.8776 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005895/1.694, allocations: 4.877 MB / 0.8824 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.696, allocations: 1.006 MB / 0.8834 GB, free: 484 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/1.697, allocations: 171.3 kB / 0.8835 GB, free: 316 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001263/1.699, allocations: 0.6616 MB / 0.8842 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006989/1.706, allocations: 2.867 MB / 0.887 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01314/1.719, allocations: 8.01 MB / 0.8948 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.729, allocations: 4.71 MB / 0.8994 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002634/1.729, allocations: 52 kB / 0.8994 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.02694/1.756, allocations: 11.23 MB / 0.9104 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003444/1.757, allocations: 84 kB / 0.9105 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004463/1.757, allocations: 180 kB / 0.9107 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/1.76, allocations: 0.8163 MB / 0.9115 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007701/1.767, allocations: 1.926 MB / 0.9133 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3755/2.143, allocations: 8.453 MB / 0.9216 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009056/2.152, allocations: 460.8 kB / 0.922 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002312/2.154, allocations: 0.5042 MB / 0.9225 GB, free: 102.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1036): * Single equations (assignments): 1030 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009071/2.163, allocations: 3.212 MB / 0.9257 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001852/2.165, allocations: 0.5855 MB / 0.9262 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/2.177, allocations: 4.344 MB / 0.9305 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.543e-05/2.177, allocations: 36.48 kB / 0.9305 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-05/2.177, allocations: 6.781 kB / 0.9305 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.016e-05/2.177, allocations: 13.02 kB / 0.9305 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02894/2.206, allocations: 11.24 MB / 0.9415 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/2.206, allocations: 3.5 kB / 0.9415 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/2.208, allocations: 408.5 kB / 0.9419 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001584/2.21, allocations: 0.5035 MB / 0.9424 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003767/2.21, allocations: 48.91 kB / 0.9424 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007064/2.217, allocations: 7.548 MB / 0.9498 GB, free: 97.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.217, allocations: 0 / 0.9498 GB, free: 97.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/2.23, allocations: 7.736 MB / 0.9574 GB, free: 96.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004194/2.234, allocations: 0.9933 MB / 0.9583 GB, free: 96.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001762/2.236, allocations: 44.77 kB / 0.9584 GB, free: 96.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/2.239, allocations: 145.6 kB / 0.9585 GB, free: 96.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/2.239, allocations: 149.1 kB / 0.9587 GB, free: 96.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/2.24, allocations: 67.75 kB / 0.9587 GB, free: 96.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009455/2.249, allocations: 4.408 MB / 0.963 GB, free: 96.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.61e-07/2.249, allocations: 0 / 0.963 GB, free: 96.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01149/2.261, allocations: 1.519 MB / 0.9645 GB, free: 96.53 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01246/2.273, allocations: 8.597 MB / 0.9729 GB, free: 94.76 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01249/2.286, allocations: 7.243 MB / 0.98 GB, free: 94.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/2.286, allocations: 5.906 kB / 0.98 GB, free: 94.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003907/2.29, allocations: 2.437 MB / 0.9824 GB, free: 93.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005386/2.295, allocations: 0.7519 MB / 0.9831 GB, free: 93.03 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5068/2.802, allocations: 186.6 MB / 1.165 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/2.813, allocations: 5.04 MB / 1.17 GB, free: 139 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01076/2.824, allocations: 2.765 MB / 1.173 GB, free: 138.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009399/2.834, allocations: 3.246 MB / 1.176 GB, free: 138.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.563e-06/2.834, allocations: 0 / 1.176 GB, free: 138.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1964/3.03, allocations: 123.2 MB / 1.296 GB, free: 65.03 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/3.03, allocations: 195.9 kB / 1.297 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/9.642, allocations: 0 / 1.297 GB, free: 64.79 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat