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.001358/0.001358, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001271/0.001271, allocations: 170 kB / 24.82 MB, free: 9.254 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.032/1.032, allocations: 177 MB / 205.1 MB, free: 5.488 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.2985/0.2985, allocations: 34.87 MB / 296.6 MB, free: 0.5195 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 3.827e-06/3.827e-06, allocations: 4 kB / 379.2 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.93e-05, allocations: 2.312 kB / 379.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009989/0.01001, allocations: 7.138 MB / 386.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004705/0.01471, allocations: 3.251 MB / 389.6 MB, free: 7.449 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004928/0.01521, allocations: 39.81 kB / 389.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.01654, allocations: 0.8481 MB / 390.5 MB, free: 6.559 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.01838, allocations: 1.369 MB / 391.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.01915, allocations: 0.5805 MB / 392.4 MB, free: 4.602 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.02154, allocations: 2.962 MB / 395.4 MB, free: 1.637 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.02259, allocations: 1.451 MB / 396.8 MB, free: 172 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.02361, allocations: 1.255 MB / 398.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.02467, allocations: 1.29 MB / 399.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.02484, allocations: 144 kB / 399.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.0262, allocations: 0.8772 MB / 400.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006641/0.02687, allocations: 1.067 MB / 401.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.02733, allocations: 0.6539 MB / 402.1 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.0294, allocations: 2.809 MB / 404.9 MB, free: 8.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.02941, allocations: 4 kB / 404.9 MB, free: 8.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02941, allocations: 0 / 404.9 MB, free: 8.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.02942, allocations: 0 / 404.9 MB, free: 8.047 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.003338/0.03276, allocations: 3.116 MB / 408 MB, free: 4.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.03281, allocations: 12.03 kB / 408 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.0352, allocations: 1.08 MB / 409.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.03639, allocations: 1.085 MB / 410.2 MB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.03646, allocations: 123.4 kB / 410.3 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.03665, allocations: 160.2 kB / 410.5 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/0.04013, allocations: 3.623 MB / 414.1 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.04018, allocations: 35.69 kB / 414.1 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.04033, allocations: 83.89 kB / 414.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001015/0.04135, allocations: 1.218 MB / 415.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.04363, allocations: 1.605 MB / 417.1 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2106/0.2542, allocations: 30.12 MB / 447.2 MB, free: 68.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.2555, allocations: 0.6947 MB / 447.9 MB, free: 68.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.2558, allocations: 221.9 kB / 448.1 MB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/0.2579, allocations: 2.339 MB / 450.4 MB, free: 67.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2579, allocations: 44.7 kB / 450.5 MB, free: 67.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=79): time 2.264e-06/0.2579, allocations: 3.406 kB / 450.5 MB, free: 67.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=86): time 0.003676/0.2616, allocations: 1.79 MB / 452.3 MB, free: 67.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.2616, allocations: 145.2 kB / 452.4 MB, free: 66.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.2638, allocations: 2.567 MB / 455 MB, free: 66.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.2638, allocations: 36.14 kB / 455 MB, free: 66.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008929/0.2647, allocations: 2.415 MB / 457.4 MB, free: 65.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.2649, allocations: 397.7 kB / 457.8 MB, free: 64.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007133/0.2656, allocations: 0.9832 MB / 458.8 MB, free: 64.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.2657, allocations: 0.5378 MB / 459.3 MB, free: 64.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/0.2662, allocations: 365.2 kB / 459.7 MB, free: 64.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.2682, allocations: 4.803 MB / 464.5 MB, free: 58.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/0.2723, allocations: 5.678 MB / 470.2 MB, free: 52.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-05/0.2724, allocations: 32.19 kB / 470.2 MB, free: 52.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003588/0.276, allocations: 3.517 MB / 473.7 MB, free: 51.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.276, allocations: 51.75 kB / 473.8 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.009e-05/0.2761, allocations: 114.8 kB / 473.9 MB, free: 51.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.443e-05/0.2762, allocations: 137.2 kB / 474 MB, free: 51.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.2776, allocations: 1.011 MB / 475 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.773e-05/0.2777, allocations: 213.6 kB / 475.2 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.2791, allocations: 200.2 kB / 475.4 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.2793, allocations: 247.5 kB / 475.7 MB, free: 51.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 486 * Number of states: 0 () * Number of discrete variables: 18 (Body1.sphereColor[1],Body1.sphereColor[2],Body1.sphereColor[3],ActuatedRevolute1.cylinderColor[1],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.0006101/0.2799, allocations: 0.5299 MB / 476.2 MB, free: 51.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.2801, allocations: 234.7 kB / 476.4 MB, free: 51.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.2805, allocations: 392.1 kB / 476.8 MB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.2805, allocations: 13.41 kB / 476.8 MB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2805, allocations: 0 / 476.8 MB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2805, allocations: 6.656 kB / 476.8 MB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.2832, allocations: 2.428 MB / 479.3 MB, free: 49.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.2832, allocations: 10.53 kB / 479.3 MB, free: 49.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.2834, allocations: 111.3 kB / 479.4 MB, free: 49.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.2834, allocations: 9.906 kB / 479.4 MB, free: 49.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.2835, allocations: 16.81 kB / 479.4 MB, free: 49.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.2835, allocations: 12.27 kB / 479.4 MB, free: 49.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.2835, allocations: 10.22 kB / 479.4 MB, free: 49.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.2843, allocations: 1.243 MB / 480.7 MB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.2844, allocations: 200.5 kB / 480.9 MB, free: 48.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2846, allocations: 25.27 kB / 480.9 MB, free: 48.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.2849, allocations: 18.16 kB / 480.9 MB, free: 48.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.285, allocations: 57.95 kB / 481 MB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.285, allocations: 26.38 kB / 481 MB, free: 48.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006815/0.2857, allocations: 1.011 MB / 482 MB, free: 48.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2857, allocations: 4 kB / 482 MB, free: 48.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001792/0.2875, allocations: 0.6151 MB / 482.6 MB, free: 48.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 61 * 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.00024/0.2877, allocations: 166.6 kB / 482.8 MB, free: 48.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.2892, allocations: 1.739 MB / 484.5 MB, free: 47.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2892, allocations: 3.062 kB / 484.5 MB, free: 47.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.2894, allocations: 203.8 kB / 484.7 MB, free: 47.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.2902, allocations: 238.2 kB / 485 MB, free: 47.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.2953, allocations: 4.367 MB / 489.3 MB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.296, allocations: 0.7276 MB / 490 MB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007375/0.2967, allocations: 335.8 kB / 490.4 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005596/0.2973, allocations: 390.2 kB / 490.8 MB, free: 44.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2973, allocations: 0 / 490.8 MB, free: 44.61 MB / 410.7 MB Notification: Performance of Templates: time 0.02735/0.3247, allocations: 15.69 MB / 0.4946 GB, free: 42.53 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.12600288586691]