Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.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.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",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.001467/0.001467, allocations: 171.6 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.5 MB / 230.7 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009395/0.0009396, allocations: 102 kB / 281.6 MB, free: 5.34 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.2236/0.2236, allocations: 44.16 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/1.98e-05, allocations: 224 / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1446, allocations: 61.91 MB / 0.4948 GB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5423/0.687, allocations: 107.8 MB / 0.6 GB, free: 4.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.6873, allocations: 67.97 kB / 0.6 GB, free: 4.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2474/0.9347, allocations: 93.42 MB / 0.6913 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9348, allocations: 0 / 0.6913 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002367/0.935, allocations: 88 kB / 0.6914 GB, free: 6.375 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: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01629/0.9513, allocations: 4.709 MB / 0.696 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.9514, allocations: 11.98 kB / 0.696 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3735/1.325, allocations: 2.235 MB / 0.6982 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/1.341, allocations: 4.93 MB / 0.703 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/1.341, allocations: 138.9 kB / 0.7031 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/1.344, allocations: 256.5 kB / 0.7033 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01506/1.359, allocations: 6.804 MB / 0.71 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/1.383, allocations: 10.14 MB / 0.7199 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001975/1.383, allocations: 56.41 kB / 0.72 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008965/1.384, allocations: 33.69 kB / 0.72 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001336/1.385, allocations: 1.156 MB / 0.7211 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05024/1.436, allocations: 49.36 MB / 0.7693 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/1.441, allocations: 4.364 MB / 0.7736 GB, free: 73.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003345/1.444, allocations: 3.068 MB / 0.7766 GB, free: 72.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.445, allocations: 1.351 MB / 0.7779 GB, free: 71.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004234/1.45, allocations: 3.129 MB / 0.7809 GB, free: 70.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=217): time 7.925e-06/1.45, allocations: 0 / 0.7809 GB, free: 70.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=284): time 0.06557/1.515, allocations: 25.23 MB / 0.8056 GB, free: 58.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.515, allocations: 158.5 kB / 0.8057 GB, free: 58.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006315/1.522, allocations: 3.179 MB / 0.8088 GB, free: 55.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000782/1.523, allocations: 29.7 kB / 0.8089 GB, free: 55.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002603/1.525, allocations: 3.312 MB / 0.8121 GB, free: 52.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.527, allocations: 1.008 MB / 0.8131 GB, free: 51.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009787/1.528, allocations: 4 kB / 0.8131 GB, free: 51.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005367/1.528, allocations: 0.5942 MB / 0.8137 GB, free: 51.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004405/1.533, allocations: 3.052 MB / 0.8167 GB, free: 48.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007738/1.54, allocations: 6.774 MB / 0.8233 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00655/1.547, allocations: 4.485 MB / 0.8277 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.547, allocations: 39.95 kB / 0.8277 GB, free: 36.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=889) (initialization): time 0.0222/1.569, allocations: 11.4 MB / 0.8388 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.569, allocations: 63.66 kB / 0.8389 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/1.57, allocations: 132 kB / 0.839 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006716/1.576, allocations: 2.654 MB / 0.8416 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005756/1.582, allocations: 1.522 MB / 0.8431 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/1.606, allocations: 20.41 MB / 0.863 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006738/1.613, allocations: 300 kB / 0.8633 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/1.615, allocations: 407.6 kB / 0.8637 GB, free: 4.434 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 (790): * Single equations (assignments): 783 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.002414/1.617, allocations: 452.8 kB / 0.8641 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0143/1.631, allocations: 7.354 MB / 0.8713 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.633, allocations: 375.2 kB / 0.8717 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.65, allocations: 7.329 MB / 0.8788 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/1.65, allocations: 28 kB / 0.8788 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.987e-05/1.65, allocations: 12 kB / 0.8789 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.073e-05/1.65, allocations: 11.95 kB / 0.8789 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/1.678, allocations: 13.56 MB / 0.8921 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/1.678, allocations: 3.984 kB / 0.8921 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/1.681, allocations: 395.4 kB / 0.8925 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006681/1.687, allocations: 2.427 MB / 0.8949 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006372/1.688, allocations: 15.95 kB / 0.8949 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3525/2.041, allocations: 20.1 MB / 0.9145 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/2.041, allocations: 3.156 kB / 0.9145 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/2.057, allocations: 7.858 MB / 0.9222 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/2.058, allocations: 412.7 kB / 0.9226 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/2.059, allocations: 4.438 kB / 0.9226 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/2.062, allocations: 165.3 kB / 0.9227 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/2.063, allocations: 194 kB / 0.9229 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005742/2.064, allocations: 73.58 kB / 0.923 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006364/2.07, allocations: 2.117 MB / 0.9251 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/2.07, allocations: 3.484 kB / 0.9251 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009185/2.08, allocations: 1.171 MB / 0.9262 GB, free: 122.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01667/2.096, allocations: 9.24 MB / 0.9352 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01357/2.11, allocations: 8.049 MB / 0.9431 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/2.11, allocations: 3.625 kB / 0.9431 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006608/2.117, allocations: 3.74 MB / 0.9467 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/2.12, allocations: 344.8 kB / 0.9471 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02811/2.148, allocations: 11.04 MB / 0.9579 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006024/2.154, allocations: 3.664 MB / 0.9614 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006451/2.161, allocations: 2.175 MB / 0.9636 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003863/2.165, allocations: 2.053 MB / 0.9656 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/2.165, allocations: 2.594 kB / 0.9656 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/2.31, allocations: 98.59 MB / 1.062 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/2.311, allocations: 157.2 kB / 1.062 GB, free: 34.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.43/6.74, allocations: 0 / 1.062 GB, free: 34.33 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat