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.001338/0.001338, allocations: 99.03 kB / 16.27 MB, free: 5.93 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.001632/0.001632, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.559/1.559, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2103/0.2103, allocations: 43.51 MB / 313.9 MB, free: 0.5312 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.001458/0.001458, allocations: 71.53 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006767/0.1172, allocations: 7.492 MB / 448.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.1234, allocations: 3.338 MB / 451.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007699/0.1242, allocations: 35.88 kB / 451.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.126, allocations: 0.7937 MB / 452.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.1287, allocations: 1.335 MB / 453.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1298, allocations: 0.5223 MB / 454.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00284/0.1327, allocations: 2.574 MB / 456.7 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.134, allocations: 1.237 MB / 457.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.135, allocations: 0.7822 MB / 458.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.1363, allocations: 1.133 MB / 459.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.1366, allocations: 140 kB / 460 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.1381, allocations: 0.936 MB / 460.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008951/0.139, allocations: 1.024 MB / 462 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.1402, allocations: 1.23 MB / 463.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.1441, allocations: 3.898 MB / 467.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1441, allocations: 3.984 kB / 467.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1441, allocations: 0 / 467.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.251e-05/0.1442, allocations: 0 / 467.1 MB, free: 12.22 MB / 350.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.005284/0.1495, allocations: 2.972 MB / 470.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1495, allocations: 15.89 kB / 470.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000493/0.15, allocations: 462.5 kB / 470.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005945/0.156, allocations: 1.658 MB / 472.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.1592, allocations: 1.792 MB / 474 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.1593, allocations: 123.4 kB / 474.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.1597, allocations: 163.7 kB / 474.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009689/0.1694, allocations: 6.456 MB / 480.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.126e-05/0.1695, allocations: 35.73 kB / 480.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/0.1698, allocations: 83.89 kB / 480.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002425/0.1722, allocations: 1.437 MB / 482.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009978/0.1822, allocations: 5.728 MB / 488 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02947/0.2117, allocations: 26.81 MB / 0.5027 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/0.216, allocations: 2.155 MB / 0.5048 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.2174, allocations: 1.035 MB / 0.5059 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.2176, allocations: 182.5 kB / 0.506 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.2176, allocations: 42.83 kB / 0.5061 GB, free: 7.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.808e-06/0.2177, allocations: 0 / 0.5061 GB, free: 7.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01619/0.2338, allocations: 6.434 MB / 0.5124 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.234, allocations: 140.9 kB / 0.5125 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.2379, allocations: 2.914 MB / 0.5153 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.2381, allocations: 41.7 kB / 0.5154 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/0.24, allocations: 2.11 MB / 0.5174 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007495/0.2407, allocations: 458.3 kB / 0.5179 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/0.2422, allocations: 0.8887 MB / 0.5187 GB, free: 10.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2423, allocations: 305.1 kB / 0.519 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.2444, allocations: 1.418 MB / 0.5204 GB, free: 8.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/0.2485, allocations: 4.287 MB / 0.5246 GB, free: 2.824 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2274/0.476, allocations: 6.194 MB / 0.5307 GB, free: 80.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-05/0.4761, allocations: 30.03 kB / 0.5307 GB, free: 80.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009853/0.486, allocations: 5.483 MB / 0.536 GB, free: 80.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.4861, allocations: 50.11 kB / 0.5361 GB, free: 80.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.4862, allocations: 101.8 kB / 0.5362 GB, free: 80.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.4864, allocations: 133.8 kB / 0.5363 GB, free: 80.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00464/0.4911, allocations: 1.223 MB / 0.5375 GB, free: 80.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001942/0.4913, allocations: 203.5 kB / 0.5377 GB, free: 80.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/0.4944, allocations: 238.7 kB / 0.5379 GB, free: 80.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004935/0.4949, allocations: 286.1 kB / 0.5382 GB, free: 80.04 MB / 414.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.002017/0.497, allocations: 1.378 MB / 0.5395 GB, free: 79.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.4973, allocations: 238.1 kB / 0.5398 GB, free: 79.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.4994, allocations: 1.247 MB / 0.541 GB, free: 78.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-05/0.4994, allocations: 14.59 kB / 0.541 GB, free: 78.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.4995, allocations: 1.75 kB / 0.541 GB, free: 78.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.4995, allocations: 5.766 kB / 0.541 GB, free: 78.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006942/0.5064, allocations: 4.577 MB / 0.5455 GB, free: 77.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5065, allocations: 7.688 kB / 0.5455 GB, free: 77.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.5083, allocations: 370.9 kB / 0.5458 GB, free: 77.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.5083, allocations: 15.19 kB / 0.5459 GB, free: 77.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.437e-05/0.5084, allocations: 15.75 kB / 0.5459 GB, free: 77.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.5084, allocations: 14.16 kB / 0.5459 GB, free: 77.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5084, allocations: 6.062 kB / 0.5459 GB, free: 77.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.5106, allocations: 2.163 MB / 0.548 GB, free: 76.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009564/0.5115, allocations: 465.2 kB / 0.5484 GB, free: 75.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.5118, allocations: 15.56 kB / 0.5485 GB, free: 75.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/0.5128, allocations: 62.39 kB / 0.5485 GB, free: 75.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.513, allocations: 65.97 kB / 0.5486 GB, free: 75.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.5131, allocations: 44.67 kB / 0.5486 GB, free: 75.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002493/0.5156, allocations: 1.829 MB / 0.5504 GB, free: 75.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5156, allocations: 3.969 kB / 0.5504 GB, free: 75.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003431/0.519, allocations: 0.6291 MB / 0.551 GB, free: 75.04 MB / 414.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.00236/0.5214, allocations: 2.789 MB / 0.5538 GB, free: 73.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004378/0.5258, allocations: 3.459 MB / 0.5571 GB, free: 70.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5258, allocations: 0.8125 kB / 0.5571 GB, free: 70.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007951/0.5266, allocations: 0.7867 MB / 0.5579 GB, free: 69.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.5283, allocations: 276.1 kB / 0.5582 GB, free: 69.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/0.5569, allocations: 32.5 MB / 0.5899 GB, free: 31.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.5584, allocations: 2.215 MB / 0.5921 GB, free: 29.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002883/0.5613, allocations: 1.463 MB / 0.5935 GB, free: 27.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.5625, allocations: 1.085 MB / 0.5946 GB, free: 26.78 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5625, allocations: 0 / 0.5946 GB, free: 26.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/0.6284, allocations: 44.38 MB / 0.6379 GB, free: 14.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.269/9.897, allocations: 11.66 kB / 0.6379 GB, free: 14.39 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches