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.0009452/0.0009452, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001782/0.002727, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007738/0.0007738, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001895, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.159/1.159, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1155/1.274, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.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.318/0.318, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03476/0.3528, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] 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 2.434e-06/2.434e-06, allocations: 3.938 kB / 292.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.925e-05/4.169e-05, allocations: 3.844 kB / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009942/0.009984, allocations: 7.245 MB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006477/0.01646, allocations: 3.391 MB / 303.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.01752, allocations: 39.81 kB / 303.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.01912, allocations: 0.8286 MB / 304.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.02244, allocations: 1.349 MB / 305.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.02359, allocations: 0.5298 MB / 306.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.02674, allocations: 2.865 MB / 309.1 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.02856, allocations: 1.247 MB / 310.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.03047, allocations: 1.301 MB / 311.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.03236, allocations: 1.216 MB / 312.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004116/0.03277, allocations: 140 kB / 313 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.0345, allocations: 0.8929 MB / 313.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.03564, allocations: 0.9661 MB / 314.8 MB, free: 140 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007455/0.03638, allocations: 0.5294 MB / 315.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.03985, allocations: 2.603 MB / 317.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.567e-05/0.03987, allocations: 3.938 kB / 317.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.03987, allocations: 0 / 317.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.791e-05/0.03997, allocations: 0 / 317.9 MB, free: 12.99 MB / 314.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.004919/0.04489, allocations: 3.275 MB / 321.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.04493, allocations: 12.03 kB / 321.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.04728, allocations: 0.7967 MB / 322 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.04887, allocations: 1.009 MB / 323 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/0.04895, allocations: 119.4 kB / 323.2 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.0492, allocations: 156.3 kB / 323.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/0.0534, allocations: 3.18 MB / 326.5 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/0.05345, allocations: 31.7 kB / 326.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.05362, allocations: 83.89 kB / 326.6 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001208/0.05482, allocations: 1.125 MB / 327.7 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.05855, allocations: 1.641 MB / 329.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.07754, allocations: 21.39 MB / 350.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.07903, allocations: 0.7314 MB / 351.5 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.07926, allocations: 172.9 kB / 351.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002638/0.0819, allocations: 1.944 MB / 353.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.08193, allocations: 46.55 kB / 353.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 3.647e-06/0.08193, allocations: 0 / 353.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.003968/0.0859, allocations: 1.644 MB / 355.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.08596, allocations: 136.5 kB / 355.4 MB, free: 5.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.08826, allocations: 2.272 MB / 357.7 MB, free: 3.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.08831, allocations: 37.7 kB / 357.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009412/0.08925, allocations: 2.178 MB / 359.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.08951, allocations: 377.2 kB / 360.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/0.09013, allocations: 0.8421 MB / 361.1 MB, free: 96 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.09024, allocations: 353.8 kB / 361.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/0.09095, allocations: 0.5107 MB / 362 MB, free: 15.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.09324, allocations: 3.371 MB / 365.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/0.097, allocations: 4.647 MB / 370 MB, free: 4.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.798e-05/0.09706, allocations: 28 kB / 370 MB, free: 4.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003604/0.1007, allocations: 3 MB / 373 MB, free: 1.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.1007, allocations: 52 kB / 373.1 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.1008, allocations: 116 kB / 373.2 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.654e-05/0.1009, allocations: 136.8 kB / 373.3 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.1028, allocations: 1.119 MB / 374.4 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001199/0.1029, allocations: 207.2 kB / 374.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.1048, allocations: 203.8 kB / 374.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/0.105, allocations: 248 kB / 375.1 MB, free: 15.09 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.001213/0.1063, allocations: 496 kB / 375.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.1066, allocations: 127.8 kB / 375.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.107, allocations: 361.5 kB / 376 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.107, allocations: 8 kB / 376.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.107, allocations: 0 / 376.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.1071, allocations: 7.984 kB / 376.1 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.1102, allocations: 2.063 MB / 378.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/0.1102, allocations: 8 kB / 378.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.1106, allocations: 127.8 kB / 378.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.111, allocations: 202.4 kB / 378.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.111, allocations: 8.5 kB / 378.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.111, allocations: 20 kB / 378.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.1111, allocations: 15.92 kB / 378.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.1111, allocations: 11.94 kB / 378.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.1118, allocations: 1.034 MB / 379.5 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.112, allocations: 19.98 kB / 379.6 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.1123, allocations: 16 kB / 379.6 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.1124, allocations: 55.8 kB / 379.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.1125, allocations: 27.98 kB / 379.7 MB, free: 10.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008567/0.1133, allocations: 0.9116 MB / 380.6 MB, free: 9.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1133, allocations: 0 / 380.6 MB, free: 9.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002412/0.1157, allocations: 0.6171 MB / 381.2 MB, free: 8.777 MB / 378.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.0003487/0.1161, allocations: 155.9 kB / 381.3 MB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.1186, allocations: 1.709 MB / 383.1 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001169/0.1188, allocations: 67.92 kB / 383.1 MB, free: 6.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006769/0.1194, allocations: 0.5158 MB / 383.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.121, allocations: 1.524 MB / 385.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/0.1277, allocations: 4.416 MB / 389.6 MB, free: 76 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009608/0.1286, allocations: 0.7215 MB / 390.3 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008336/0.1295, allocations: 333.3 kB / 390.6 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.1299, allocations: 341.3 kB / 391 MB, free: 14.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.954e-06/0.1299, allocations: 7.938 kB / 391 MB, free: 14.66 MB / 394.7 MB Notification: Performance of Templates: time 0.02724/0.1571, allocations: 14.2 MB / 405.2 MB, free: 0.5391 MB / 394.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.505003253929317]