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.00113/0.00113, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001246/0.001246, allocations: 161 kB / 24.55 MB, free: 12 kB / 18.57 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 0.9887/0.9887, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2609/0.2609, allocations: 32.81 MB / 294.3 MB, free: 1.215 MB / 266.7 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: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.945e-05, allocations: 6.25 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006666/0.006685, allocations: 7.262 MB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005283/0.01197, allocations: 3.282 MB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005649/0.01253, allocations: 39.81 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.01398, allocations: 0.852 MB / 387.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.01642, allocations: 1.377 MB / 388.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008679/0.01729, allocations: 0.5765 MB / 389.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.01983, allocations: 2.954 MB / 392.3 MB, free: 4.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.02123, allocations: 1.459 MB / 393.8 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.02248, allocations: 1.224 MB / 395 MB, free: 1.566 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.02405, allocations: 1.309 MB / 396.3 MB, free: 260 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002158/0.02427, allocations: 144 kB / 396.5 MB, free: 116 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.02537, allocations: 0.8811 MB / 397.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007464/0.02612, allocations: 1.079 MB / 398.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006045/0.02673, allocations: 0.6461 MB / 399.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.02937, allocations: 2.825 MB / 401.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.02937, allocations: 0 / 401.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.02937, allocations: 0 / 401.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.0294, allocations: 0 / 401.9 MB, free: 10.66 MB / 378.7 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.004317/0.03372, allocations: 3.246 MB / 405.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.03376, allocations: 15.92 kB / 405.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004756/0.03852, allocations: 2.004 MB / 407.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.04014, allocations: 1.167 MB / 408.3 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.6e-05/0.04023, allocations: 119.4 kB / 408.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.0405, allocations: 164.3 kB / 408.6 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005062/0.04556, allocations: 3.971 MB / 412.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/0.04561, allocations: 35.7 kB / 412.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.04581, allocations: 79.89 kB / 412.7 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.04769, allocations: 1.433 MB / 414.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004543/0.05223, allocations: 2.153 MB / 416.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1746/0.2269, allocations: 31 MB / 447.3 MB, free: 70.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.229, allocations: 0.9238 MB / 448.2 MB, free: 69.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.2294, allocations: 329.1 kB / 448.5 MB, free: 69.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.2295, allocations: 30.5 kB / 448.6 MB, free: 69.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2295, allocations: 50.12 kB / 448.6 MB, free: 69.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.777e-06/0.2296, allocations: 1.031 kB / 448.6 MB, free: 69.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.0081/0.2377, allocations: 4.85 MB / 453.5 MB, free: 68.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.2377, allocations: 142.4 kB / 453.6 MB, free: 68.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.2398, allocations: 2.499 MB / 456.1 MB, free: 67.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.2398, allocations: 39.95 kB / 456.1 MB, free: 67.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008386/0.2407, allocations: 2.327 MB / 458.5 MB, free: 66.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/0.241, allocations: 491.5 kB / 458.9 MB, free: 66.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007355/0.2417, allocations: 0.9729 MB / 459.9 MB, free: 66.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.2418, allocations: 0.5246 MB / 460.4 MB, free: 65.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007907/0.2426, allocations: 460.7 kB / 460.9 MB, free: 65.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.2443, allocations: 4.717 MB / 465.6 MB, free: 60.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/0.248, allocations: 5.707 MB / 471.3 MB, free: 54.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.284e-05/0.2481, allocations: 29.06 kB / 471.3 MB, free: 54.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.004645/0.2527, allocations: 3.811 MB / 475.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.2528, allocations: 48.78 kB / 475.2 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-05/0.2528, allocations: 110.9 kB / 475.3 MB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-05/0.2529, allocations: 132.9 kB / 475.4 MB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.2551, allocations: 1.222 MB / 476.7 MB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.647e-05/0.2552, allocations: 206.6 kB / 476.9 MB, free: 53.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.2569, allocations: 287.5 kB / 477.1 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.2571, allocations: 279 kB / 477.4 MB, free: 52.96 MB / 410.7 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.0007089/0.2578, allocations: 0.5201 MB / 477.9 MB, free: 52.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.2581, allocations: 252.9 kB / 478.2 MB, free: 52.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/0.2588, allocations: 0.6363 MB / 478.8 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.2588, allocations: 11.88 kB / 478.8 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.2588, allocations: 2.875 kB / 478.8 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2589, allocations: 6.703 kB / 478.8 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/0.2627, allocations: 3.243 MB / 482.1 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.2627, allocations: 4.625 kB / 482.1 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009307/0.2637, allocations: 368.7 kB / 482.4 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.2637, allocations: 8.75 kB / 482.5 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.2637, allocations: 24 kB / 482.5 MB, free: 50.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/0.2637, allocations: 8.062 kB / 482.5 MB, free: 50.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.2637, allocations: 13.81 kB / 482.5 MB, free: 50.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.265, allocations: 1.493 MB / 484 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.2653, allocations: 219.2 kB / 484.2 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.2654, allocations: 24.44 kB / 484.2 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.266, allocations: 94.64 kB / 484.3 MB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/0.2661, allocations: 67.66 kB / 484.4 MB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/0.2661, allocations: 36.23 kB / 484.4 MB, free: 49.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.2672, allocations: 1.057 MB / 485.5 MB, free: 48.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2672, allocations: 5.219 kB / 485.5 MB, free: 48.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002491/0.2697, allocations: 0.6693 MB / 486.2 MB, free: 48.77 MB / 410.7 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.000327/0.27, allocations: 163.5 kB / 486.3 MB, free: 48.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002945/0.273, allocations: 1.938 MB / 488.3 MB, free: 48.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.273, allocations: 0 / 488.3 MB, free: 48.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.2735, allocations: 322.1 kB / 488.6 MB, free: 47.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.2746, allocations: 250.1 kB / 488.8 MB, free: 47.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/0.2815, allocations: 4.532 MB / 493.3 MB, free: 45.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.2821, allocations: 0.7472 MB / 494.1 MB, free: 45.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001834/0.284, allocations: 1.223 MB / 495.3 MB, free: 45.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.2844, allocations: 162.4 kB / 495.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2844, allocations: 0 / 495.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of Templates: time 0.02738/0.3118, allocations: 18.02 MB / 0.5015 GB, free: 37.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.867751533165574]