Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.0009782/0.0009782, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002436, allocations: 447.8 kB / 10.35 MB, free: 348 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.0009999/0.0009999, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002367, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.933/0.933, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1843/1.117, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1366/0.1366, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0241/0.1607, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.874e-05, allocations: 6.25 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01479/0.01481, allocations: 11.28 MB / 278.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.02597, allocations: 4.002 MB / 282.5 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.02817, allocations: 75.62 kB / 282.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.03128, allocations: 2.772 MB / 285.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.03501, allocations: 1.963 MB / 287.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.03617, allocations: 0.7054 MB / 288 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003553/0.03972, allocations: 4.018 MB / 292 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.04221, allocations: 3.059 MB / 295.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.04455, allocations: 2.529 MB / 297.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.04649, allocations: 2.143 MB / 299.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004122/0.0469, allocations: 344 kB / 300.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.04818, allocations: 1.053 MB / 301.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.04936, allocations: 1.847 MB / 303 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.05035, allocations: 1.067 MB / 304.1 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.05381, allocations: 4.277 MB / 308.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.616e-05/0.05382, allocations: 8 kB / 308.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.05382, allocations: 0 / 308.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.635e-05/0.0539, allocations: 0 / 308.4 MB, free: 13.17 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.005533/0.05943, allocations: 5.64 MB / 314 MB, free: 7.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.05947, allocations: 12.03 kB / 314 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.06188, allocations: 1.101 MB / 315.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.06367, allocations: 1.766 MB / 316.9 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.06378, allocations: 246.2 kB / 317.1 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.06409, allocations: 323.8 kB / 317.4 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00427/0.06836, allocations: 4.851 MB / 322.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.47e-05/0.06843, allocations: 35.7 kB / 322.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.06866, allocations: 151.8 kB / 322.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001307/0.06997, allocations: 1.697 MB / 324.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.0731, allocations: 2.399 MB / 326.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.184/0.2571, allocations: 29.86 MB / 356.4 MB, free: 29.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/0.2603, allocations: 1.152 MB / 357.6 MB, free: 29.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.2607, allocations: 285.7 kB / 357.8 MB, free: 29.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004414/0.2651, allocations: 2.975 MB / 360.8 MB, free: 28.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2651, allocations: 42 kB / 360.9 MB, free: 28.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 3.216e-06/0.2651, allocations: 0 / 360.9 MB, free: 28.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.006542/0.2717, allocations: 2.681 MB / 363.5 MB, free: 27.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2717, allocations: 142 kB / 363.7 MB, free: 27.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.2743, allocations: 3.172 MB / 366.9 MB, free: 26.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.2743, allocations: 45.78 kB / 366.9 MB, free: 26.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.2754, allocations: 3.172 MB / 370.1 MB, free: 24.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.2757, allocations: 0.5056 MB / 370.6 MB, free: 24.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008618/0.2765, allocations: 1.096 MB / 371.7 MB, free: 24.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.892e-05/0.2766, allocations: 308.2 kB / 372 MB, free: 23.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.2777, allocations: 0.672 MB / 372.6 MB, free: 23.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.2797, allocations: 4.367 MB / 377 MB, free: 18.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/0.2831, allocations: 5.59 MB / 382.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.108e-05/0.2831, allocations: 44 kB / 382.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.004379/0.2875, allocations: 3.937 MB / 386.6 MB, free: 7.723 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/0.2876, allocations: 64 kB / 386.6 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.509e-05/0.2877, allocations: 136.9 kB / 386.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.288, allocations: 227.6 kB / 387 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/0.2907, allocations: 1.458 MB / 388.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000785/0.2914, allocations: 1.526 MB / 390 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.2937, allocations: 263.7 kB / 390.2 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.294, allocations: 326.5 kB / 390.6 MB, free: 3.648 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 721 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009237/0.2949, allocations: 0.6043 MB / 391.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.2951, allocations: 187.8 kB / 391.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006086/0.2957, allocations: 0.6004 MB / 392 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.2957, allocations: 16 kB / 392 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2957, allocations: 3.984 kB / 392 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2958, allocations: 4.781 kB / 392 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.299, allocations: 3.131 MB / 395.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.299, allocations: 7.984 kB / 395.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.2995, allocations: 203.6 kB / 395.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/0.2999, allocations: 361.7 kB / 395.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.3, allocations: 54.91 kB / 395.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.3001, allocations: 24.03 kB / 395.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008916/0.301, allocations: 1.428 MB / 397.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.301, allocations: 4 kB / 397.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.3023, allocations: 1.353 MB / 398.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.3025, allocations: 22.25 kB / 398.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.303, allocations: 23.98 kB / 398.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3031, allocations: 68.31 kB / 398.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.3032, allocations: 28 kB / 398.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.3042, allocations: 1.147 MB / 399.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3042, allocations: 0 / 399.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002462/0.3067, allocations: 0.9217 MB / 400.7 MB, free: 9.254 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * 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 (95): * Single equations (assignments): 91 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005431/0.3072, allocations: 152.1 kB / 400.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.3097, allocations: 2.261 MB / 403.1 MB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001711/0.3098, allocations: 108.9 kB / 403.3 MB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.3102, allocations: 385.6 kB / 403.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.3116, allocations: 0.7768 MB / 404.4 MB, free: 5.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3221, allocations: 7.129 MB / 411.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009848/0.323, allocations: 1.204 MB / 412.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.3241, allocations: 471.4 kB / 413.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/0.3247, allocations: 0.4933 MB / 413.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3247, allocations: 0 / 413.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of Templates: time 0.03916/0.3639, allocations: 24.64 MB / 438.3 MB, free: 3.652 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.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.7781915813684464]