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.003794/0.003794, allocations: 100.2 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 189.4 kB / 16.78 MB, free: 6.238 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.305/1.305, allocations: 205.1 MB / 222.6 MB, free: 4.719 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.3103/0.3103, allocations: 43.5 MB / 313.5 MB, free: 8.508 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.001312/0.001312, allocations: 66.56 kB / 382.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 57.77 MB / 439.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01284/0.1149, allocations: 14.49 MB / 454.4 MB, free: 208 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2124/0.3274, allocations: 4.541 MB / 458.9 MB, free: 37.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/0.3306, allocations: 57.72 kB / 459 MB, free: 37.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.3323, allocations: 0.765 MB / 459.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.3358, allocations: 1.223 MB / 461 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3371, allocations: 496.8 kB / 461.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003416/0.3406, allocations: 3.485 MB / 464.9 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.3421, allocations: 1.207 MB / 466.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000929/0.343, allocations: 0.6831 MB / 466.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.3443, allocations: 1.226 MB / 468.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.3445, allocations: 97.69 kB / 468.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.3462, allocations: 0.95 MB / 469.1 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007902/0.347, allocations: 1.005 MB / 470.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009586/0.348, allocations: 1.208 MB / 471.3 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003206/0.3512, allocations: 3.878 MB / 475.2 MB, free: 33.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3512, allocations: 2.969 kB / 475.2 MB, free: 33.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3512, allocations: 0 / 475.2 MB, free: 33.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.232e-05/0.3513, allocations: 0 / 475.2 MB, free: 33.46 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.004665/0.3559, allocations: 2.973 MB / 478.2 MB, free: 31.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.356, allocations: 9 kB / 478.2 MB, free: 31.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004465/0.3565, allocations: 471.1 kB / 478.6 MB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00586/0.3623, allocations: 1.661 MB / 480.3 MB, free: 31.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.3651, allocations: 1.782 MB / 482.1 MB, free: 30.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.3652, allocations: 124.4 kB / 482.2 MB, free: 30.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.3655, allocations: 171.9 kB / 482.4 MB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008938/0.3744, allocations: 6.46 MB / 488.8 MB, free: 27.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.536e-05/0.3745, allocations: 29.61 kB / 488.9 MB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.3748, allocations: 85.75 kB / 488.9 MB, free: 27.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00256/0.3773, allocations: 1.435 MB / 490.4 MB, free: 27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.3884, allocations: 5.727 MB / 496.1 MB, free: 25.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02768/0.4161, allocations: 26.82 MB / 0.5107 GB, free: 19.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003791/0.4199, allocations: 2.137 MB / 0.5128 GB, free: 18.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.4211, allocations: 1.055 MB / 0.5138 GB, free: 17.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.4213, allocations: 182.8 kB / 0.514 GB, free: 17.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4213, allocations: 46.83 kB / 0.514 GB, free: 17.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.306e-06/0.4213, allocations: 3.938 kB / 0.514 GB, free: 17.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01602/0.4374, allocations: 6.417 MB / 0.5203 GB, free: 10.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.4375, allocations: 148.8 kB / 0.5204 GB, free: 10.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004805/0.4423, allocations: 2.91 MB / 0.5233 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.4424, allocations: 45.7 kB / 0.5233 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.4438, allocations: 2.113 MB / 0.5254 GB, free: 5.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/0.4443, allocations: 454 kB / 0.5258 GB, free: 5.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.4453, allocations: 0.8914 MB / 0.5267 GB, free: 4.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.4454, allocations: 301.1 kB / 0.527 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.4474, allocations: 1.414 MB / 0.5283 GB, free: 2.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003747/0.4511, allocations: 4.291 MB / 0.5325 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006397/0.4575, allocations: 6.199 MB / 0.5386 GB, free: 5.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.234e-05/0.4576, allocations: 28 kB / 0.5386 GB, free: 5.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008639/0.4663, allocations: 5.492 MB / 0.544 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.437e-05/0.4664, allocations: 48 kB / 0.544 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.4665, allocations: 108.1 kB / 0.5441 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.4667, allocations: 132 kB / 0.5442 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003917/0.4706, allocations: 1.224 MB / 0.5454 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001738/0.4708, allocations: 199.2 kB / 0.5456 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.4738, allocations: 239.6 kB / 0.5459 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005098/0.4743, allocations: 282.9 kB / 0.5461 GB, free: 13.49 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.002264/0.4766, allocations: 1.388 MB / 0.5475 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000511/0.4771, allocations: 244.8 kB / 0.5477 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.4791, allocations: 1.243 MB / 0.5489 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.4791, allocations: 12 kB / 0.5489 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.4792, allocations: 3.938 kB / 0.549 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4792, allocations: 7.984 kB / 0.549 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007451/0.4866, allocations: 4.563 MB / 0.5534 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.4867, allocations: 15.94 kB / 0.5534 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.4883, allocations: 363.4 kB / 0.5538 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.4883, allocations: 8 kB / 0.5538 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.4884, allocations: 23.98 kB / 0.5538 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.4884, allocations: 11.94 kB / 0.5538 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4884, allocations: 4 kB / 0.5538 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.491, allocations: 2.166 MB / 0.5559 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000844/0.4918, allocations: 469.6 kB / 0.5564 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.4921, allocations: 16 kB / 0.5564 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008547/0.4929, allocations: 63.28 kB / 0.5565 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.4931, allocations: 71.8 kB / 0.5565 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.4932, allocations: 36.28 kB / 0.5566 GB, free: 2.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002495/0.4957, allocations: 1.831 MB / 0.5584 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4957, allocations: 0 / 0.5584 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003146/0.4989, allocations: 0.6288 MB / 0.559 GB, free: 144 kB / 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.002778/0.5017, allocations: 2.787 MB / 0.5617 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004685/0.5064, allocations: 3.244 MB / 0.5649 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.5064, allocations: 3.938 kB / 0.5649 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009666/0.5073, allocations: 0.7862 MB / 0.5656 GB, free: 9.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.5092, allocations: 258.4 kB / 0.5659 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04609/0.5553, allocations: 33.57 MB / 0.5987 GB, free: 2.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/0.5579, allocations: 2.215 MB / 0.6008 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003459/0.5614, allocations: 1.465 MB / 0.6023 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/0.5629, allocations: 1.085 MB / 0.6033 GB, free: 13.27 MB / 494.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5629, allocations: 0 / 0.6033 GB, free: 13.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2606/0.8235, allocations: 43.42 MB / 0.6457 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.8237, allocations: 177 kB / 0.6459 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/3.685, allocations: 0 / 0.6459 GB, free: 152.8 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