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.001163/0.001163, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001253/0.001253, allocations: 174 kB / 24.91 MB, free: 8.781 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 0.9801/0.9801, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2606/0.2606, allocations: 32.8 MB / 294.6 MB, free: 1.211 MB / 266.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.242e-06/1.242e-06, allocations: 0 / 323.2 MB, free: 9.809 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.203e-05, allocations: 2.312 kB / 323.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005959/0.005981, allocations: 7.15 MB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.01107, allocations: 3.359 MB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007351/0.01181, allocations: 39.81 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.0131, allocations: 0.8481 MB / 334.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.01556, allocations: 1.384 MB / 336 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.01656, allocations: 0.5727 MB / 336.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.01916, allocations: 2.958 MB / 339.5 MB, free: 9.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.02054, allocations: 1.508 MB / 341 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.02195, allocations: 1.239 MB / 342.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.02344, allocations: 1.227 MB / 343.5 MB, free: 5.426 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.02366, allocations: 144 kB / 343.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.02479, allocations: 0.8617 MB / 344.5 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008174/0.02561, allocations: 1.079 MB / 345.5 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005956/0.02621, allocations: 0.6499 MB / 346.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.02923, allocations: 2.813 MB / 349 MB, free: 15.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.02923, allocations: 0 / 349 MB, free: 15.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02923, allocations: 0 / 349 MB, free: 15.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.919e-05/0.02929, allocations: 4 kB / 349 MB, free: 15.86 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.003122/0.03241, allocations: 2.696 MB / 351.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.03245, allocations: 11.98 kB / 351.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.03458, allocations: 0.8045 MB / 352.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.03581, allocations: 1.001 MB / 353.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.03587, allocations: 123.3 kB / 353.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.03608, allocations: 168.2 kB / 353.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.03958, allocations: 3.179 MB / 357 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.723e-05/0.03962, allocations: 31.7 kB / 357 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.03978, allocations: 83.89 kB / 357.1 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/0.04081, allocations: 1.207 MB / 358.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.04324, allocations: 1.632 MB / 359.9 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01548/0.05872, allocations: 21.4 MB / 381.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.06013, allocations: 0.7442 MB / 382.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.06036, allocations: 175.4 kB / 382.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002643/0.063, allocations: 1.944 MB / 384.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.06303, allocations: 42.5 kB / 384.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 3.737e-06/0.06304, allocations: 0 / 384.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.004013/0.06705, allocations: 1.643 MB / 385.9 MB, free: 9.395 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.06711, allocations: 144.4 kB / 386 MB, free: 9.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.06908, allocations: 2.283 MB / 388.3 MB, free: 6.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.06914, allocations: 33.7 kB / 388.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008807/0.07002, allocations: 2.174 MB / 390.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.07028, allocations: 385.2 kB / 390.9 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008471/0.07113, allocations: 0.8305 MB / 391.7 MB, free: 3.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.07123, allocations: 361.8 kB / 392.1 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006915/0.07192, allocations: 0.5068 MB / 392.6 MB, free: 2.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.07377, allocations: 3.378 MB / 396 MB, free: 13.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.07736, allocations: 4.299 MB / 400.3 MB, free: 7.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.844e-05/0.07743, allocations: 28 kB / 400.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.004386/0.08182, allocations: 2.999 MB / 403.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.08187, allocations: 52 kB / 403.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.337e-05/0.08194, allocations: 104 kB / 403.4 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.454e-05/0.08202, allocations: 140 kB / 403.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.08382, allocations: 1.002 MB / 404.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000145/0.08396, allocations: 211.5 kB / 404.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.08596, allocations: 207.7 kB / 405 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.08622, allocations: 252 kB / 405.2 MB, free: 2.895 MB / 378.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.0008264/0.08704, allocations: 496.1 kB / 405.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.0873, allocations: 127.8 kB / 405.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.08772, allocations: 353.3 kB / 406.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.08774, allocations: 12 kB / 406.2 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.08774, allocations: 0 / 406.2 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.08775, allocations: 7.984 kB / 406.2 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.0905, allocations: 2.073 MB / 408.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.09051, allocations: 4 kB / 408.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.09078, allocations: 111.8 kB / 408.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.09078, allocations: 4 kB / 408.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.09081, allocations: 23.98 kB / 408.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.09082, allocations: 7.938 kB / 408.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.09083, allocations: 8 kB / 408.4 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.09149, allocations: 1.032 MB / 409.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.09172, allocations: 206.4 kB / 409.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.09185, allocations: 16 kB / 409.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.09219, allocations: 16 kB / 409.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.09225, allocations: 51.8 kB / 409.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.09229, allocations: 27.98 kB / 409.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.0933, allocations: 0.9155 MB / 410.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.0933, allocations: 0 / 410.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002153/0.09545, allocations: 0.6132 MB / 411.3 MB, free: 12.61 MB / 394.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.0003112/0.09577, allocations: 163.9 kB / 411.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.0976, allocations: 1.614 MB / 413.1 MB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.401e-05/0.0977, allocations: 59.94 kB / 413.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.09789, allocations: 185.4 kB / 413.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.09903, allocations: 357 kB / 413.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/0.1047, allocations: 4.316 MB / 418 MB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.1053, allocations: 0.7175 MB / 418.7 MB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008542/0.1061, allocations: 341.6 kB / 419 MB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.1066, allocations: 365.3 kB / 419.4 MB, free: 4.359 MB / 394.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1066, allocations: 0 / 419.4 MB, free: 4.359 MB / 394.7 MB Notification: Performance of Templates: time 0.02658/0.1332, allocations: 15.62 MB / 435 MB, free: 4.922 MB / 410.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: 3.642247446347028]