Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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 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) 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_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_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.00112/0.00112, allocations: 112.8 kB / 17.33 MB, free: 5.988 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.001168/0.001168, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241.9 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.17 MB / 336.2 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 74.06 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.0148/0.1339, allocations: 14.46 MB / 483.3 MB, free: 116 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008275/0.1422, allocations: 4.436 MB / 487.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.1443, allocations: 59.81 kB / 487.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.1462, allocations: 0.7437 MB / 488.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.1492, allocations: 1.238 MB / 489.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1504, allocations: 499.2 kB / 490.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.1537, allocations: 2.593 MB / 492.8 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.1557, allocations: 1.311 MB / 494.1 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.1569, allocations: 0.786 MB / 494.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.1586, allocations: 1.265 MB / 496.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004863/0.1591, allocations: 140 kB / 496.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.1609, allocations: 0.9633 MB / 497.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.162, allocations: 1.048 MB / 498.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.1635, allocations: 1.242 MB / 499.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.1675, allocations: 3.933 MB / 0.4917 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1676, allocations: 0 / 0.4917 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1676, allocations: 0 / 0.4917 GB, free: 11.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.1676, allocations: 0 / 0.4917 GB, free: 11.8 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.004555/0.1722, allocations: 2.965 MB / 0.4946 GB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1723, allocations: 15.97 kB / 0.4946 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004385/0.1727, allocations: 462.5 kB / 0.4951 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005734/0.1784, allocations: 1.658 MB / 0.4967 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.1811, allocations: 1.64 MB / 0.4983 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.144e-05/0.1812, allocations: 123.4 kB / 0.4984 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.1815, allocations: 163.8 kB / 0.4986 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1977/0.3793, allocations: 6.449 MB / 0.5049 GB, free: 46.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-05/0.3794, allocations: 32.81 kB / 0.5049 GB, free: 46.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.3796, allocations: 89 kB / 0.505 GB, free: 46.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002523/0.3822, allocations: 1.437 MB / 0.5064 GB, free: 46.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009937/0.3921, allocations: 5.727 MB / 0.512 GB, free: 44.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.4158, allocations: 26.8 MB / 0.5381 GB, free: 23.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.4192, allocations: 2.14 MB / 0.5402 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009614/0.4202, allocations: 1.037 MB / 0.5412 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.4203, allocations: 177.8 kB / 0.5414 GB, free: 21.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.4203, allocations: 46.27 kB / 0.5415 GB, free: 21.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.126e-06/0.4203, allocations: 0 / 0.5415 GB, free: 21.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01293/0.4333, allocations: 6.379 MB / 0.5477 GB, free: 15.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.4333, allocations: 137 kB / 0.5478 GB, free: 15.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.4359, allocations: 2.898 MB / 0.5507 GB, free: 12.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.649e-05/0.436, allocations: 37.7 kB / 0.5507 GB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007368/0.4368, allocations: 2.106 MB / 0.5527 GB, free: 10.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.437, allocations: 462.4 kB / 0.5532 GB, free: 9.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007849/0.4378, allocations: 0.8887 MB / 0.5541 GB, free: 8.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.4379, allocations: 301.1 kB / 0.5543 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.4395, allocations: 1.418 MB / 0.5557 GB, free: 7.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.4419, allocations: 4.295 MB / 0.5599 GB, free: 1.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/0.448, allocations: 6.192 MB / 0.566 GB, free: 9.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.318e-05/0.4481, allocations: 28 kB / 0.566 GB, free: 9.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007896/0.456, allocations: 5.491 MB / 0.5714 GB, free: 4.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.456, allocations: 51.98 kB / 0.5714 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.965e-05/0.4561, allocations: 104.8 kB / 0.5715 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.4563, allocations: 136.2 kB / 0.5716 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/0.46, allocations: 1.22 MB / 0.5728 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001495/0.4602, allocations: 203.2 kB / 0.573 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.4626, allocations: 251.4 kB / 0.5733 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003425/0.463, allocations: 276 kB / 0.5735 GB, free: 1.926 MB / 398.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.00178/0.4648, allocations: 1.384 MB / 0.5749 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.4651, allocations: 240.9 kB / 0.5751 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.467, allocations: 1.231 MB / 0.5763 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.467, allocations: 19.94 kB / 0.5763 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.467, allocations: 0 / 0.5763 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.4671, allocations: 3.984 kB / 0.5763 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00674/0.4738, allocations: 4.565 MB / 0.5808 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.4738, allocations: 8.531 kB / 0.5808 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.4755, allocations: 378 kB / 0.5812 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.4755, allocations: 8 kB / 0.5812 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-05/0.4756, allocations: 20 kB / 0.5812 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.4756, allocations: 8 kB / 0.5812 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4757, allocations: 7.938 kB / 0.5812 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.478, allocations: 2.164 MB / 0.5833 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.4784, allocations: 305.8 kB / 0.5836 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.4786, allocations: 31.92 kB / 0.5836 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008622/0.4795, allocations: 59.91 kB / 0.5837 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.4796, allocations: 67.8 kB / 0.5838 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.4797, allocations: 36 kB / 0.5838 GB, free: 7.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002268/0.482, allocations: 1.827 MB / 0.5856 GB, free: 5.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.482, allocations: 3.938 kB / 0.5856 GB, free: 5.352 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002844/0.4849, allocations: 0.6263 MB / 0.5862 GB, free: 4.73 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.002947/0.4878, allocations: 2.793 MB / 0.5889 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00506/0.4929, allocations: 3.461 MB / 0.5923 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4929, allocations: 0 / 0.5923 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009502/0.4939, allocations: 0.7882 MB / 0.5931 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.4956, allocations: 276.5 kB / 0.5933 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04442/0.54, allocations: 33.42 MB / 0.626 GB, free: 6.602 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/0.5426, allocations: 2.198 MB / 0.6281 GB, free: 4.371 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00348/0.5461, allocations: 1.474 MB / 0.6296 GB, free: 2.895 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/0.5478, allocations: 1.073 MB / 0.6306 GB, free: 1.824 MB / 462.1 MB Notification: Performance of SimCode: time 1.362e-06/0.5478, allocations: 3.938 kB / 0.6306 GB, free: 1.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07271/0.6205, allocations: 44.14 MB / 0.6737 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.6208, allocations: 185.3 kB / 0.6739 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/3.86, allocations: 4.062 kB / 0.6739 GB, free: 5.668 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches