Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001465/0.001465, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001869/0.001869, allocations: 171.7 kB / 25.61 MB, free: 8.539 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.022/1.022, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1715/0.1715, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.957e-05, allocations: 6.141 kB / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005293/0.005312, allocations: 7.128 MB / 384.4 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006039/0.01135, allocations: 3.245 MB / 387.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.01248, allocations: 43.81 kB / 387.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.01412, allocations: 0.8325 MB / 388.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.01747, allocations: 1.381 MB / 389.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.01875, allocations: 0.5766 MB / 390.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003419/0.02217, allocations: 2.958 MB / 393.4 MB, free: 9.387 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.02356, allocations: 1.455 MB / 394.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.02486, allocations: 1.251 MB / 396.1 MB, free: 6.664 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.02642, allocations: 1.301 MB / 397.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.0267, allocations: 140 kB / 397.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.02816, allocations: 0.8733 MB / 398.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006776/0.02884, allocations: 1.075 MB / 399.5 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.02931, allocations: 0.6422 MB / 400.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.03174, allocations: 2.825 MB / 403 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.03174, allocations: 0 / 403 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03174, allocations: 0 / 403 MB, free: 15.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.833e-05/0.03182, allocations: 0 / 403 MB, free: 15.79 MB / 330.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.003721/0.03554, allocations: 3.101 MB / 406.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.03558, allocations: 19.97 kB / 406.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/0.03824, allocations: 1.08 MB / 407.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.03951, allocations: 1.089 MB / 408.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/0.03958, allocations: 123.4 kB / 408.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.03981, allocations: 156.3 kB / 408.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.04321, allocations: 3.627 MB / 412.2 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/0.04326, allocations: 31.7 kB / 412.2 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.04343, allocations: 87.88 kB / 412.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001113/0.04454, allocations: 1.207 MB / 413.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.04715, allocations: 1.625 MB / 415.1 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01944/0.06658, allocations: 30.11 MB / 445.2 MB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.06811, allocations: 0.7006 MB / 445.9 MB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.06837, allocations: 222.6 kB / 446.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/0.07108, allocations: 2.35 MB / 448.5 MB, free: 268 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.07111, allocations: 45.33 kB / 448.5 MB, free: 212 kB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 2.926e-06/0.07112, allocations: 0 / 448.5 MB, free: 212 kB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.003853/0.07497, allocations: 1.786 MB / 450.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.07503, allocations: 136.5 kB / 450.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.07699, allocations: 2.578 MB / 453 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.07702, allocations: 33.7 kB / 453.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.07862, allocations: 2.418 MB / 455.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/0.07911, allocations: 401.2 kB / 455.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008659/0.07998, allocations: 0.98 MB / 456.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.08016, allocations: 0.5354 MB / 457.4 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/0.08083, allocations: 368.5 kB / 457.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.08355, allocations: 4.807 MB / 462.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/0.08769, allocations: 5.69 MB / 468.2 MB, free: 8.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.439e-05/0.08775, allocations: 28 kB / 468.3 MB, free: 8.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.004405/0.09216, allocations: 3.511 MB / 471.8 MB, free: 4.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/0.09221, allocations: 48 kB / 471.8 MB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.803e-05/0.09231, allocations: 108.1 kB / 471.9 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.771e-05/0.09241, allocations: 143.9 kB / 472.1 MB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.09418, allocations: 1.01 MB / 473.1 MB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001202/0.0943, allocations: 207.2 kB / 473.3 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.09622, allocations: 208 kB / 473.5 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.09645, allocations: 248 kB / 473.7 MB, free: 2.754 MB / 394.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.0007912/0.09724, allocations: 0.5234 MB / 474.2 MB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.09753, allocations: 234.5 kB / 474.5 MB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.09798, allocations: 381.9 kB / 474.8 MB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.098, allocations: 19.92 kB / 474.9 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.098, allocations: 0 / 474.9 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.09801, allocations: 7.984 kB / 474.9 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.1011, allocations: 2.426 MB / 477.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.1011, allocations: 8 kB / 477.3 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.1014, allocations: 107.8 kB / 477.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.1014, allocations: 8 kB / 477.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.1015, allocations: 27.91 kB / 477.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.1015, allocations: 11.94 kB / 477.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1015, allocations: 4 kB / 477.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009735/0.1025, allocations: 1.245 MB / 478.7 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.1027, allocations: 202.4 kB / 478.9 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.1029, allocations: 27.92 kB / 478.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.1033, allocations: 16 kB / 478.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.1033, allocations: 59.78 kB / 479 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.1034, allocations: 28 kB / 479 MB, free: 13.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008806/0.1042, allocations: 1.013 MB / 480 MB, free: 12.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1042, allocations: 0 / 480 MB, free: 12.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002461/0.1067, allocations: 0.6132 MB / 480.7 MB, free: 11.57 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.0002791/0.107, allocations: 167 kB / 480.8 MB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.1093, allocations: 1.74 MB / 482.6 MB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1093, allocations: 0 / 482.6 MB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.1095, allocations: 203.9 kB / 482.8 MB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.1105, allocations: 255.5 kB / 483 MB, free: 9.223 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.1162, allocations: 4.358 MB / 487.4 MB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.1168, allocations: 0.7303 MB / 488.1 MB, free: 3.969 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008764/0.1177, allocations: 341.3 kB / 488.4 MB, free: 3.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.1182, allocations: 394.1 kB / 488.8 MB, free: 3.242 MB / 410.7 MB Notification: Performance of SimCode: time 2.385e-06/0.1182, allocations: 0 / 488.8 MB, free: 3.242 MB / 410.7 MB Notification: Performance of Templates: time 0.02808/0.1462, allocations: 16.01 MB / 0.493 GB, free: 3.566 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.048104968853295]