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.001282/0.001282, allocations: 183.9 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.608/1.608, 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.0009115/0.0009117, allocations: 78.88 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.2219/0.2219, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 58.86 MB / 490.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4501/0.5818, allocations: 106.3 MB / 0.5826 GB, free: 9.754 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5821, allocations: 73.62 kB / 0.5827 GB, free: 9.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2492/0.8314, allocations: 94.07 MB / 0.6746 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8314, allocations: 0 / 0.6746 GB, free: 3.418 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002351/0.8317, allocations: 87.98 kB / 0.6746 GB, free: 3.332 MB / 474.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.01864/0.8503, allocations: 5.07 MB / 0.6796 GB, free: 14.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.8504, allocations: 8.031 kB / 0.6796 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003866/0.8543, allocations: 0.8036 MB / 0.6804 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.8653, allocations: 2.232 MB / 0.6826 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/0.8809, allocations: 5.125 MB / 0.6876 GB, free: 5.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/0.8814, allocations: 328.3 kB / 0.6879 GB, free: 5.605 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00278/0.8842, allocations: 435.8 kB / 0.6883 GB, free: 5.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03132/0.9155, allocations: 11.59 MB / 0.6996 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001833/0.9158, allocations: 59.41 kB / 0.6997 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007399/0.9165, allocations: 207.9 kB / 0.6999 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/0.9181, allocations: 1.155 MB / 0.701 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3663/1.284, allocations: 10.03 MB / 0.7108 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06547/1.35, allocations: 50.85 MB / 0.7605 GB, free: 85.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/1.363, allocations: 5.913 MB / 0.7662 GB, free: 84.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01373/1.377, allocations: 9.309 MB / 0.7753 GB, free: 79.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01043/1.388, allocations: 3.409 MB / 0.7787 GB, free: 78.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=211): time 1.03e-05/1.388, allocations: 0 / 0.7787 GB, free: 78.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=285): time 0.1224/1.51, allocations: 34.04 MB / 0.8119 GB, free: 70.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.51, allocations: 157.8 kB / 0.812 GB, free: 69.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007978/1.518, allocations: 3.738 MB / 0.8157 GB, free: 67.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009944/1.519, allocations: 71.73 kB / 0.8158 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002823/1.522, allocations: 3.267 MB / 0.819 GB, free: 64.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001726/1.524, allocations: 1.05 MB / 0.82 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004339/1.524, allocations: 128 kB / 0.8201 GB, free: 63.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003227/1.525, allocations: 0.5898 MB / 0.8207 GB, free: 63.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004098/1.529, allocations: 3.299 MB / 0.8239 GB, free: 60.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005753/1.535, allocations: 6.905 MB / 0.8306 GB, free: 52.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006194/1.541, allocations: 4.692 MB / 0.8352 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.364e-05/1.541, allocations: 36 kB / 0.8353 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02117/1.562, allocations: 12.46 MB / 0.8474 GB, free: 37.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.196e-05/1.562, allocations: 60 kB / 0.8475 GB, free: 37.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.562, allocations: 128 kB / 0.8476 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006883/1.569, allocations: 2.689 MB / 0.8502 GB, free: 35.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005983/1.575, allocations: 1.485 MB / 0.8517 GB, free: 34.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02453/1.6, allocations: 22.31 MB / 0.8735 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006152/1.606, allocations: 432 kB / 0.8739 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.607, allocations: 392.6 kB / 0.8743 GB, free: 10.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 760 * 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,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.004148/1.611, allocations: 2.238 MB / 0.8764 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008351/1.612, allocations: 402.8 kB / 0.8768 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.625, allocations: 7.906 MB / 0.8846 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.479e-05/1.625, allocations: 32.7 kB / 0.8846 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.646e-05/1.625, allocations: 12.05 kB / 0.8846 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.283e-05/1.625, allocations: 11.91 kB / 0.8846 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02919/1.655, allocations: 14.7 MB / 0.899 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/1.655, allocations: 0 / 0.899 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/1.657, allocations: 395.4 kB / 0.8993 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.257/1.914, allocations: 2.45 MB / 0.9017 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008986/1.915, allocations: 46.75 kB / 0.9018 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03136/1.946, allocations: 22.1 MB / 0.9234 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.947, allocations: 4.312 kB / 0.9234 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/1.961, allocations: 8.3 MB / 0.9315 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003743/1.965, allocations: 0.9906 MB / 0.9324 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/1.966, allocations: 50.27 kB / 0.9325 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/1.969, allocations: 206.5 kB / 0.9327 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007294/1.969, allocations: 191.5 kB / 0.9329 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002664/1.97, allocations: 82.12 kB / 0.9329 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004349/1.974, allocations: 2.618 MB / 0.9355 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/1.974, allocations: 0 / 0.9355 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007795/1.982, allocations: 1.37 MB / 0.9368 GB, free: 114.5 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * 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,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01502/1.997, allocations: 9.775 MB / 0.9464 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01286/2.01, allocations: 8.731 MB / 0.9549 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/2.01, allocations: 2.375 kB / 0.9549 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005761/2.016, allocations: 3.993 MB / 0.9588 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/2.018, allocations: 448.9 kB / 0.9592 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1021/2.12, allocations: 132.7 MB / 1.089 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007191/2.128, allocations: 3.676 MB / 1.092 GB, free: 388 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.2539/2.382, allocations: 2.156 MB / 1.094 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004668/2.386, allocations: 2.093 MB / 1.097 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.114e-06/2.386, allocations: 3.688 kB / 1.097 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/2.538, allocations: 106.3 MB / 1.2 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/2.538, allocations: 249.7 kB / 1.201 GB, free: 86.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.667/7.205, allocations: 0 / 1.201 GB, free: 86.81 MB / 0.5261 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