Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001225/0.001225, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002772, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001091/0.001091, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002392, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9229/0.9229, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1663/1.089, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1303/0.1303, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02343/0.1537, allocations: 12.29 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 267.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.881e-05, allocations: 6.25 kB / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006478/0.006497, allocations: 7.27 MB / 274.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005429/0.01193, allocations: 3.368 MB / 277.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.01307, allocations: 43.81 kB / 277.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.01455, allocations: 0.8247 MB / 278.7 MB, free: 11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.01757, allocations: 1.373 MB / 280.1 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.01866, allocations: 0.5259 MB / 280.6 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002951/0.02161, allocations: 2.804 MB / 283.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.02342, allocations: 1.254 MB / 284.6 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.0253, allocations: 1.305 MB / 286 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.02711, allocations: 1.231 MB / 287.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004208/0.02753, allocations: 140 kB / 287.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.02898, allocations: 0.9124 MB / 288.2 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008389/0.02982, allocations: 0.9856 MB / 289.2 MB, free: 432 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008303/0.03065, allocations: 0.5412 MB / 289.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.03363, allocations: 2.653 MB / 292.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.03364, allocations: 4 kB / 292.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.03365, allocations: 0 / 292.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001168/0.03376, allocations: 0 / 292.4 MB, free: 13.21 MB / 298.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.004674/0.03844, allocations: 3.289 MB / 295.7 MB, free: 9.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.03848, allocations: 8.031 kB / 295.7 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.04111, allocations: 0.8006 MB / 296.5 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.04278, allocations: 1.04 MB / 297.6 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/0.04286, allocations: 119.4 kB / 297.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.04308, allocations: 168.2 kB / 297.8 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.04683, allocations: 3.172 MB / 301 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/0.04688, allocations: 31.7 kB / 301 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.04702, allocations: 83.89 kB / 301.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001036/0.04806, allocations: 1.23 MB / 302.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.05051, allocations: 1.623 MB / 304 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.06299, allocations: 21.4 MB / 325.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.06421, allocations: 0.7354 MB / 326.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.0644, allocations: 172.1 kB / 326.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001959/0.06636, allocations: 1.948 MB / 328.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.06639, allocations: 46.5 kB / 328.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 1.764e-06/0.06639, allocations: 0 / 328.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=86): time 0.002967/0.06935, allocations: 1.633 MB / 329.9 MB, free: 6.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.06941, allocations: 136.5 kB / 330 MB, free: 5.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.071, allocations: 2.3 MB / 332.3 MB, free: 3.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.07104, allocations: 41.69 kB / 332.4 MB, free: 3.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000942/0.07198, allocations: 2.17 MB / 334.5 MB, free: 1.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.07222, allocations: 381.2 kB / 334.9 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000597/0.07281, allocations: 0.8344 MB / 335.7 MB, free: 144 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.1491/0.2219, allocations: 357.8 kB / 336.1 MB, free: 47.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.2234, allocations: 0.5073 MB / 336.6 MB, free: 47.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.2254, allocations: 3.373 MB / 340 MB, free: 43.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/0.2285, allocations: 4.288 MB / 344.3 MB, free: 39.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.451e-05/0.2286, allocations: 36.22 kB / 344.3 MB, free: 39.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.00985/0.2384, allocations: 2.995 MB / 347.3 MB, free: 39.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.2385, allocations: 51.44 kB / 347.3 MB, free: 39.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.2386, allocations: 114.8 kB / 347.5 MB, free: 39.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.581e-05/0.2387, allocations: 139.7 kB / 347.6 MB, free: 39.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008164/0.2468, allocations: 1.114 MB / 348.7 MB, free: 39.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/0.247, allocations: 205.1 kB / 348.9 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.2488, allocations: 206.2 kB / 349.1 MB, free: 39.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006251/0.2551, allocations: 251.5 kB / 349.4 MB, free: 39.15 MB / 330.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.0006785/0.2558, allocations: 498.6 kB / 349.8 MB, free: 38.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.256, allocations: 128.5 kB / 350 MB, free: 38.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.2564, allocations: 355.4 kB / 350.3 MB, free: 38.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.2564, allocations: 17.02 kB / 350.3 MB, free: 38.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2564, allocations: 2.406 kB / 350.3 MB, free: 38.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.2564, allocations: 2.766 kB / 350.3 MB, free: 38.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.2679, allocations: 2.08 MB / 352.4 MB, free: 38.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.2679, allocations: 3.406 kB / 352.4 MB, free: 38.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.2683, allocations: 131.7 kB / 352.5 MB, free: 38.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.2685, allocations: 263.1 kB / 352.8 MB, free: 38.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.2686, allocations: 7.531 kB / 352.8 MB, free: 38.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.2686, allocations: 19.03 kB / 352.8 MB, free: 38.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.2686, allocations: 12.34 kB / 352.8 MB, free: 38.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2686, allocations: 7.625 kB / 352.9 MB, free: 38.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.2692, allocations: 1.027 MB / 353.9 MB, free: 37.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.2693, allocations: 19.38 kB / 353.9 MB, free: 37.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.2698, allocations: 20.31 kB / 353.9 MB, free: 37.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.2699, allocations: 50.83 kB / 354 MB, free: 37.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.2699, allocations: 33.47 kB / 354 MB, free: 37.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007697/0.2707, allocations: 0.9224 MB / 354.9 MB, free: 37.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2707, allocations: 0 / 354.9 MB, free: 37.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002154/0.2729, allocations: 0.6333 MB / 355.6 MB, free: 37.44 MB / 330.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.01182/0.2847, allocations: 164.6 kB / 355.7 MB, free: 37.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.2863, allocations: 1.609 MB / 357.3 MB, free: 36.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001087/0.2864, allocations: 75.66 kB / 357.4 MB, free: 36.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.2865, allocations: 176.9 kB / 357.6 MB, free: 36.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.2877, allocations: 498.3 kB / 358.1 MB, free: 36.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007218/0.295, allocations: 4.443 MB / 362.5 MB, free: 32.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.2955, allocations: 0.7224 MB / 363.2 MB, free: 32.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008373/0.2964, allocations: 347 kB / 363.6 MB, free: 31.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/0.2968, allocations: 364.2 kB / 363.9 MB, free: 31.53 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2968, allocations: 4 kB / 363.9 MB, free: 31.52 MB / 330.7 MB Notification: Performance of Templates: time 0.02247/0.3193, allocations: 16.24 MB / 380.2 MB, free: 16.55 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6507836868986487]