Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.074/1.074, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2627/0.2627, allocations: 34.86 MB / 296.6 MB, free: 0.5859 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 378.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.492e-05, allocations: 8.5 kB / 378.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006828/0.006863, allocations: 7.246 MB / 386 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00523/0.01209, allocations: 3.27 MB / 389.2 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008259/0.01292, allocations: 39.88 kB / 389.3 MB, free: 7.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.0143, allocations: 0.8481 MB / 390.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.01677, allocations: 1.384 MB / 391.5 MB, free: 5.617 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.01777, allocations: 0.5688 MB / 392.1 MB, free: 5.047 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.02054, allocations: 2.946 MB / 395 MB, free: 2.098 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.02191, allocations: 1.459 MB / 396.5 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.02339, allocations: 1.216 MB / 397.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.02515, allocations: 1.309 MB / 399 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.02545, allocations: 144 kB / 399.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.02682, allocations: 0.8772 MB / 400 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000743/0.02756, allocations: 1.079 MB / 401.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006872/0.02825, allocations: 0.6539 MB / 401.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.03141, allocations: 2.821 MB / 404.6 MB, free: 8.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.03141, allocations: 0 / 404.6 MB, free: 8.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03142, allocations: 4 kB / 404.6 MB, free: 8.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.364e-05/0.03147, allocations: 0 / 404.6 MB, free: 8.496 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.003801/0.03527, allocations: 3.246 MB / 407.8 MB, free: 5.199 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.03532, allocations: 8.031 kB / 407.8 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.03897, allocations: 2 MB / 409.8 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.04052, allocations: 1.167 MB / 411 MB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.04059, allocations: 123.4 kB / 411.1 MB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.0408, allocations: 156.3 kB / 411.3 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004566/0.04537, allocations: 3.979 MB / 415.3 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.987e-05/0.04543, allocations: 31.7 kB / 415.3 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.04561, allocations: 91.83 kB / 415.4 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001492/0.0471, allocations: 1.441 MB / 416.8 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004065/0.05116, allocations: 2.137 MB / 418.9 MB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1897/0.2409, allocations: 31.01 MB / 450 MB, free: 74.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.2431, allocations: 0.9246 MB / 450.9 MB, free: 73.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.2436, allocations: 330.3 kB / 451.2 MB, free: 73.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.2437, allocations: 28.62 kB / 451.2 MB, free: 73.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2437, allocations: 51.09 kB / 451.3 MB, free: 73.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.727e-06/0.2437, allocations: 2.969 kB / 451.3 MB, free: 73.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.009558/0.2533, allocations: 4.847 MB / 456.1 MB, free: 72.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.2533, allocations: 137.2 kB / 456.3 MB, free: 72.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.2557, allocations: 2.498 MB / 458.8 MB, free: 71.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.2558, allocations: 39.61 kB / 458.8 MB, free: 71.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008465/0.2566, allocations: 2.334 MB / 461.1 MB, free: 70.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.2569, allocations: 483.9 kB / 461.6 MB, free: 70.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006961/0.2576, allocations: 0.9732 MB / 462.6 MB, free: 69.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.2577, allocations: 0.539 MB / 463.1 MB, free: 69.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007136/0.2584, allocations: 460.9 kB / 463.6 MB, free: 69.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.2601, allocations: 4.713 MB / 468.3 MB, free: 63.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.2633, allocations: 5.711 MB / 474 MB, free: 56.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.857e-05/0.2634, allocations: 32.12 kB / 474 MB, free: 56.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00433/0.2677, allocations: 3.801 MB / 477.8 MB, free: 55.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.2678, allocations: 48.5 kB / 477.9 MB, free: 55.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-05/0.2678, allocations: 102 kB / 478 MB, free: 55.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.746e-05/0.2679, allocations: 133.9 kB / 478.1 MB, free: 55.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.2701, allocations: 1.229 MB / 479.3 MB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001094/0.2702, allocations: 199.3 kB / 479.5 MB, free: 55.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.2719, allocations: 290.5 kB / 479.8 MB, free: 55.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.2721, allocations: 283.1 kB / 480.1 MB, free: 55.17 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.0006369/0.2728, allocations: 0.5223 MB / 480.6 MB, free: 54.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.273, allocations: 246.8 kB / 480.9 MB, free: 54.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007711/0.2738, allocations: 0.6337 MB / 481.5 MB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.2738, allocations: 17.52 kB / 481.5 MB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2738, allocations: 0 / 481.5 MB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2738, allocations: 7.234 kB / 481.5 MB, free: 54.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.2778, allocations: 3.244 MB / 484.8 MB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.2778, allocations: 4.5 kB / 484.8 MB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/0.2788, allocations: 369.4 kB / 485.1 MB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.2788, allocations: 12.94 kB / 485.1 MB, free: 52.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.2788, allocations: 26.45 kB / 485.2 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.2789, allocations: 7.938 kB / 485.2 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.2789, allocations: 9.844 kB / 485.2 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.2802, allocations: 1.49 MB / 486.7 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.2805, allocations: 215.3 kB / 486.9 MB, free: 51.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.2807, allocations: 21.47 kB / 486.9 MB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.2813, allocations: 95.72 kB / 487 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.2814, allocations: 69.47 kB / 487.1 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.624e-05/0.2815, allocations: 36.91 kB / 487.1 MB, free: 51.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001361/0.2828, allocations: 1.051 MB / 488.1 MB, free: 51.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2828, allocations: 1 kB / 488.2 MB, free: 51.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00377/0.2866, allocations: 0.6697 MB / 488.8 MB, free: 50.99 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.0004804/0.2871, allocations: 169.2 kB / 489 MB, free: 50.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003596/0.2907, allocations: 1.949 MB / 490.9 MB, free: 50.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.2907, allocations: 1.125 kB / 490.9 MB, free: 50.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.2912, allocations: 315.6 kB / 491.2 MB, free: 50.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.2926, allocations: 252.2 kB / 491.5 MB, free: 50.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.2991, allocations: 4.531 MB / 496 MB, free: 47.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.2998, allocations: 0.7432 MB / 496.8 MB, free: 47.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001815/0.3016, allocations: 1.227 MB / 498 MB, free: 47.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.302, allocations: 160 kB / 498.1 MB, free: 47.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.754e-06/0.302, allocations: 0 / 498.1 MB, free: 47.26 MB / 410.7 MB Notification: Performance of Templates: time 0.02619/0.3282, allocations: 18.02 MB / 0.5041 GB, free: 37.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.159974209032953]