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.001371/0.001371, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001957/0.001957, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 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.141/1.141, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.35/0.35, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] 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 3.367e-06/3.367e-06, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/4.038e-05, allocations: 2.312 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008717/0.008757, allocations: 7.128 MB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008403/0.01716, allocations: 3.251 MB / 388.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.01916, allocations: 39.81 kB / 388.9 MB, free: 7.953 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.02151, allocations: 0.8403 MB / 389.7 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005246/0.02676, allocations: 1.388 MB / 391.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.02844, allocations: 0.5728 MB / 391.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0043/0.03274, allocations: 2.955 MB / 394.6 MB, free: 2.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.03563, allocations: 1.455 MB / 396.1 MB, free: 0.707 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.0386, allocations: 1.247 MB / 397.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.04121, allocations: 1.298 MB / 398.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007271/0.04194, allocations: 140 kB / 398.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.0439, allocations: 0.8772 MB / 399.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009833/0.04488, allocations: 1.071 MB / 400.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.04641, allocations: 0.65 MB / 401.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.0514, allocations: 2.821 MB / 404.2 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.05141, allocations: 0 / 404.2 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.05141, allocations: 0 / 404.2 MB, free: 8.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001916/0.0516, allocations: 0 / 404.2 MB, free: 8.578 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.005622/0.05723, allocations: 3.113 MB / 407.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.05728, allocations: 12.03 kB / 407.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.06008, allocations: 1.08 MB / 408.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.06191, allocations: 1.089 MB / 409.5 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-05/0.062, allocations: 123.4 kB / 409.6 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.06221, allocations: 156.3 kB / 409.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/0.06701, allocations: 3.631 MB / 413.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/0.06707, allocations: 31.7 kB / 413.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.06723, allocations: 79.89 kB / 413.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001146/0.06837, allocations: 1.207 MB / 414.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003712/0.07209, allocations: 1.621 MB / 416.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2645/0.3365, allocations: 30.11 MB / 446.4 MB, free: 69.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.338, allocations: 0.6981 MB / 447.1 MB, free: 69.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.3382, allocations: 223.4 kB / 447.4 MB, free: 68.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002647/0.3409, allocations: 2.346 MB / 449.7 MB, free: 67.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3409, allocations: 49.7 kB / 449.8 MB, free: 67.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=79): time 4.579e-06/0.3409, allocations: 2.75 kB / 449.8 MB, free: 67.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=86): time 0.004846/0.3457, allocations: 1.791 MB / 451.5 MB, free: 67.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.3458, allocations: 141.1 kB / 451.7 MB, free: 67.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.3488, allocations: 2.569 MB / 454.3 MB, free: 67.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.3489, allocations: 38.77 kB / 454.3 MB, free: 67.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.3502, allocations: 2.413 MB / 456.7 MB, free: 65.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.3506, allocations: 400 kB / 457.1 MB, free: 65.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.3516, allocations: 0.9808 MB / 458.1 MB, free: 65.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3518, allocations: 0.5308 MB / 458.6 MB, free: 64.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/0.3525, allocations: 369.1 kB / 459 MB, free: 64.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.3553, allocations: 4.809 MB / 463.8 MB, free: 58.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005268/0.3606, allocations: 5.677 MB / 469.5 MB, free: 53.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/0.3607, allocations: 30.72 kB / 469.5 MB, free: 53.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.005814/0.3665, allocations: 3.517 MB / 473 MB, free: 52.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/0.3666, allocations: 52.5 kB / 473 MB, free: 52.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/0.3668, allocations: 106.7 kB / 473.2 MB, free: 52.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.3669, allocations: 137.3 kB / 473.3 MB, free: 52.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.3688, allocations: 1.007 MB / 474.3 MB, free: 52.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001695/0.369, allocations: 210 kB / 474.5 MB, free: 52.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/0.3717, allocations: 204.4 kB / 474.7 MB, free: 52.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/0.372, allocations: 254.3 kB / 474.9 MB, free: 52.15 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.001041/0.3731, allocations: 0.5281 MB / 475.5 MB, free: 51.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.3734, allocations: 238.9 kB / 475.7 MB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.374, allocations: 388.4 kB / 476.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.374, allocations: 9.531 kB / 476.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.374, allocations: 3.188 kB / 476.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.374, allocations: 3.234 kB / 476.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/0.3781, allocations: 2.432 MB / 478.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.3781, allocations: 7.469 kB / 478.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.3784, allocations: 112.8 kB / 478.7 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.3784, allocations: 9 kB / 478.7 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.3785, allocations: 17.66 kB / 478.7 MB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.3785, allocations: 9.969 kB / 478.7 MB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.3785, allocations: 9.969 kB / 478.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.3795, allocations: 1.248 MB / 479.9 MB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.3798, allocations: 210.1 kB / 480.2 MB, free: 49.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3799, allocations: 17.16 kB / 480.2 MB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.3803, allocations: 14.28 kB / 480.2 MB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.3803, allocations: 59.16 kB / 480.2 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.3804, allocations: 31.83 kB / 480.3 MB, free: 49.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009249/0.3813, allocations: 1.018 MB / 481.3 MB, free: 48.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3813, allocations: 0 / 481.3 MB, free: 48.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00349/0.3848, allocations: 0.618 MB / 481.9 MB, free: 48.86 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.0003841/0.3852, allocations: 162.2 kB / 482.1 MB, free: 48.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003173/0.3884, allocations: 1.733 MB / 483.8 MB, free: 48.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.3884, allocations: 1.219 kB / 483.8 MB, free: 48.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.3888, allocations: 206.6 kB / 484 MB, free: 48.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.3905, allocations: 234.3 kB / 484.2 MB, free: 48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009106/0.3996, allocations: 4.369 MB / 488.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008947/0.4005, allocations: 0.7236 MB / 489.3 MB, free: 45.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001336/0.4018, allocations: 345.3 kB / 489.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/0.4025, allocations: 385.5 kB / 490 MB, free: 45.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4025, allocations: 0 / 490 MB, free: 45.23 MB / 410.7 MB Notification: Performance of Templates: time 0.0317/0.4342, allocations: 15.69 MB / 0.4939 GB, free: 43.14 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.44937670789659]