Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009918/0.0009918, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009691/0.0009691, allocations: 166.2 kB / 24.99 MB, free: 8.793 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2689/0.2689, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.065e-05, allocations: 9.906 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.009475/0.009496, allocations: 10.73 MB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006139/0.01563, allocations: 3.749 MB / 390.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009385/0.01657, allocations: 75.69 kB / 390.6 MB, free: 6.375 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.01978, allocations: 2.877 MB / 393.4 MB, free: 3.488 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.02236, allocations: 1.859 MB / 395.3 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.02331, allocations: 0.7601 MB / 396.1 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003122/0.02643, allocations: 3.975 MB / 400 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.02876, allocations: 3.163 MB / 403.2 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.03057, allocations: 2.23 MB / 405.4 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.03257, allocations: 2.19 MB / 407.6 MB, free: 5.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000288/0.03286, allocations: 328 kB / 407.9 MB, free: 4.898 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.03395, allocations: 0.9985 MB / 408.9 MB, free: 3.898 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.03508, allocations: 1.94 MB / 410.9 MB, free: 1.953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009696/0.03605, allocations: 1.219 MB / 412.1 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003638/0.03968, allocations: 4.297 MB / 416.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.03969, allocations: 0 / 416.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03969, allocations: 0 / 416.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.438e-05/0.03972, allocations: 0 / 416.4 MB, free: 12.42 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.009009/0.04873, allocations: 5.636 MB / 422 MB, free: 6.723 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.04878, allocations: 12.03 kB / 422 MB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.05297, allocations: 2.323 MB / 424.4 MB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.05537, allocations: 2.035 MB / 426.4 MB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.05548, allocations: 233.9 kB / 426.6 MB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003654/0.05585, allocations: 299.8 kB / 426.9 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007772/0.06362, allocations: 6.001 MB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-05/0.06369, allocations: 35.7 kB / 432.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.06397, allocations: 147.9 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002016/0.06599, allocations: 1.802 MB / 434.9 MB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006824/0.07281, allocations: 3.331 MB / 438.2 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1825/0.2554, allocations: 40.36 MB / 478.6 MB, free: 65.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006184/0.2615, allocations: 1.932 MB / 480.5 MB, free: 65.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006523/0.2622, allocations: 0.4951 MB / 481 MB, free: 65.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003752/0.2626, allocations: 233.9 kB / 481.2 MB, free: 64.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.2626, allocations: 53.08 kB / 481.3 MB, free: 64.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.637e-06/0.2626, allocations: 3.469 kB / 481.3 MB, free: 64.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.02087/0.2835, allocations: 9.61 MB / 490.9 MB, free: 61.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.2835, allocations: 145.3 kB / 491 MB, free: 61.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/0.2866, allocations: 3.353 MB / 494.4 MB, free: 60.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.2867, allocations: 48.05 kB / 494.4 MB, free: 60.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.2878, allocations: 3.251 MB / 497.7 MB, free: 57.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.2882, allocations: 0.5889 MB / 498.3 MB, free: 57.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009505/0.2891, allocations: 1.238 MB / 499.5 MB, free: 56.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.2892, allocations: 476.8 kB / 500 MB, free: 56.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.2902, allocations: 0.5735 MB / 0.4888 GB, free: 56.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.2928, allocations: 5.868 MB / 0.4946 GB, free: 49.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004515/0.2973, allocations: 7.121 MB / 0.5015 GB, free: 40.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.14e-05/0.2974, allocations: 35.78 kB / 0.5016 GB, free: 40.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.006935/0.3043, allocations: 5.288 MB / 0.5067 GB, free: 39.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.3044, allocations: 58.47 kB / 0.5068 GB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.3045, allocations: 137.5 kB / 0.5069 GB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.3057, allocations: 0.6125 MB / 0.5075 GB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.3077, allocations: 1.295 MB / 0.5088 GB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.3102, allocations: 3.2 MB / 0.5119 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.3122, allocations: 333 kB / 0.5122 GB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.3124, allocations: 356.7 kB / 0.5125 GB, free: 36.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (681): * Single equations (assignments): 677 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008986/0.3133, allocations: 0.6253 MB / 0.5132 GB, free: 35.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.3136, allocations: 347.5 kB / 0.5135 GB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.3157, allocations: 1.411 MB / 0.5149 GB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.3158, allocations: 13.25 kB / 0.5149 GB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3158, allocations: 5.141 kB / 0.5149 GB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3158, allocations: 5.203 kB / 0.5149 GB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/0.3219, allocations: 4.792 MB / 0.5196 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3219, allocations: 0.7031 kB / 0.5196 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.3226, allocations: 248.4 kB / 0.5198 GB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.3237, allocations: 432.9 kB / 0.5202 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/0.3238, allocations: 42.67 kB / 0.5203 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.3261, allocations: 2.928 MB / 0.5231 GB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3261, allocations: 11.97 kB / 0.5231 GB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.3289, allocations: 2.405 MB / 0.5255 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.3292, allocations: 293.3 kB / 0.5258 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.3294, allocations: 31.84 kB / 0.5258 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.33, allocations: 105 kB / 0.5259 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.3302, allocations: 99.67 kB / 0.526 GB, free: 27.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.3303, allocations: 52.62 kB / 0.526 GB, free: 27.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00134/0.3316, allocations: 1.433 MB / 0.5274 GB, free: 26.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3316, allocations: 0 / 0.5274 GB, free: 26.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002902/0.3345, allocations: 0.9409 MB / 0.5284 GB, free: 25.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (104): * Single equations (assignments): 100 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003214/0.3348, allocations: 183.4 kB / 0.5285 GB, free: 25.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.3379, allocations: 2.735 MB / 0.5312 GB, free: 22.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3379, allocations: 4 kB / 0.5312 GB, free: 22.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006456/0.3386, allocations: 0.6869 MB / 0.5319 GB, free: 22.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.3397, allocations: 385.1 kB / 0.5322 GB, free: 21.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006497/0.3462, allocations: 6.791 MB / 0.5389 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/0.347, allocations: 1.143 MB / 0.54 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00179/0.3488, allocations: 1.516 MB / 0.5415 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.3492, allocations: 252.4 kB / 0.5417 GB, free: 12.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3492, allocations: 4 kB / 0.5417 GB, free: 12.79 MB / 410.7 MB Notification: Performance of Templates: time 0.03959/0.3888, allocations: 29.51 MB / 0.5705 GB, free: 15.73 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.421848906902596]