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.001636/0.001636, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 221.3 MB / 236 MB, free: 2.992 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.0009189/0.0009189, allocations: 91.66 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.052e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1518, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4498/0.6016, allocations: 108.4 MB / 0.6077 GB, free: 12.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.6019, allocations: 71.95 kB / 0.6077 GB, free: 12.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2642/0.8662, allocations: 95.45 MB / 0.7009 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8662, allocations: 0 / 0.7009 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002469/0.8665, allocations: 91.98 kB / 0.701 GB, free: 12.6 MB / 0.5105 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.01506/0.8815, allocations: 4.713 MB / 0.7056 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.8816, allocations: 8.031 kB / 0.7056 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003208/0.8848, allocations: 0.7959 MB / 0.7064 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.8961, allocations: 2.248 MB / 0.7086 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3473/1.243, allocations: 4.93 MB / 0.7134 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006433/1.244, allocations: 325.2 kB / 0.7137 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002862/1.247, allocations: 433 kB / 0.7141 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/1.272, allocations: 11.5 MB / 0.7254 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/1.273, allocations: 58.44 kB / 0.7254 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000689/1.273, allocations: 213.8 kB / 0.7256 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001719/1.275, allocations: 1.156 MB / 0.7268 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02144/1.296, allocations: 9.891 MB / 0.7364 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04917/1.346, allocations: 50.84 MB / 0.7861 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/1.358, allocations: 5.865 MB / 0.7918 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003011/1.361, allocations: 3.146 MB / 0.7949 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/1.372, allocations: 9.281 MB / 0.8039 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009765/1.382, allocations: 3.393 MB / 0.8073 GB, free: 72.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=211): time 6.372e-06/1.382, allocations: 0 / 0.8073 GB, free: 72.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=285): time 0.08561/1.467, allocations: 27.18 MB / 0.8338 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/1.467, allocations: 158.5 kB / 0.834 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/1.473, allocations: 3.679 MB / 0.8375 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.474, allocations: 78.17 kB / 0.8376 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.477, allocations: 3.26 MB / 0.8408 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/1.479, allocations: 1.045 MB / 0.8418 GB, free: 51.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/1.479, allocations: 139.8 kB / 0.842 GB, free: 51.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003008/1.48, allocations: 0.5862 MB / 0.8425 GB, free: 50.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/1.484, allocations: 3.239 MB / 0.8457 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005325/1.489, allocations: 6.849 MB / 0.8524 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005509/1.494, allocations: 4.665 MB / 0.8569 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.399e-05/1.494, allocations: 36 kB / 0.857 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02095/1.515, allocations: 12.36 MB / 0.869 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.973e-05/1.516, allocations: 60 kB / 0.8691 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/1.516, allocations: 124 kB / 0.8692 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006651/1.522, allocations: 2.681 MB / 0.8718 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005668/1.528, allocations: 1.489 MB / 0.8733 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03361/1.562, allocations: 21.53 MB / 0.8943 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00968/1.571, allocations: 427.3 kB / 0.8947 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/1.573, allocations: 395.9 kB / 0.8951 GB, free: 14.29 MB / 0.5261 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.001879/1.575, allocations: 0.5972 MB / 0.8957 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/1.577, allocations: 414.6 kB / 0.8961 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/1.598, allocations: 7.859 MB / 0.9037 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.298e-05/1.598, allocations: 28 kB / 0.9038 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/1.598, allocations: 12 kB / 0.9038 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-05/1.598, allocations: 15.61 kB / 0.9038 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.431/2.029, allocations: 14.62 MB / 0.9181 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.57e-05/2.029, allocations: 2.656 kB / 0.9181 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003178/2.033, allocations: 400.6 kB / 0.9185 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008/2.041, allocations: 2.439 MB / 0.9208 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007339/2.041, allocations: 51.92 kB / 0.9209 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02769/2.069, allocations: 21.34 MB / 0.9417 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/2.069, allocations: 5.562 kB / 0.9417 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/2.083, allocations: 8.228 MB / 0.9498 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/2.085, allocations: 457.3 kB / 0.9502 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/2.086, allocations: 46.23 kB / 0.9503 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/2.089, allocations: 211.6 kB / 0.9505 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007619/2.089, allocations: 199.5 kB / 0.9506 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002631/2.09, allocations: 73.73 kB / 0.9507 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004054/2.094, allocations: 2.565 MB / 0.9532 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/2.094, allocations: 0 / 0.9532 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006549/2.1, allocations: 1.373 MB / 0.9546 GB, free: 110.6 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 (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.01514/2.116, allocations: 9.664 MB / 0.964 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01286/2.128, allocations: 8.62 MB / 0.9724 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/2.128, allocations: 0 / 0.9724 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005656/2.134, allocations: 3.946 MB / 0.9763 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/2.137, allocations: 451.5 kB / 0.9767 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/2.164, allocations: 11.64 MB / 0.9881 GB, free: 97.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004125/2.169, allocations: 3.673 MB / 0.9917 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005559/2.174, allocations: 2.155 MB / 0.9938 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003053/2.177, allocations: 2.088 MB / 0.9958 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/2.177, allocations: 0 / 0.9958 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1549/2.332, allocations: 106.6 MB / 1.1 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/2.332, allocations: 213.3 kB / 1.1 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.297/7.629, allocations: 0 / 1.1 GB, free: 1.367 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