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.001282/0.001282, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002318/0.003599, allocations: 452 kB / 10.43 MB, free: 264 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.0012/0.0012, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.002967, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9808/0.9808, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1509/1.132, allocations: 49.5 MB / 220.7 MB, free: 1.371 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.1411/0.1411, allocations: 32.35 MB / 253.8 MB, free: 240 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02736/0.1685, allocations: 12.31 MB / 266.1 MB, free: 3.887 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.944e-06/1.944e-06, allocations: 3.938 kB / 267.4 MB, free: 2.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.114e-05, allocations: 6.25 kB / 267.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006862/0.006883, allocations: 7.27 MB / 274.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005732/0.01262, allocations: 3.376 MB / 278 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007172/0.01333, allocations: 39.81 kB / 278.1 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.01438, allocations: 0.8247 MB / 278.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.01647, allocations: 1.369 MB / 280.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009722/0.01744, allocations: 0.5298 MB / 280.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.02052, allocations: 2.792 MB / 283.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.02178, allocations: 1.254 MB / 284.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1798/0.2015, allocations: 1.305 MB / 286.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002892/0.2044, allocations: 1.226 MB / 287.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006088/0.205, allocations: 147 kB / 287.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.2072, allocations: 0.9031 MB / 288.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.2083, allocations: 0.989 MB / 289.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.2094, allocations: 0.5453 MB / 289.9 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004088/0.2135, allocations: 2.643 MB / 292.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.2135, allocations: 0 / 292.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2135, allocations: 0 / 292.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001117/0.2136, allocations: 3.375 kB / 292.6 MB, free: 3.188 MB / 282.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.005503/0.2191, allocations: 3.297 MB / 295.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2191, allocations: 10.38 kB / 295.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.2216, allocations: 0.7949 MB / 296.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.2231, allocations: 1.035 MB / 297.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/0.2232, allocations: 119.9 kB / 297.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.2234, allocations: 167 kB / 298 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003469/0.2269, allocations: 3.176 MB / 301.2 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.298e-05/0.227, allocations: 32.91 kB / 301.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.2271, allocations: 82.98 kB / 301.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/0.2282, allocations: 1.129 MB / 302.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.2308, allocations: 1.636 MB / 304.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.2468, allocations: 21.4 MB / 325.5 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.2483, allocations: 0.7269 MB / 326.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.2485, allocations: 176.6 kB / 326.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002567/0.2511, allocations: 1.944 MB / 328.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.2511, allocations: 45.78 kB / 328.3 MB, free: 9.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 3.206e-06/0.2511, allocations: 4 kB / 328.3 MB, free: 9.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.003556/0.2547, allocations: 1.656 MB / 330 MB, free: 7.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.2547, allocations: 140 kB / 330.1 MB, free: 7.676 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.2572, allocations: 2.296 MB / 332.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.2572, allocations: 43.66 kB / 332.5 MB, free: 5.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.2583, allocations: 2.174 MB / 334.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.2585, allocations: 377.5 kB / 335 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/0.2592, allocations: 0.8366 MB / 335.9 MB, free: 2.543 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.2593, allocations: 360.4 kB / 336.2 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007359/0.2601, allocations: 0.5037 MB / 336.7 MB, free: 1.695 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/0.2627, allocations: 3.377 MB / 340.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.2671, allocations: 4.651 MB / 344.7 MB, free: 7.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-05/0.2671, allocations: 35.94 kB / 344.8 MB, free: 7.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003607/0.2707, allocations: 2.995 MB / 347.8 MB, free: 4.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.2708, allocations: 52 kB / 347.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.2709, allocations: 112 kB / 347.9 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.534e-05/0.271, allocations: 140 kB / 348.1 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.2728, allocations: 1.12 MB / 349.2 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001367/0.2729, allocations: 207.2 kB / 349.4 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.2744, allocations: 200.9 kB / 349.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.2746, allocations: 248 kB / 349.8 MB, free: 1.945 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.0009226/0.2755, allocations: 497.3 kB / 350.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.2757, allocations: 131.8 kB / 350.4 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.2761, allocations: 352.2 kB / 350.8 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.2762, allocations: 8 kB / 350.8 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2762, allocations: 0 / 350.8 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.2762, allocations: 3.984 kB / 350.8 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.2791, allocations: 2.09 MB / 352.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.2791, allocations: 14.38 kB / 352.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.2794, allocations: 127.8 kB / 353 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.2797, allocations: 256.5 kB / 353.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.2797, allocations: 8 kB / 353.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.2798, allocations: 12 kB / 353.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.2798, allocations: 8 kB / 353.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.2798, allocations: 7.938 kB / 353.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.2806, allocations: 1.037 MB / 354.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.2807, allocations: 19.98 kB / 354.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.281, allocations: 16 kB / 354.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.2811, allocations: 55.8 kB / 354.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.2812, allocations: 26.58 kB / 354.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007999/0.282, allocations: 0.9247 MB / 355.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.282, allocations: 0 / 355.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002053/0.284, allocations: 0.6327 MB / 356 MB, free: 12.02 MB / 346.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.0003251/0.2843, allocations: 162.5 kB / 356.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.286, allocations: 1.709 MB / 357.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001124/0.2861, allocations: 67.92 kB / 358 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.2866, allocations: 0.5142 MB / 358.5 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.2884, allocations: 1.533 MB / 360 MB, free: 7.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/0.2956, allocations: 4.438 MB / 364.4 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.2962, allocations: 0.7179 MB / 365.2 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007622/0.297, allocations: 336 kB / 365.5 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008205/0.2978, allocations: 357.2 kB / 365.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/0.2978, allocations: 0 / 365.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of Templates: time 0.02531/0.3231, allocations: 14.56 MB / 380.4 MB, free: 3.375 MB / 362.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.606991152279079]