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.001657/0.001657, allocations: 186.7 kB / 13.19 MB, free: 2.121 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.73/1.73, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0008231/0.0008231, allocations: 88.47 kB / 267 MB, free: 9.27 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.4579/0.4579, allocations: 43.46 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.674e-05, allocations: 4 kB / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 58.84 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4731, allocations: 106.2 MB / 0.5766 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.4734, allocations: 72.47 kB / 0.5767 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2614/0.7349, allocations: 94.14 MB / 0.6686 GB, free: 10.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.7349, allocations: 0 / 0.6686 GB, free: 10.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003486/0.7353, allocations: 84 kB / 0.6687 GB, free: 10.12 MB / 490.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.01617/0.7515, allocations: 4.72 MB / 0.6733 GB, free: 5.332 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.7515, allocations: 15.97 kB / 0.6733 GB, free: 5.316 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003035/0.7546, allocations: 0.7997 MB / 0.6741 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.7664, allocations: 2.232 MB / 0.6763 GB, free: 2.262 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/0.7849, allocations: 5.102 MB / 0.6812 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004741/0.7854, allocations: 328.9 kB / 0.6815 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002711/0.7881, allocations: 439.7 kB / 0.682 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2999/1.088, allocations: 11.5 MB / 0.6932 GB, free: 94.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003263/1.088, allocations: 51.09 kB / 0.6932 GB, free: 94.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002091/1.09, allocations: 215.5 kB / 0.6935 GB, free: 94.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002167/1.093, allocations: 1.154 MB / 0.6946 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/1.118, allocations: 9.894 MB / 0.7042 GB, free: 94.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05997/1.178, allocations: 50.86 MB / 0.7539 GB, free: 65.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/1.191, allocations: 5.874 MB / 0.7596 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/1.194, allocations: 3.137 MB / 0.7627 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/1.208, allocations: 9.308 MB / 0.7718 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01071/1.219, allocations: 3.396 MB / 0.7751 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=211): time 8.345e-06/1.219, allocations: 0 / 0.7751 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=285): time 0.09374/1.312, allocations: 27.22 MB / 0.8017 GB, free: 50.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/1.313, allocations: 159.7 kB / 0.8018 GB, free: 50.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006257/1.319, allocations: 3.703 MB / 0.8055 GB, free: 48.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008904/1.32, allocations: 64.92 kB / 0.8055 GB, free: 48.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002846/1.323, allocations: 3.266 MB / 0.8087 GB, free: 46.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001577/1.324, allocations: 1.05 MB / 0.8097 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/1.325, allocations: 130.7 kB / 0.8099 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003487/1.325, allocations: 0.5833 MB / 0.8104 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00419/1.329, allocations: 3.24 MB / 0.8136 GB, free: 43.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006171/1.335, allocations: 6.856 MB / 0.8203 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006513/1.342, allocations: 4.661 MB / 0.8248 GB, free: 36.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/1.342, allocations: 36.84 kB / 0.8249 GB, free: 36.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02358/1.366, allocations: 12.36 MB / 0.837 GB, free: 27.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/1.366, allocations: 60.97 kB / 0.837 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.366, allocations: 128 kB / 0.8371 GB, free: 26.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006734/1.373, allocations: 2.68 MB / 0.8397 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005771/1.379, allocations: 1.481 MB / 0.8412 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02443/1.403, allocations: 21.56 MB / 0.8622 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00689/1.41, allocations: 435.8 kB / 0.8627 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001878/1.412, allocations: 390.8 kB / 0.863 GB, free: 3.598 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 () * 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.002617/1.415, allocations: 0.5997 MB / 0.8636 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.416, allocations: 410.4 kB / 0.864 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/1.432, allocations: 7.862 MB / 0.8717 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-05/1.432, allocations: 35.7 kB / 0.8717 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/1.432, allocations: 19.36 kB / 0.8717 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.689e-05/1.432, allocations: 10.27 kB / 0.8718 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3679/1.8, allocations: 14.63 MB / 0.886 GB, free: 99.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/1.8, allocations: 3.422 kB / 0.886 GB, free: 99.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/1.803, allocations: 401.5 kB / 0.8864 GB, free: 99.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008107/1.811, allocations: 2.441 MB / 0.8888 GB, free: 99.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009603/1.812, allocations: 49.92 kB / 0.8889 GB, free: 99.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02829/1.841, allocations: 21.34 MB / 0.9097 GB, free: 94.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.841, allocations: 0 / 0.9097 GB, free: 94.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/1.858, allocations: 8.236 MB / 0.9177 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00376/1.861, allocations: 0.9946 MB / 0.9187 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00195/1.863, allocations: 46.44 kB / 0.9188 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003624/1.867, allocations: 211.5 kB / 0.919 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/1.868, allocations: 189 kB / 0.9191 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005875/1.869, allocations: 73.91 kB / 0.9192 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007634/1.877, allocations: 2.582 MB / 0.9217 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/1.877, allocations: 5.781 kB / 0.9217 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01022/1.887, allocations: 1.374 MB / 0.9231 GB, free: 93.66 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 (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.01995/1.907, allocations: 9.669 MB / 0.9325 GB, free: 91.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0191/1.926, allocations: 8.624 MB / 0.9409 GB, free: 89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.926, allocations: 5.531 kB / 0.9409 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007774/1.934, allocations: 3.942 MB / 0.9448 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/1.938, allocations: 449.6 kB / 0.9452 GB, free: 87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/1.973, allocations: 11.65 MB / 0.9566 GB, free: 82.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007785/1.981, allocations: 3.682 MB / 0.9602 GB, free: 81.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007905/1.989, allocations: 2.159 MB / 0.9623 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004246/1.994, allocations: 2.088 MB / 0.9643 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/1.994, allocations: 0 / 0.9643 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1758/2.169, allocations: 106.7 MB / 1.069 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/2.17, allocations: 221.4 kB / 1.069 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.516/7.686, allocations: 0 / 1.069 GB, free: 6.992 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