Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 184.5 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3212/0.3212, allocations: 43.57 MB / 315 MB, free: 9.004 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000505/0.000505, allocations: 12 kB / 384.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 58.86 MB / 443.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.2025/0.3084, allocations: 13.89 MB / 457.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00677/0.3152, allocations: 4.487 MB / 461.9 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009661/0.3162, allocations: 52.91 kB / 462 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.3167, allocations: 281.1 kB / 462.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.3187, allocations: 1.238 MB / 463.5 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007673/0.3195, allocations: 489.5 kB / 463.9 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.3221, allocations: 3.488 MB / 467.4 MB, free: 35.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.3238, allocations: 1.477 MB / 468.9 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006199/0.3244, allocations: 0.6414 MB / 469.6 MB, free: 34.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.3255, allocations: 1.175 MB / 470.7 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.3256, allocations: 78.84 kB / 470.8 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.327, allocations: 0.9405 MB / 471.7 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006641/0.3277, allocations: 0.9879 MB / 472.7 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007768/0.3284, allocations: 1.193 MB / 473.9 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.3313, allocations: 3.813 MB / 477.7 MB, free: 33.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3314, allocations: 0 / 477.7 MB, free: 33.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3314, allocations: 4 kB / 477.7 MB, free: 33.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.429e-05/0.3315, allocations: 0 / 477.7 MB, free: 33.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.003648/0.3351, allocations: 2.47 MB / 480.2 MB, free: 31.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3352, allocations: 10.14 kB / 480.2 MB, free: 31.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000504/0.3357, allocations: 463.3 kB / 480.7 MB, free: 31.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006535/0.3422, allocations: 1.703 MB / 482.4 MB, free: 31.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003856/0.3461, allocations: 1.787 MB / 484.2 MB, free: 30.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3463, allocations: 124.2 kB / 484.3 MB, free: 30.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/0.3466, allocations: 162.2 kB / 484.4 MB, free: 30.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009433/0.3561, allocations: 6.467 MB / 490.9 MB, free: 27.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.038e-05/0.3562, allocations: 33.06 kB / 490.9 MB, free: 27.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.3564, allocations: 85.17 kB / 491 MB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002674/0.3591, allocations: 1.436 MB / 492.5 MB, free: 26.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.3699, allocations: 5.738 MB / 498.2 MB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03002/0.3999, allocations: 26.8 MB / 0.5127 GB, free: 19.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.404, allocations: 2.128 MB / 0.5148 GB, free: 18.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.4052, allocations: 1.048 MB / 0.5158 GB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.4054, allocations: 178.6 kB / 0.516 GB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.4055, allocations: 46.77 kB / 0.516 GB, free: 17.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.737e-06/0.4055, allocations: 0 / 0.516 GB, free: 17.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.0151/0.4206, allocations: 6.402 MB / 0.5223 GB, free: 10.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.4207, allocations: 140.9 kB / 0.5224 GB, free: 10.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/0.4251, allocations: 2.918 MB / 0.5253 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.4252, allocations: 33.7 kB / 0.5253 GB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/0.427, allocations: 2.12 MB / 0.5274 GB, free: 5.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.4274, allocations: 460.1 kB / 0.5278 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005303/0.428, allocations: 379.4 kB / 0.5282 GB, free: 4.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4281, allocations: 301.1 kB / 0.5284 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.4302, allocations: 1.422 MB / 0.5298 GB, free: 2.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004485/0.4347, allocations: 4.283 MB / 0.534 GB, free: 13.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007299/0.442, allocations: 6.198 MB / 0.5401 GB, free: 5.625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.039e-05/0.442, allocations: 32 kB / 0.5401 GB, free: 5.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008895/0.4509, allocations: 5.483 MB / 0.5455 GB, free: 108 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.451, allocations: 52 kB / 0.5455 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/0.4512, allocations: 100 kB / 0.5456 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.4513, allocations: 136.8 kB / 0.5457 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/0.4556, allocations: 1.228 MB / 0.5469 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002898/0.4559, allocations: 200 kB / 0.5471 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/0.4593, allocations: 239.6 kB / 0.5473 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/0.4597, allocations: 282.6 kB / 0.5476 GB, free: 13.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002374/0.4621, allocations: 1.384 MB / 0.549 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006149/0.4627, allocations: 244.8 kB / 0.5492 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.4649, allocations: 1.246 MB / 0.5504 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/0.4649, allocations: 12 kB / 0.5504 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.4649, allocations: 11.94 kB / 0.5504 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4649, allocations: 3.984 kB / 0.5504 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00721/0.4721, allocations: 4.557 MB / 0.5549 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4722, allocations: 4 kB / 0.5549 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.474, allocations: 367.3 kB / 0.5552 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.474, allocations: 8 kB / 0.5553 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.4741, allocations: 26.09 kB / 0.5553 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.4741, allocations: 8.375 kB / 0.5553 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4741, allocations: 15.94 kB / 0.5553 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.4766, allocations: 2.154 MB / 0.5574 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007579/0.4774, allocations: 469.6 kB / 0.5579 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.4776, allocations: 16 kB / 0.5579 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/0.4785, allocations: 67.22 kB / 0.5579 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.4786, allocations: 71.8 kB / 0.558 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.741e-05/0.4787, allocations: 36 kB / 0.558 GB, free: 3.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002418/0.4811, allocations: 1.835 MB / 0.5598 GB, free: 1.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4812, allocations: 0 / 0.5598 GB, free: 1.176 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002882/0.484, allocations: 0.6211 MB / 0.5604 GB, free: 0.5547 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00291/0.487, allocations: 2.791 MB / 0.5632 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004986/0.492, allocations: 3.246 MB / 0.5663 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.492, allocations: 4 kB / 0.5663 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009989/0.493, allocations: 0.7878 MB / 0.5671 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/0.4962, allocations: 266.1 kB / 0.5674 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0483/0.5445, allocations: 33.61 MB / 0.6002 GB, free: 2.418 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/0.5467, allocations: 2.215 MB / 0.6023 GB, free: 176 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003523/0.5503, allocations: 1.465 MB / 0.6038 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/0.5519, allocations: 1.085 MB / 0.6048 GB, free: 13.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5519, allocations: 0 / 0.6048 GB, free: 13.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2687/0.8206, allocations: 43.04 MB / 0.6469 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.8208, allocations: 179.5 kB / 0.647 GB, free: 149.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/3.68, allocations: 11.88 kB / 0.647 GB, free: 149.6 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches