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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 44.9 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00283/0.00283, allocations: 71.89 kB / 0.4885 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.127, allocations: 65.43 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009651/0.1366, allocations: 7.501 MB / 0.5597 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006674/0.1433, allocations: 3.38 MB / 0.563 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009265/0.1442, allocations: 39.81 kB / 0.5631 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.1462, allocations: 0.8209 MB / 0.5639 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.1497, allocations: 1.312 MB / 0.5652 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.151, allocations: 0.5262 MB / 0.5657 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00363/0.1547, allocations: 2.613 MB / 0.5682 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.1562, allocations: 1.096 MB / 0.5693 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1573, allocations: 0.7783 MB / 0.5701 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.1592, allocations: 1.23 MB / 0.5713 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003969/0.1596, allocations: 140 kB / 0.5714 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.1615, allocations: 0.9594 MB / 0.5723 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.1626, allocations: 1.032 MB / 0.5733 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.1639, allocations: 1.211 MB / 0.5745 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00537/0.1693, allocations: 4.038 MB / 0.5785 GB, free: 15.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1693, allocations: 4 kB / 0.5785 GB, free: 15.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1693, allocations: 0 / 0.5785 GB, free: 15.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.434e-05/0.1694, allocations: 0 / 0.5785 GB, free: 15.35 MB / 446.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.005896/0.1753, allocations: 3.03 MB / 0.5814 GB, free: 12.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1753, allocations: 12.03 kB / 0.5814 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.069e-05/0.1754, allocations: 55.31 kB / 0.5815 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006168/0.176, allocations: 466.5 kB / 0.5819 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0064/0.1824, allocations: 1.668 MB / 0.5836 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/0.1861, allocations: 1.555 MB / 0.5851 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.1863, allocations: 123.1 kB / 0.5852 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004254/0.1867, allocations: 167.8 kB / 0.5854 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.1968, allocations: 6.456 MB / 0.5917 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.719e-05/0.1969, allocations: 27.75 kB / 0.5917 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/0.1971, allocations: 83.89 kB / 0.5918 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2435/0.4406, allocations: 1.432 MB / 0.5932 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.453, allocations: 5.737 MB / 0.5988 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03045/0.4835, allocations: 26.76 MB / 0.6249 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.4876, allocations: 2.067 MB / 0.6269 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.4889, allocations: 0.9549 MB / 0.6279 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.489, allocations: 188.6 kB / 0.628 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.4891, allocations: 39.48 kB / 0.6281 GB, free: 13.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=100): time 3.115e-06/0.4891, allocations: 0 / 0.6281 GB, free: 13.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.01522/0.5043, allocations: 6.502 MB / 0.6344 GB, free: 9.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.5044, allocations: 145.9 kB / 0.6346 GB, free: 9.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.5078, allocations: 2.9 MB / 0.6374 GB, free: 7.473 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.5079, allocations: 41.7 kB / 0.6374 GB, free: 7.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000994/0.5089, allocations: 2.195 MB / 0.6396 GB, free: 5.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.5092, allocations: 470.7 kB / 0.64 GB, free: 4.828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008617/0.5101, allocations: 0.9006 MB / 0.6409 GB, free: 3.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.5101, allocations: 305.1 kB / 0.6412 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.5118, allocations: 1.426 MB / 0.6426 GB, free: 2.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004152/0.5159, allocations: 4.291 MB / 0.6468 GB, free: 12.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008567/0.5245, allocations: 6.199 MB / 0.6528 GB, free: 4.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-05/0.5246, allocations: 32 kB / 0.6529 GB, free: 4.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01144/0.536, allocations: 5.497 MB / 0.6582 GB, free: 15.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/0.5361, allocations: 48 kB / 0.6583 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.5362, allocations: 104 kB / 0.6584 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.5364, allocations: 132 kB / 0.6585 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/0.5409, allocations: 1.22 MB / 0.6597 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001908/0.5411, allocations: 199.6 kB / 0.6599 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.5442, allocations: 239.7 kB / 0.6601 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005272/0.5447, allocations: 280 kB / 0.6604 GB, free: 13.08 MB / 478.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.002348/0.547, allocations: 1.395 MB / 0.6617 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005528/0.5476, allocations: 254.3 kB / 0.662 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.55, allocations: 1.237 MB / 0.6632 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/0.5501, allocations: 16 kB / 0.6632 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5501, allocations: 4 kB / 0.6632 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.5501, allocations: 3.984 kB / 0.6632 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00875/0.5588, allocations: 4.566 MB / 0.6677 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.5588, allocations: 7.906 kB / 0.6677 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/0.5609, allocations: 367.4 kB / 0.668 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.5609, allocations: 8 kB / 0.668 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.121e-05/0.561, allocations: 24 kB / 0.6681 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.561, allocations: 15.92 kB / 0.6681 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.561, allocations: 4 kB / 0.6681 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.5641, allocations: 2.178 MB / 0.6702 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006171/0.5647, allocations: 323.2 kB / 0.6705 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.565, allocations: 23.98 kB / 0.6705 GB, free: 2.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009612/0.566, allocations: 55.92 kB / 0.6706 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5661, allocations: 67.81 kB / 0.6707 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.5662, allocations: 40.61 kB / 0.6707 GB, free: 2.328 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003244/0.5695, allocations: 1.811 MB / 0.6725 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5695, allocations: 0 / 0.6725 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003715/0.5732, allocations: 0.6128 MB / 0.6731 GB, free: 15.9 MB / 494.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.00384/0.577, allocations: 2.799 MB / 0.6758 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006312/0.5834, allocations: 3.139 MB / 0.6789 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.5834, allocations: 0 / 0.6789 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.5846, allocations: 0.7375 MB / 0.6796 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.5868, allocations: 275.9 kB / 0.6798 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04857/0.6354, allocations: 29.81 MB / 0.709 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002458/0.6379, allocations: 2.206 MB / 0.7111 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003281/0.6412, allocations: 1.462 MB / 0.7125 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/0.6429, allocations: 1.085 MB / 0.7136 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.6429, allocations: 0 / 0.7136 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07824/0.7211, allocations: 41.54 MB / 0.7542 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.25/17.97, allocations: 7.797 kB / 0.7542 GB, free: 9.023 MB / 0.5606 GB " [Timeout remaining time 642] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.7701767560211]