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.0009383/0.000938, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 86.22 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2125/0.2125, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.029e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.5101, allocations: 105 MB / 0.5686 GB, free: 6.301 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5104, allocations: 79.88 kB / 0.5687 GB, free: 6.266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3359/0.8463, allocations: 134.9 MB / 0.7004 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8464, allocations: 0 / 0.7004 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004632/0.8468, allocations: 139.9 kB / 0.7006 GB, free: 7.184 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.02262/0.8695, allocations: 6.639 MB / 0.7071 GB, free: 480 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.8695, allocations: 12.02 kB / 0.7071 GB, free: 468 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6076/1.477, allocations: 9.487 MB / 0.7163 GB, free: 96.9 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02717/1.504, allocations: 8.732 MB / 0.7249 GB, free: 96.45 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004821/1.505, allocations: 224.6 kB / 0.7251 GB, free: 96.45 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003645/1.509, allocations: 408.7 kB / 0.7255 GB, free: 96.44 MB / 0.4949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01957/1.528, allocations: 9.059 MB / 0.7343 GB, free: 96.41 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03596/1.564, allocations: 14.07 MB / 0.7481 GB, free: 92.52 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007389/1.565, allocations: 95.95 kB / 0.7482 GB, free: 92.51 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004648/1.57, allocations: 51.12 kB / 0.7482 GB, free: 92.51 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00288/1.573, allocations: 1.461 MB / 0.7496 GB, free: 92.5 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08712/1.66, allocations: 67.7 MB / 0.8157 GB, free: 47.74 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/1.666, allocations: 4.622 MB / 0.8203 GB, free: 45.45 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003442/1.669, allocations: 2.96 MB / 0.8231 GB, free: 44.15 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/1.669, allocations: 44.28 kB / 0.8232 GB, free: 44.15 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/1.669, allocations: 60.97 kB / 0.8232 GB, free: 44.09 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=242): time 7.714e-06/1.669, allocations: 0 / 0.8232 GB, free: 44.09 MB / 0.4949 GB Notification: Performance of matching and sorting (n=263): time 0.04419/1.713, allocations: 25.61 MB / 0.8483 GB, free: 27.47 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.714, allocations: 264.9 kB / 0.8485 GB, free: 27.16 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00794/1.722, allocations: 4.816 MB / 0.8532 GB, free: 22.96 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007476/1.722, allocations: 25.7 kB / 0.8532 GB, free: 22.93 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003323/1.726, allocations: 4.96 MB / 0.8581 GB, free: 18.43 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/1.727, allocations: 0.989 MB / 0.859 GB, free: 17.54 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/1.728, allocations: 0 / 0.859 GB, free: 17.54 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004042/1.728, allocations: 0.6694 MB / 0.8597 GB, free: 16.97 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/1.731, allocations: 2.699 MB / 0.8623 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005968/1.737, allocations: 7.997 MB / 0.8701 GB, free: 4.473 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006156/1.743, allocations: 4.596 MB / 0.8746 GB, free: 0.5508 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/1.744, allocations: 52 kB / 0.8747 GB, free: 0.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1135) (initialization): time 0.02228/1.766, allocations: 10.11 MB / 0.8846 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/1.766, allocations: 92.06 kB / 0.8846 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003237/1.766, allocations: 188 kB / 0.8848 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/1.768, allocations: 0.8099 MB / 0.8856 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007616/1.776, allocations: 1.998 MB / 0.8876 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/1.787, allocations: 8.027 MB / 0.8954 GB, free: 13.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007913/1.795, allocations: 297.1 kB / 0.8957 GB, free: 13.12 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002224/1.797, allocations: 0.5266 MB / 0.8962 GB, free: 12.61 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1066 * 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.002214/1.799, allocations: 0.581 MB / 0.8968 GB, free: 12.03 MB / 0.5262 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008514/1.808, allocations: 4.235 MB / 0.9009 GB, free: 8.363 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/1.809, allocations: 0.5052 MB / 0.9014 GB, free: 7.852 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008303/1.818, allocations: 4.074 MB / 0.9054 GB, free: 4.469 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.824e-05/1.818, allocations: 30.97 kB / 0.9054 GB, free: 4.441 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-05/1.818, allocations: 8 kB / 0.9054 GB, free: 4.434 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/1.818, allocations: 13.17 kB / 0.9054 GB, free: 4.434 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4094/2.227, allocations: 10.16 MB / 0.9153 GB, free: 111.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/2.227, allocations: 1.594 kB / 0.9153 GB, free: 111.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/2.229, allocations: 424.7 kB / 0.9158 GB, free: 111.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/2.231, allocations: 499 kB / 0.9162 GB, free: 111.8 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/2.231, allocations: 18.28 kB / 0.9162 GB, free: 111.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008486/2.24, allocations: 7.075 MB / 0.9232 GB, free: 108.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/2.24, allocations: 1.188 kB / 0.9232 GB, free: 108.1 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/2.255, allocations: 7.419 MB / 0.9304 GB, free: 107.3 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00382/2.258, allocations: 0.879 MB / 0.9313 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001759/2.26, allocations: 2.344 kB / 0.9313 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003278/2.264, allocations: 110.2 kB / 0.9314 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005261/2.264, allocations: 150.4 kB / 0.9315 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/2.264, allocations: 69.48 kB / 0.9316 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.007148/2.271, allocations: 3.259 MB / 0.9348 GB, free: 107 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.61e-07/2.272, allocations: 1.781 kB / 0.9348 GB, free: 107 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.009653/2.281, allocations: 1.313 MB / 0.936 GB, free: 107 MB / 0.5262 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 212 * 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.01046/2.292, allocations: 8.242 MB / 0.9441 GB, free: 105.6 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01175/2.303, allocations: 6.822 MB / 0.9508 GB, free: 105.3 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/2.304, allocations: 2.844 kB / 0.9508 GB, free: 105.3 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.003439/2.307, allocations: 2.341 MB / 0.953 GB, free: 104.9 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/2.312, allocations: 0.5907 MB / 0.9536 GB, free: 104.9 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03945/2.351, allocations: 13.86 MB / 0.9672 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009807/2.361, allocations: 5.045 MB / 0.9721 GB, free: 101.6 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.008706/2.37, allocations: 2.745 MB / 0.9748 GB, free: 101.5 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005583/2.375, allocations: 3.22 MB / 0.9779 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of SimCode: time 1.082e-06/2.375, allocations: 0 / 0.9779 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/2.55, allocations: 108.9 MB / 1.084 GB, free: 25.57 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001298/2.55, allocations: 132.5 kB / 1.084 GB, free: 25.38 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.307/7.857, allocations: 4 kB / 1.084 GB, free: 25.37 MB / 0.5262 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