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.001003/0.001003, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001291/0.001291, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 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 1.01/1.01, allocations: 177.1 MB / 205.3 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.2597/0.2597, allocations: 32.81 MB / 294.6 MB, free: 1.191 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 2.204e-06/2.204e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.301e-05, allocations: 6.25 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009928/0.009961, allocations: 7.246 MB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.01726, allocations: 3.263 MB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.0185, allocations: 39.81 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.01996, allocations: 0.8481 MB / 387.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.02227, allocations: 1.377 MB / 388.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.02315, allocations: 0.5766 MB / 389.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.02547, allocations: 2.951 MB / 392.3 MB, free: 4.621 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.02666, allocations: 1.463 MB / 393.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.02777, allocations: 1.22 MB / 395 MB, free: 1.918 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.02901, allocations: 1.317 MB / 396.3 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.02919, allocations: 140 kB / 396.4 MB, free: 472 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.03026, allocations: 0.8695 MB / 397.3 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006357/0.03089, allocations: 1.079 MB / 398.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.03144, allocations: 0.6539 MB / 399 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.03391, allocations: 2.817 MB / 401.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.03391, allocations: 0 / 401.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.03391, allocations: 3.984 kB / 401.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.647e-05/0.03395, allocations: 3.938 kB / 401.8 MB, free: 11.02 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.003603/0.03755, allocations: 3.246 MB / 405.1 MB, free: 7.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.0376, allocations: 11.98 kB / 405.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/0.04145, allocations: 2 MB / 407.1 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.04293, allocations: 1.171 MB / 408.3 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.043, allocations: 123.4 kB / 408.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.04321, allocations: 156.3 kB / 408.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004957/0.04817, allocations: 3.975 MB / 412.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.605e-05/0.04823, allocations: 39.69 kB / 412.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.04841, allocations: 79.89 kB / 412.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001509/0.04992, allocations: 1.433 MB / 414.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004869/0.05479, allocations: 2.145 MB / 416.2 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1821/0.2369, allocations: 31.01 MB / 447.2 MB, free: 76.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.2396, allocations: 0.921 MB / 448.1 MB, free: 76.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.2401, allocations: 332.5 kB / 448.5 MB, free: 76.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.2402, allocations: 30.27 kB / 448.5 MB, free: 76.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.2403, allocations: 46.12 kB / 448.5 MB, free: 76.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.797e-06/0.2403, allocations: 0 / 448.5 MB, free: 76.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01122/0.2515, allocations: 4.85 MB / 453.4 MB, free: 74.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2516, allocations: 145.8 kB / 453.5 MB, free: 74.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.2542, allocations: 2.495 MB / 456 MB, free: 74.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.2542, allocations: 40.27 kB / 456.1 MB, free: 74.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.2553, allocations: 2.334 MB / 458.4 MB, free: 72.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/0.2557, allocations: 487.4 kB / 458.9 MB, free: 72.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009696/0.2566, allocations: 0.9718 MB / 459.8 MB, free: 72.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2567, allocations: 0.5296 MB / 460.4 MB, free: 71.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009295/0.2577, allocations: 465.5 kB / 460.8 MB, free: 71.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.2598, allocations: 4.715 MB / 465.5 MB, free: 65.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00427/0.2641, allocations: 5.716 MB / 471.3 MB, free: 59.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.982e-05/0.2642, allocations: 29.78 kB / 471.3 MB, free: 59.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.005938/0.2701, allocations: 3.799 MB / 475.1 MB, free: 58.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.2702, allocations: 52.06 kB / 475.1 MB, free: 58.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.2703, allocations: 104.2 kB / 475.2 MB, free: 58.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.2704, allocations: 135.8 kB / 475.4 MB, free: 58.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/0.2734, allocations: 1.227 MB / 476.6 MB, free: 58.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001587/0.2736, allocations: 202.5 kB / 476.8 MB, free: 58.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.2762, allocations: 273 kB / 477.1 MB, free: 57.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/0.2765, allocations: 290.7 kB / 477.3 MB, free: 57.89 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.0007642/0.2772, allocations: 0.5244 MB / 477.9 MB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.2775, allocations: 250.9 kB / 478.1 MB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.2783, allocations: 0.626 MB / 478.7 MB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.2783, allocations: 16.09 kB / 478.8 MB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.2784, allocations: 0 / 478.8 MB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2784, allocations: 9.078 kB / 478.8 MB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.2824, allocations: 3.252 MB / 482 MB, free: 55.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2824, allocations: 5 kB / 482 MB, free: 55.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/0.2834, allocations: 367.5 kB / 482.4 MB, free: 55.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.2834, allocations: 9.094 kB / 482.4 MB, free: 55.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.2834, allocations: 23.5 kB / 482.4 MB, free: 55.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.2834, allocations: 15.53 kB / 482.4 MB, free: 55.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.2835, allocations: 9.531 kB / 482.4 MB, free: 55.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.2849, allocations: 1.489 MB / 483.9 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.2852, allocations: 217.8 kB / 484.1 MB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.2854, allocations: 22.28 kB / 484.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.2859, allocations: 90.31 kB / 484.2 MB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.2861, allocations: 73.34 kB / 484.3 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.2861, allocations: 37.47 kB / 484.4 MB, free: 54.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001204/0.2873, allocations: 1.058 MB / 485.4 MB, free: 53.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2873, allocations: 3.938 kB / 485.4 MB, free: 53.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002621/0.29, allocations: 0.6674 MB / 486.1 MB, free: 53.7 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.0003339/0.2903, allocations: 162 kB / 486.2 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.2931, allocations: 1.943 MB / 488.2 MB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2932, allocations: 1.188 kB / 488.2 MB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.2936, allocations: 320.1 kB / 488.5 MB, free: 52.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.2946, allocations: 249.5 kB / 488.7 MB, free: 52.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/0.3009, allocations: 4.539 MB / 493.3 MB, free: 50.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.3016, allocations: 0.7394 MB / 494 MB, free: 50.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001943/0.3035, allocations: 1.228 MB / 495.3 MB, free: 49.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.3039, allocations: 160.1 kB / 495.4 MB, free: 49.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.405e-06/0.3039, allocations: 0 / 495.4 MB, free: 49.98 MB / 410.7 MB Notification: Performance of Templates: time 0.0274/0.3313, allocations: 18.02 MB / 0.5014 GB, free: 40.64 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: 4.100668885977939]