Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.0008612/0.0008612, allocations: 175.4 kB / 16.72 MB, free: 5.059 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.232/1.232, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007562/0.0007561, allocations: 89.36 kB / 271.2 MB, free: 8.242 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.2853/0.2853, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 12 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.0961, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2086/0.3047, allocations: 42.57 MB / 0.521 GB, free: 19.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.3228, allocations: 9.712 MB / 0.5305 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007701/0.3306, allocations: 214.8 kB / 0.5307 GB, free: 13.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005888/0.3365, allocations: 2.312 MB / 0.5329 GB, free: 12.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01529/0.3518, allocations: 6.605 MB / 0.5394 GB, free: 9.816 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003569/0.3554, allocations: 0.7883 MB / 0.5401 GB, free: 9.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005749/0.3612, allocations: 4.751 MB / 0.5448 GB, free: 7.867 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006323/0.3675, allocations: 4.137 MB / 0.5488 GB, free: 6.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.3709, allocations: 1.519 MB / 0.5503 GB, free: 5.738 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.3746, allocations: 2.056 MB / 0.5523 GB, free: 5.113 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008818/0.3755, allocations: 144 kB / 0.5525 GB, free: 5.113 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.3783, allocations: 1.072 MB / 0.5535 GB, free: 4.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002488/0.3808, allocations: 1.75 MB / 0.5552 GB, free: 4.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002569/0.3834, allocations: 1.982 MB / 0.5571 GB, free: 2.668 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006878/0.3903, allocations: 5.447 MB / 0.5625 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3903, allocations: 0 / 0.5625 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3903, allocations: 0 / 0.5625 GB, free: 15.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002825/0.3906, allocations: 1.094 kB / 0.5625 GB, free: 15.04 MB / 394.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.01086/0.4015, allocations: 4.43 MB / 0.5668 GB, free: 11.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4016, allocations: 12.62 kB / 0.5668 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002096/0.4037, allocations: 0.7491 MB / 0.5675 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006696/0.4104, allocations: 1.931 MB / 0.5694 GB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006071/0.4165, allocations: 2.977 MB / 0.5723 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.4167, allocations: 242 kB / 0.5726 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.4178, allocations: 323.7 kB / 0.5729 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.4372, allocations: 11.19 MB / 0.5838 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.4374, allocations: 51.52 kB / 0.5838 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.4379, allocations: 155.8 kB / 0.584 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003989/0.4419, allocations: 2.295 MB / 0.5862 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/0.462, allocations: 9.839 MB / 0.5958 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0569/0.519, allocations: 44.34 MB / 0.6391 GB, free: 216 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/0.5325, allocations: 5.861 MB / 0.6449 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00414/0.5367, allocations: 3.233 MB / 0.648 GB, free: 6.961 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/0.5512, allocations: 9.353 MB / 0.6572 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01043/0.5617, allocations: 3.373 MB / 0.6604 GB, free: 9.871 MB / 490.7 MB Notification: Performance of pre-optimization done (n=211): time 9.257e-06/0.5617, allocations: 0 / 0.6604 GB, free: 9.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=285): time 0.2903/0.8521, allocations: 33.56 MB / 0.6932 GB, free: 136.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.8522, allocations: 166.7 kB / 0.6934 GB, free: 136.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004987/0.8572, allocations: 4.193 MB / 0.6975 GB, free: 134.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006053/0.8578, allocations: 74.31 kB / 0.6975 GB, free: 134.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002114/0.8599, allocations: 3.248 MB / 0.7007 GB, free: 132.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.8611, allocations: 1.043 MB / 0.7017 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.8615, allocations: 131.4 kB / 0.7019 GB, free: 131.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002622/0.8618, allocations: 0.5871 MB / 0.7024 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004724/0.8665, allocations: 3.345 MB / 0.7057 GB, free: 129.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007156/0.8737, allocations: 6.948 MB / 0.7125 GB, free: 123.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/0.8866, allocations: 11.14 MB / 0.7234 GB, free: 115.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001817/0.8868, allocations: 35.25 kB / 0.7234 GB, free: 115.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02146/0.9083, allocations: 12.53 MB / 0.7356 GB, free: 110.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/0.9084, allocations: 60.05 kB / 0.7357 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/0.9085, allocations: 132 kB / 0.7358 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006423/0.915, allocations: 2.654 MB / 0.7384 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00508/0.9201, allocations: 1.472 MB / 0.7398 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.9426, allocations: 21.6 MB / 0.7609 GB, free: 84.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006382/0.949, allocations: 436 kB / 0.7613 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/0.9505, allocations: 388.7 kB / 0.7617 GB, free: 84.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * 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 (760): * Single equations (assignments): 753 * 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.005046/0.9556, allocations: 2.228 MB / 0.7639 GB, free: 81.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008716/0.9564, allocations: 414.8 kB / 0.7643 GB, free: 81.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.9691, allocations: 8 MB / 0.7721 GB, free: 73.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-05/0.9692, allocations: 28 kB / 0.7721 GB, free: 73.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.15e-05/0.9693, allocations: 11.98 kB / 0.7721 GB, free: 73.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.056e-05/0.9694, allocations: 15.95 kB / 0.7721 GB, free: 73.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/0.995, allocations: 14.79 MB / 0.7866 GB, free: 58.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.468e-05/0.9951, allocations: 4 kB / 0.7866 GB, free: 58.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/0.9973, allocations: 391.6 kB / 0.787 GB, free: 58.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005764/1.003, allocations: 2.446 MB / 0.7894 GB, free: 55.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006008/1.004, allocations: 48 kB / 0.7894 GB, free: 55.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02259/1.026, allocations: 21.34 MB / 0.8102 GB, free: 33.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.026, allocations: 4 kB / 0.8102 GB, free: 33.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/1.041, allocations: 8.111 MB / 0.8182 GB, free: 25.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003027/1.044, allocations: 1.003 MB / 0.8191 GB, free: 24.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/1.045, allocations: 48 kB / 0.8192 GB, free: 24.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/1.048, allocations: 215.7 kB / 0.8194 GB, free: 24.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/1.049, allocations: 190.2 kB / 0.8196 GB, free: 24.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003856/1.049, allocations: 81.23 kB / 0.8197 GB, free: 23.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004301/1.054, allocations: 2.615 MB / 0.8222 GB, free: 21.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.453e-06/1.054, allocations: 0.6562 kB / 0.8222 GB, free: 21.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006927/1.061, allocations: 1.361 MB / 0.8235 GB, free: 20.02 MB / 490.7 MB 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 (188): * Single equations (assignments): 179 * 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.0145/1.075, allocations: 9.072 MB / 0.8324 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01369/1.089, allocations: 8.834 MB / 0.841 GB, free: 2.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.089, allocations: 4.062 kB / 0.841 GB, free: 2.051 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006769/1.096, allocations: 4.055 MB / 0.845 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005525/1.101, allocations: 484 kB / 0.8455 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2512/1.353, allocations: 46.59 MB / 0.891 GB, free: 125 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/1.356, allocations: 3.58 MB / 0.8944 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002855/1.359, allocations: 2.131 MB / 0.8965 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/1.359, allocations: 0 / 0.8965 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.004/10.36, allocations: 165.4 MB / 1.058 GB, free: 152.5 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/PlanarLoopWithMove/PlanarLoopWithMove.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches