Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00139/0.00139, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001664/0.001664, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.543/1.543, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2397/0.2397, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.13, allocations: 65.99 MB / 0.5558 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009648/0.1397, allocations: 7.505 MB / 0.5632 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006557/0.1462, allocations: 3.384 MB / 0.5665 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007168/0.1469, allocations: 39.81 kB / 0.5665 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.1487, allocations: 0.817 MB / 0.5673 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003007/0.1517, allocations: 1.312 MB / 0.5686 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.153, allocations: 0.5184 MB / 0.5691 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003478/0.1564, allocations: 2.613 MB / 0.5716 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.1579, allocations: 1.088 MB / 0.5727 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.159, allocations: 0.7861 MB / 0.5735 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.1606, allocations: 1.23 MB / 0.5747 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.1609, allocations: 140 kB / 0.5748 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.1626, allocations: 0.9594 MB / 0.5757 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.1636, allocations: 1.036 MB / 0.5767 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.1648, allocations: 1.203 MB / 0.5779 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004694/0.1695, allocations: 4.038 MB / 0.5819 GB, free: 10.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1695, allocations: 0 / 0.5819 GB, free: 10.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1695, allocations: 0 / 0.5819 GB, free: 10.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.243e-05/0.1696, allocations: 0 / 0.5819 GB, free: 10.56 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.005528/0.1751, allocations: 3.018 MB / 0.5848 GB, free: 7.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1751, allocations: 8.031 kB / 0.5848 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00643/0.1816, allocations: 1.66 MB / 0.5864 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/0.1843, allocations: 1.332 MB / 0.5877 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.1844, allocations: 123.4 kB / 0.5879 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.1847, allocations: 164 kB / 0.588 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2883/0.473, allocations: 6.448 MB / 0.5943 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.45e-05/0.4731, allocations: 36.28 kB / 0.5943 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.4734, allocations: 84.42 kB / 0.5944 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002776/0.4761, allocations: 1.439 MB / 0.5958 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/0.4879, allocations: 5.728 MB / 0.6014 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03026/0.5181, allocations: 26.75 MB / 0.6276 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005958/0.5241, allocations: 2.084 MB / 0.6296 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.5253, allocations: 0.9585 MB / 0.6305 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.5254, allocations: 174 kB / 0.6307 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.5254, allocations: 50.75 kB / 0.6307 GB, free: 8.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=100): time 3.577e-06/0.5254, allocations: 0 / 0.6307 GB, free: 8.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.01603/0.5415, allocations: 6.488 MB / 0.6371 GB, free: 4.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.5415, allocations: 148 kB / 0.6372 GB, free: 4.637 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003974/0.5455, allocations: 2.899 MB / 0.64 GB, free: 2.344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.5457, allocations: 41.7 kB / 0.6401 GB, free: 2.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009133/0.5466, allocations: 2.181 MB / 0.6422 GB, free: 176 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005172/0.5471, allocations: 484.2 kB / 0.6427 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/0.5485, allocations: 0.9013 MB / 0.6436 GB, free: 14.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5486, allocations: 305.1 kB / 0.6438 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.5512, allocations: 1.426 MB / 0.6452 GB, free: 13.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.556, allocations: 4.299 MB / 0.6494 GB, free: 7.312 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008554/0.5646, allocations: 6.212 MB / 0.6555 GB, free: 15.67 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.097e-05/0.5647, allocations: 28 kB / 0.6555 GB, free: 15.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01051/0.5752, allocations: 5.52 MB / 0.6609 GB, free: 10.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-05/0.5753, allocations: 50.19 kB / 0.661 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/0.5754, allocations: 114.3 kB / 0.6611 GB, free: 9.969 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.5755, allocations: 132 kB / 0.6612 GB, free: 9.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004564/0.5801, allocations: 1.228 MB / 0.6624 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001765/0.5803, allocations: 195.2 kB / 0.6626 GB, free: 8.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.583, allocations: 247.8 kB / 0.6628 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/0.5834, allocations: 284 kB / 0.6631 GB, free: 7.898 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 (557): * Single equations (assignments): 554 * 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.002309/0.5857, allocations: 1.391 MB / 0.6645 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000567/0.5863, allocations: 246.3 kB / 0.6647 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.5888, allocations: 1.237 MB / 0.6659 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/0.5888, allocations: 19.94 kB / 0.6659 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.5888, allocations: 4 kB / 0.6659 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.5888, allocations: 3.984 kB / 0.6659 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008864/0.5977, allocations: 4.56 MB / 0.6704 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.5977, allocations: 7.984 kB / 0.6704 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.5998, allocations: 367.9 kB / 0.6707 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.623e-05/0.5998, allocations: 8 kB / 0.6707 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.5999, allocations: 24 kB / 0.6708 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/0.5999, allocations: 15.92 kB / 0.6708 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5999, allocations: 4 kB / 0.6708 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.6031, allocations: 2.176 MB / 0.6729 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006401/0.6037, allocations: 319.3 kB / 0.6732 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.604, allocations: 25.94 kB / 0.6732 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/0.605, allocations: 51.94 kB / 0.6733 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.6051, allocations: 67.8 kB / 0.6734 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.966e-05/0.6052, allocations: 39.98 kB / 0.6734 GB, free: 13.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003221/0.6085, allocations: 1.815 MB / 0.6752 GB, free: 11.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6085, allocations: 0 / 0.6752 GB, free: 11.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003589/0.6121, allocations: 0.619 MB / 0.6758 GB, free: 10.73 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.0003694/0.6124, allocations: 152.9 kB / 0.6759 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005789/0.6182, allocations: 3.153 MB / 0.679 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.6182, allocations: 480 / 0.679 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.6194, allocations: 0.7512 MB / 0.6797 GB, free: 6.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.6212, allocations: 276.3 kB / 0.68 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009933/0.6312, allocations: 5.625 MB / 0.6855 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/0.6337, allocations: 2.202 MB / 0.6876 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003417/0.6371, allocations: 1.463 MB / 0.6891 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.6377, allocations: 171.4 kB / 0.6892 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.6377, allocations: 0 / 0.6892 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.04674/0.6845, allocations: 19.91 MB / 0.7087 GB, free: 9.008 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.743270128965378]