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.0008392/0.0008392, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001012/0.001012, allocations: 169.9 kB / 24.91 MB, free: 9.184 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2701/0.2701, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.522e-06/1.522e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.059e-05, allocations: 4 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.00886/0.008891, allocations: 7.188 MB / 330.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007016/0.01591, allocations: 3.351 MB / 333.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.01698, allocations: 39.81 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.01878, allocations: 0.8364 MB / 334.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.02186, allocations: 1.361 MB / 336 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.02306, allocations: 0.5688 MB / 336.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003372/0.02643, allocations: 2.957 MB / 339.5 MB, free: 9.324 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.02817, allocations: 1.391 MB / 340.9 MB, free: 7.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.02979, allocations: 1.22 MB / 342.1 MB, free: 6.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.03141, allocations: 1.227 MB / 343.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.03172, allocations: 148 kB / 343.5 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.03311, allocations: 0.9007 MB / 344.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008113/0.03392, allocations: 1.067 MB / 345.5 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000843/0.03476, allocations: 0.6539 MB / 346.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.03799, allocations: 2.809 MB / 348.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.03799, allocations: 0 / 348.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.03799, allocations: 0 / 348.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.083e-05/0.03806, allocations: 0 / 348.9 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.003911/0.04197, allocations: 2.696 MB / 351.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.04201, allocations: 19.92 kB / 351.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.04506, allocations: 0.8084 MB / 352.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.04661, allocations: 0.993 MB / 353.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.04669, allocations: 123.4 kB / 353.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.04694, allocations: 160.2 kB / 353.7 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/0.05114, allocations: 3.183 MB / 356.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.177e-05/0.0512, allocations: 31.7 kB / 357 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.05139, allocations: 83.89 kB / 357 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001405/0.05279, allocations: 1.207 MB / 358.2 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003368/0.05616, allocations: 1.636 MB / 359.9 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.07229, allocations: 21.4 MB / 381.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.07368, allocations: 0.7429 MB / 382 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.0739, allocations: 169.2 kB / 382.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002598/0.0765, allocations: 1.952 MB / 384.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.07652, allocations: 42.5 kB / 384.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 3.136e-06/0.07653, allocations: 0 / 384.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.003587/0.08011, allocations: 1.653 MB / 385.8 MB, free: 9.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.08017, allocations: 136.5 kB / 386 MB, free: 9.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.08199, allocations: 2.28 MB / 388.2 MB, free: 6.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.08203, allocations: 37.7 kB / 388.3 MB, free: 6.863 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.08336, allocations: 2.174 MB / 390.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.08364, allocations: 385.2 kB / 390.8 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000655/0.0843, allocations: 0.8344 MB / 391.7 MB, free: 3.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.08444, allocations: 357.8 kB / 392 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/0.08517, allocations: 0.5068 MB / 392.5 MB, free: 2.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.08762, allocations: 3.371 MB / 395.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.09057, allocations: 4.296 MB / 400.2 MB, free: 7.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.398e-05/0.09061, allocations: 28 kB / 400.2 MB, free: 7.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003293/0.0939, allocations: 3 MB / 403.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.09395, allocations: 48 kB / 403.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.584e-05/0.09401, allocations: 108 kB / 403.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.859e-05/0.09409, allocations: 140 kB / 403.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.09569, allocations: 1.049 MB / 404.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.852e-05/0.09578, allocations: 207.2 kB / 404.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.09712, allocations: 208 kB / 405 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.09732, allocations: 252 kB / 405.2 MB, free: 2.859 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.0006476/0.09797, allocations: 496 kB / 405.7 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.09816, allocations: 123.9 kB / 405.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.09855, allocations: 357.3 kB / 406.2 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.09856, allocations: 12 kB / 406.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.09856, allocations: 0 / 406.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.09857, allocations: 7.984 kB / 406.2 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.1009, allocations: 2.073 MB / 408.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.1009, allocations: 8 kB / 408.3 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.1013, allocations: 111.8 kB / 408.4 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1013, allocations: 8 kB / 408.4 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.1013, allocations: 19.98 kB / 408.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.1014, allocations: 11.94 kB / 408.4 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1014, allocations: 4 kB / 408.4 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.102, allocations: 1.032 MB / 409.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.1023, allocations: 214.4 kB / 409.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.1024, allocations: 12 kB / 409.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.1027, allocations: 16 kB / 409.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.1028, allocations: 59.78 kB / 409.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.1028, allocations: 24 kB / 409.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006787/0.1035, allocations: 0.9077 MB / 410.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1035, allocations: 0 / 410.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001805/0.1053, allocations: 0.6249 MB / 411.3 MB, free: 12.55 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.000244/0.1055, allocations: 148 kB / 411.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.1071, allocations: 1.625 MB / 413.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-05/0.1071, allocations: 59.94 kB / 413.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.1073, allocations: 179.8 kB / 413.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009091/0.1082, allocations: 363.1 kB / 413.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.113, allocations: 4.316 MB / 418 MB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.1136, allocations: 0.7214 MB / 418.7 MB, free: 5.004 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006968/0.1143, allocations: 341.3 kB / 419 MB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.1147, allocations: 357.3 kB / 419.4 MB, free: 4.316 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1147, allocations: 0 / 419.4 MB, free: 4.316 MB / 394.7 MB Notification: Performance of Templates: time 0.02449/0.1392, allocations: 15.63 MB / 435 MB, free: 4.871 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 -s gbode -gbm=radauIIA3 -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.4956444278359413]