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.001013/0.001013, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.001045/0.001045, allocations: 165 kB / 24.56 MB, free: 20 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 1.047/1.047, allocations: 177.1 MB / 205 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] 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.277/0.277, allocations: 34.26 MB / 295.7 MB, free: 0.6523 MB / 266.7 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.[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.1.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.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.894e-05, allocations: 2.312 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006389/0.006417, allocations: 7.264 MB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.01048, allocations: 3.29 MB / 388.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.01086, allocations: 35.88 kB / 388.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.01203, allocations: 0.852 MB / 389.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.01369, allocations: 1.385 MB / 390.8 MB, free: 5.797 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.01437, allocations: 0.5727 MB / 391.4 MB, free: 5.223 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.0164, allocations: 2.952 MB / 394.4 MB, free: 2.266 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.01763, allocations: 1.459 MB / 395.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.01872, allocations: 1.212 MB / 397 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.02035, allocations: 1.321 MB / 398.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.02058, allocations: 140 kB / 398.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009977/0.02158, allocations: 0.8734 MB / 399.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.02217, allocations: 1.079 MB / 400.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.02263, allocations: 0.65 MB / 401.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.02481, allocations: 2.821 MB / 403.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.02482, allocations: 0 / 403.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.02482, allocations: 0 / 403.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.02484, allocations: 4 kB / 403.9 MB, free: 8.668 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.003448/0.02829, allocations: 3.238 MB / 407.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.02833, allocations: 12.03 kB / 407.2 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/0.03175, allocations: 2.004 MB / 409.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.03299, allocations: 1.171 MB / 410.3 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/0.03306, allocations: 123.4 kB / 410.5 MB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.03325, allocations: 156.3 kB / 410.6 MB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/0.03726, allocations: 3.979 MB / 414.6 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.03731, allocations: 31.7 kB / 414.6 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.03746, allocations: 83.89 kB / 414.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001352/0.03881, allocations: 1.441 MB / 416.1 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.04215, allocations: 2.137 MB / 418.3 MB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.178/0.2202, allocations: 31.02 MB / 449.3 MB, free: 68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.2221, allocations: 0.9158 MB / 450.2 MB, free: 67.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.2225, allocations: 338.4 kB / 450.5 MB, free: 67.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.2226, allocations: 27.42 kB / 450.6 MB, free: 67.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2226, allocations: 48.56 kB / 450.6 MB, free: 67.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.426e-06/0.2226, allocations: 0 / 450.6 MB, free: 67.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.007789/0.2304, allocations: 4.853 MB / 455.5 MB, free: 66.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2304, allocations: 141.4 kB / 455.6 MB, free: 66.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.2323, allocations: 2.502 MB / 458.1 MB, free: 65.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.2324, allocations: 39.52 kB / 458.1 MB, free: 65.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/0.2332, allocations: 2.329 MB / 460.5 MB, free: 64.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.2335, allocations: 491.7 kB / 461 MB, free: 64.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007195/0.2342, allocations: 0.9697 MB / 461.9 MB, free: 64.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.2343, allocations: 0.5282 MB / 462.5 MB, free: 63.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007083/0.235, allocations: 461.7 kB / 462.9 MB, free: 63.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.2368, allocations: 4.72 MB / 467.6 MB, free: 58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/0.2399, allocations: 5.701 MB / 473.3 MB, free: 52.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.27e-05/0.2399, allocations: 28.53 kB / 473.4 MB, free: 52.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00388/0.2438, allocations: 3.811 MB / 477.2 MB, free: 51.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.2439, allocations: 49.16 kB / 477.2 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.228e-05/0.2439, allocations: 109 kB / 477.3 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-05/0.244, allocations: 137.2 kB / 477.5 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.2461, allocations: 1.222 MB / 478.7 MB, free: 50.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.155e-05/0.2462, allocations: 204.5 kB / 478.9 MB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.2476, allocations: 279.1 kB / 479.1 MB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.2478, allocations: 280.5 kB / 479.4 MB, free: 50.8 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.0006074/0.2485, allocations: 0.5213 MB / 479.9 MB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.2487, allocations: 252.7 kB / 480.2 MB, free: 50.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007184/0.2494, allocations: 0.6357 MB / 480.8 MB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.2494, allocations: 14.97 kB / 480.8 MB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2494, allocations: 0 / 480.8 MB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.2494, allocations: 7.359 kB / 480.8 MB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/0.2533, allocations: 3.245 MB / 484.1 MB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.2533, allocations: 4.312 kB / 484.1 MB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009458/0.2542, allocations: 364.9 kB / 484.5 MB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.2542, allocations: 9.031 kB / 484.5 MB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.2543, allocations: 23.31 kB / 484.5 MB, free: 48.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.2543, allocations: 12.62 kB / 484.5 MB, free: 48.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.2543, allocations: 4.969 kB / 484.5 MB, free: 48.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.2556, allocations: 1.501 MB / 486 MB, free: 47.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.2559, allocations: 219.3 kB / 486.2 MB, free: 47.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.256, allocations: 24.59 kB / 486.2 MB, free: 47.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.2566, allocations: 89.39 kB / 486.3 MB, free: 47.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.2567, allocations: 73.86 kB / 486.4 MB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.2567, allocations: 33.03 kB / 486.4 MB, free: 47.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001245/0.258, allocations: 1.054 MB / 487.5 MB, free: 46.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 0 / 487.5 MB, free: 46.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002064/0.2601, allocations: 0.6695 MB / 488.2 MB, free: 46.61 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.0003277/0.2604, allocations: 166.1 kB / 488.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.2628, allocations: 1.947 MB / 490.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2628, allocations: 1.5 kB / 490.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.2632, allocations: 321.2 kB / 490.6 MB, free: 45.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.2641, allocations: 253.4 kB / 490.8 MB, free: 45.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.2693, allocations: 4.531 MB / 495.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.2698, allocations: 0.7395 MB / 496.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001547/0.2714, allocations: 1.222 MB / 497.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/0.2717, allocations: 162.6 kB / 497.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2717, allocations: 0 / 497.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of Templates: time 0.02464/0.2964, allocations: 18.04 MB / 0.5034 GB, free: 35.55 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] 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","",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.150030446238816]