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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.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.2257/0.2257, allocations: 44.92 MB / 349.6 MB, free: 1.703 MB / 270.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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.58 kB / 491.8 MB, free: 30.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1237, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009781/0.1335, allocations: 7.516 MB / 0.5503 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006977/0.1405, allocations: 3.364 MB / 0.5536 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.1415, allocations: 35.94 kB / 0.5536 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.1436, allocations: 0.8053 MB / 0.5544 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.1474, allocations: 1.351 MB / 0.5557 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.149, allocations: 0.5301 MB / 0.5563 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.1533, allocations: 2.566 MB / 0.5588 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.1554, allocations: 1.1 MB / 0.5598 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.1569, allocations: 0.7861 MB / 0.5606 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.1589, allocations: 1.23 MB / 0.5618 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005134/0.1594, allocations: 143.9 kB / 0.5619 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.1614, allocations: 0.9711 MB / 0.5629 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.1625, allocations: 1.048 MB / 0.5639 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.164, allocations: 1.223 MB / 0.5651 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005349/0.1693, allocations: 4.088 MB / 0.5691 GB, free: 9.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1693, allocations: 8 kB / 0.5691 GB, free: 9.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1693, allocations: 0 / 0.5691 GB, free: 9.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.655e-05/0.1694, allocations: 0 / 0.5691 GB, free: 9.234 MB / 430.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.006388/0.1758, allocations: 3.041 MB / 0.5721 GB, free: 6.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1759, allocations: 12.03 kB / 0.5721 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007449/0.1766, allocations: 466.4 kB / 0.5725 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006016/0.1826, allocations: 1.676 MB / 0.5742 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/0.1867, allocations: 1.656 MB / 0.5758 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.1868, allocations: 127.3 kB / 0.5759 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005303/0.1873, allocations: 163.8 kB / 0.5761 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.1985, allocations: 6.46 MB / 0.5824 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.631e-05/0.1986, allocations: 35.7 kB / 0.5824 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/0.1989, allocations: 83.89 kB / 0.5825 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00255/0.2015, allocations: 1.433 MB / 0.5839 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.2126, allocations: 5.74 MB / 0.5895 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2926/0.5053, allocations: 26.74 MB / 0.6156 GB, free: 39.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004641/0.5099, allocations: 2.064 MB / 0.6176 GB, free: 38.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.5115, allocations: 0.9534 MB / 0.6186 GB, free: 38.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.5117, allocations: 178.7 kB / 0.6187 GB, free: 38.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.5117, allocations: 47.53 kB / 0.6188 GB, free: 38.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.817e-06/0.5117, allocations: 1.344 kB / 0.6188 GB, free: 38.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01833/0.5301, allocations: 6.519 MB / 0.6251 GB, free: 36.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.5301, allocations: 139.3 kB / 0.6253 GB, free: 36.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005441/0.5356, allocations: 2.902 MB / 0.6281 GB, free: 35.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.5358, allocations: 41.89 kB / 0.6282 GB, free: 35.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.5375, allocations: 2.202 MB / 0.6303 GB, free: 33.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006433/0.5381, allocations: 466.7 kB / 0.6307 GB, free: 33.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.5395, allocations: 0.9016 MB / 0.6316 GB, free: 33.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.5396, allocations: 308.5 kB / 0.6319 GB, free: 32.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.5416, allocations: 1.419 MB / 0.6333 GB, free: 32.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/0.5446, allocations: 4.286 MB / 0.6375 GB, free: 28.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005504/0.5501, allocations: 6.192 MB / 0.6435 GB, free: 22.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/0.5503, allocations: 31.66 kB / 0.6436 GB, free: 22.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009511/0.5598, allocations: 5.507 MB / 0.6489 GB, free: 20.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.937e-05/0.5599, allocations: 47.91 kB / 0.649 GB, free: 20.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/0.56, allocations: 107.9 kB / 0.6491 GB, free: 20.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.683e-05/0.5601, allocations: 135.1 kB / 0.6492 GB, free: 20.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003866/0.5639, allocations: 1.218 MB / 0.6504 GB, free: 20.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001283/0.5641, allocations: 203.1 kB / 0.6506 GB, free: 20.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/0.5675, allocations: 238.3 kB / 0.6508 GB, free: 20.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006223/0.5681, allocations: 284.3 kB / 0.6511 GB, free: 20.33 MB / 462.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.002058/0.5702, allocations: 1.384 MB / 0.6525 GB, free: 19.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/0.5707, allocations: 262.2 kB / 0.6527 GB, free: 18.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.5723, allocations: 1.234 MB / 0.6539 GB, free: 17.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.5723, allocations: 14.25 kB / 0.6539 GB, free: 17.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.5723, allocations: 4 kB / 0.6539 GB, free: 17.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.5723, allocations: 3.984 kB / 0.6539 GB, free: 17.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/0.5798, allocations: 4.558 MB / 0.6584 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5798, allocations: 8 kB / 0.6584 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.5814, allocations: 368.3 kB / 0.6587 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/0.5815, allocations: 11.98 kB / 0.6588 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.5815, allocations: 23.94 kB / 0.6588 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.5815, allocations: 8 kB / 0.6588 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5815, allocations: 8.219 kB / 0.6588 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.5837, allocations: 2.178 MB / 0.6609 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/0.5844, allocations: 315.2 kB / 0.6612 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003418/0.5847, allocations: 31.38 kB / 0.6613 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009707/0.5857, allocations: 59.86 kB / 0.6613 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.5858, allocations: 79.48 kB / 0.6614 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.5859, allocations: 32 kB / 0.6614 GB, free: 9.754 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002138/0.588, allocations: 1.824 MB / 0.6632 GB, free: 7.926 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.588, allocations: 7.938 kB / 0.6632 GB, free: 7.918 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003536/0.5916, allocations: 0.6171 MB / 0.6638 GB, free: 7.301 MB / 462.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.002717/0.5943, allocations: 2.808 MB / 0.6665 GB, free: 4.422 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004151/0.5984, allocations: 3.143 MB / 0.6696 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.5985, allocations: 0 / 0.6696 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008042/0.5993, allocations: 0.7355 MB / 0.6703 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.6011, allocations: 277.9 kB / 0.6706 GB, free: 316 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05017/0.6513, allocations: 29.83 MB / 0.6997 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/0.6542, allocations: 2.2 MB / 0.7019 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003638/0.6578, allocations: 1.468 MB / 0.7033 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/0.6597, allocations: 1.081 MB / 0.7044 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.6597, allocations: 0 / 0.7044 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09029/0.75, allocations: 41.59 MB / 0.745 GB, free: 384 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.36/18.11, allocations: 10.41 kB / 0.745 GB, free: 376 kB / 0.5294 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.408046289812773]