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.001108/0.001108, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001146/0.001146, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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.9674/0.9674, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.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.1488/0.1488, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.863e-06/1.863e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.199e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.1626/0.1626, allocations: 11.15 MB / 310.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008846/0.1715, allocations: 3.973 MB / 314.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.174, allocations: 74.19 kB / 314.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.1783, allocations: 2.912 MB / 317.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005305/0.1836, allocations: 2.016 MB / 319.2 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.1854, allocations: 0.7677 MB / 320 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004705/0.1901, allocations: 4.136 MB / 324.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/0.1931, allocations: 3.352 MB / 327.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003661/0.1967, allocations: 2.448 MB / 329.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003026/0.1998, allocations: 2.159 MB / 332.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007678/0.2005, allocations: 344 kB / 332.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.2023, allocations: 1.006 MB / 333.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001951/0.2042, allocations: 2.077 MB / 335.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.2061, allocations: 1.308 MB / 336.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005737/0.2119, allocations: 4.588 MB / 341.4 MB, free: 3.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.2119, allocations: 4 kB / 341.4 MB, free: 3.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2119, allocations: 0 / 341.4 MB, free: 3.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002074/0.2121, allocations: 0 / 341.4 MB, free: 3.785 MB / 298.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.008143/0.2202, allocations: 4.705 MB / 346.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.2203, allocations: 12.03 kB / 346.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/0.2233, allocations: 1.098 MB / 347.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.2264, allocations: 1.767 MB / 349 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.2265, allocations: 246.2 kB / 349.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004046/0.2269, allocations: 319.8 kB / 349.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007165/0.2341, allocations: 4.847 MB / 354.4 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.2342, allocations: 43.62 kB / 354.4 MB, free: 5.984 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002959/0.2345, allocations: 147.9 kB / 354.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001852/0.2363, allocations: 1.686 MB / 356.2 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005755/0.2421, allocations: 2.393 MB / 358.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/0.2715, allocations: 29.87 MB / 388.5 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.2741, allocations: 1.172 MB / 389.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.2746, allocations: 289.3 kB / 389.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00532/0.2799, allocations: 2.99 MB / 392.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.2799, allocations: 51 kB / 393 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=116): time 4.118e-06/0.2799, allocations: 0 / 393 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.006387/0.2863, allocations: 2.72 MB / 395.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.2864, allocations: 145.1 kB / 395.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/0.2895, allocations: 3.177 MB / 399 MB, free: 8.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.2896, allocations: 41.7 kB / 399.1 MB, free: 8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/0.2912, allocations: 3.168 MB / 402.2 MB, free: 4.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.2916, allocations: 0.5041 MB / 402.7 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009147/0.2925, allocations: 1.1 MB / 403.8 MB, free: 3.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.2926, allocations: 313.1 kB / 404.1 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009878/0.2936, allocations: 0.6597 MB / 404.8 MB, free: 2.199 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.2965, allocations: 4.373 MB / 409.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004711/0.3012, allocations: 5.582 MB / 414.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/0.3014, allocations: 44 kB / 414.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.006583/0.3079, allocations: 3.94 MB / 418.7 MB, free: 380 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.308, allocations: 67.94 kB / 418.8 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/0.3082, allocations: 148.8 kB / 419 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/0.3086, allocations: 223.7 kB / 419.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.3117, allocations: 1.31 MB / 420.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.3129, allocations: 1.525 MB / 422 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/0.3163, allocations: 259.7 kB / 422.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004474/0.3167, allocations: 324 kB / 422.6 MB, free: 12.43 MB / 394.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.001497/0.3182, allocations: 0.5989 MB / 423.2 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007965/0.319, allocations: 191.7 kB / 423.4 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3201, allocations: 0.6005 MB / 424 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/0.3201, allocations: 12 kB / 424 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3201, allocations: 0 / 424 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.3201, allocations: 15.95 kB / 424 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/0.3259, allocations: 3.134 MB / 427.1 MB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.3259, allocations: 8.031 kB / 427.1 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.3266, allocations: 171.8 kB / 427.3 MB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.3267, allocations: 51.58 kB / 427.4 MB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.3268, allocations: 23.98 kB / 427.4 MB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.328, allocations: 1.435 MB / 428.8 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.328, allocations: 4 kB / 428.8 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3298, allocations: 1.345 MB / 430.2 MB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.3309, allocations: 365.7 kB / 430.5 MB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/0.3312, allocations: 23.98 kB / 430.5 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.332, allocations: 24 kB / 430.6 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.3321, allocations: 68.31 kB / 430.6 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.3322, allocations: 23.98 kB / 430.7 MB, free: 4.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001536/0.3337, allocations: 1.155 MB / 431.8 MB, free: 2.953 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3337, allocations: 0 / 431.8 MB, free: 2.953 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004289/0.338, allocations: 0.91 MB / 432.7 MB, free: 2.043 MB / 394.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.0004144/0.3384, allocations: 152.1 kB / 432.9 MB, free: 1.887 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003614/0.342, allocations: 2.264 MB / 435.1 MB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002245/0.3422, allocations: 100.2 kB / 435.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005585/0.3428, allocations: 392.4 kB / 435.6 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.3454, allocations: 0.5574 MB / 436.2 MB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.3579, allocations: 6.978 MB / 443.1 MB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.3594, allocations: 1.19 MB / 444.3 MB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001609/0.361, allocations: 473.7 kB / 444.8 MB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.3621, allocations: 0.4973 MB / 445.3 MB, free: 5.305 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3621, allocations: 0 / 445.3 MB, free: 5.305 MB / 410.7 MB Notification: Performance of Templates: time 0.1906/0.5528, allocations: 24 MB / 469.3 MB, free: 136 MB / 426.7 MB " [Timeout remaining time 659] 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 -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: 4.226550736930221]