Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.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.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",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.001647/0.001647, allocations: 177.6 kB / 8.004 MB, free: 1.07 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.864/1.864, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008742/0.0008742, allocations: 87.86 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.2109/0.2109, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.284e-05/1.286e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.5208, allocations: 105.5 MB / 0.5691 GB, free: 5.848 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5211, allocations: 72.44 kB / 0.5691 GB, free: 5.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2338/0.7549, allocations: 92.1 MB / 0.6591 GB, free: 1.898 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.755, allocations: 0 / 0.6591 GB, free: 1.898 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002396/0.7552, allocations: 88 kB / 0.6592 GB, free: 1.812 MB / 458.7 MB 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.0148/0.77, allocations: 4.721 MB / 0.6638 GB, free: 13.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.7701, allocations: 12.03 kB / 0.6638 GB, free: 13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.7814, allocations: 2.232 MB / 0.666 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.7948, allocations: 5.089 MB / 0.6709 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.7951, allocations: 140 kB / 0.6711 GB, free: 5.477 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.7969, allocations: 248.3 kB / 0.6713 GB, free: 5.234 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01243/0.8093, allocations: 6.811 MB / 0.6779 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.829, allocations: 10.14 MB / 0.6879 GB, free: 3.242 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001615/0.8292, allocations: 59.47 kB / 0.6879 GB, free: 3.184 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006378/0.8299, allocations: 32 kB / 0.6879 GB, free: 3.152 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/0.8313, allocations: 1.159 MB / 0.6891 GB, free: 1.992 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.303/1.134, allocations: 49.37 MB / 0.7373 GB, free: 92.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00612/1.14, allocations: 4.363 MB / 0.7416 GB, free: 91.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004262/1.145, allocations: 3.063 MB / 0.7445 GB, free: 91.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/1.146, allocations: 1.349 MB / 0.7459 GB, free: 90.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004769/1.151, allocations: 3.131 MB / 0.7489 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=217): time 4.959e-06/1.151, allocations: 0 / 0.7489 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=284): time 0.05806/1.209, allocations: 25.29 MB / 0.7736 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/1.209, allocations: 159.4 kB / 0.7738 GB, free: 86.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/1.214, allocations: 3.194 MB / 0.7769 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006764/1.215, allocations: 32.7 kB / 0.7769 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.217, allocations: 3.318 MB / 0.7802 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001304/1.218, allocations: 1.011 MB / 0.7811 GB, free: 82.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/1.218, allocations: 0 / 0.7811 GB, free: 82.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00028/1.219, allocations: 0.5961 MB / 0.7817 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/1.222, allocations: 3.054 MB / 0.7847 GB, free: 80.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/1.228, allocations: 6.771 MB / 0.7913 GB, free: 74.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00658/1.235, allocations: 4.477 MB / 0.7957 GB, free: 73.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/1.235, allocations: 40.69 kB / 0.7957 GB, free: 73.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=889) (initialization): time 0.02238/1.257, allocations: 11.4 MB / 0.8069 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/1.257, allocations: 64.94 kB / 0.8069 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.257, allocations: 131.9 kB / 0.8071 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006421/1.264, allocations: 2.655 MB / 0.8097 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/1.269, allocations: 1.531 MB / 0.8111 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/1.29, allocations: 20.4 MB / 0.8311 GB, free: 49.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005658/1.296, allocations: 302 kB / 0.8314 GB, free: 49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.297, allocations: 402.8 kB / 0.8317 GB, free: 48.62 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.001036/1.298, allocations: 461.4 kB / 0.8322 GB, free: 48.18 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01145/1.309, allocations: 7.356 MB / 0.8394 GB, free: 42.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000793/1.31, allocations: 375.2 kB / 0.8397 GB, free: 41.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.322, allocations: 7.331 MB / 0.8469 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-05/1.322, allocations: 32 kB / 0.8469 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.322, allocations: 8 kB / 0.8469 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/1.322, allocations: 10.17 kB / 0.8469 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/1.344, allocations: 13.56 MB / 0.8602 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/1.344, allocations: 4 kB / 0.8602 GB, free: 25.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/1.346, allocations: 396.8 kB / 0.8605 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005629/1.352, allocations: 2.431 MB / 0.8629 GB, free: 22.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004492/1.352, allocations: 14.94 kB / 0.8629 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/1.373, allocations: 20.11 MB / 0.8826 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.373, allocations: 7.938 kB / 0.8826 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.386, allocations: 7.858 MB / 0.8903 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002526/1.389, allocations: 0.9295 MB / 0.8912 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008436/1.39, allocations: 4 kB / 0.8912 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.392, allocations: 167.7 kB / 0.8913 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006126/1.393, allocations: 193.6 kB / 0.8915 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002397/1.393, allocations: 72.77 kB / 0.8916 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003718/1.397, allocations: 2.132 MB / 0.8937 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/1.397, allocations: 0 / 0.8937 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007015/1.404, allocations: 1.176 MB / 0.8948 GB, free: 6.492 MB / 0.5105 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.2749/1.679, allocations: 9.244 MB / 0.9038 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0154/1.694, allocations: 8.051 MB / 0.9117 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.694, allocations: 0 / 0.9117 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0062/1.7, allocations: 3.735 MB / 0.9154 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/1.702, allocations: 347.8 kB / 0.9157 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02139/1.724, allocations: 11.05 MB / 0.9265 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003237/1.727, allocations: 3.67 MB / 0.9301 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005212/1.732, allocations: 2.182 MB / 0.9322 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003148/1.736, allocations: 2.057 MB / 0.9342 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/1.736, allocations: 0 / 0.9342 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/1.878, allocations: 98.66 MB / 1.031 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/1.879, allocations: 168.8 kB / 1.031 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.613/6.492, allocations: 4 kB / 1.031 GB, free: 61.72 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat