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.0009826/0.0009826, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001103/0.001103, allocations: 166 kB / 24.82 MB, free: 9.309 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2753/0.2753, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.483e-06/1.483e-06, allocations: 0 / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.995e-05, allocations: 2.312 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.009565/0.009585, allocations: 10.47 MB / 387 MB, free: 9.887 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006781/0.01637, allocations: 3.726 MB / 390.7 MB, free: 6.148 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.01777, allocations: 75.62 kB / 390.8 MB, free: 6.074 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.02107, allocations: 2.834 MB / 393.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.02428, allocations: 1.866 MB / 395.5 MB, free: 1.355 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.02549, allocations: 0.7717 MB / 396.2 MB, free: 0.582 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003967/0.02946, allocations: 3.975 MB / 400.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.03212, allocations: 3.163 MB / 403.4 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.03457, allocations: 2.315 MB / 405.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/0.03719, allocations: 2.1 MB / 407.8 MB, free: 4.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004936/0.03768, allocations: 323.9 kB / 408.1 MB, free: 4.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.0391, allocations: 0.9907 MB / 409.1 MB, free: 3.637 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.04052, allocations: 1.925 MB / 411 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.04175, allocations: 1.207 MB / 412.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00481/0.04656, allocations: 4.258 MB / 416.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.04657, allocations: 8 kB / 416.5 MB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.04657, allocations: 0 / 416.5 MB, free: 12.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000151/0.04672, allocations: 0 / 416.5 MB, free: 12.21 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.007202/0.05392, allocations: 5.272 MB / 421.8 MB, free: 6.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.05397, allocations: 11.97 kB / 421.8 MB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/0.05696, allocations: 1.418 MB / 423.2 MB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.05919, allocations: 1.817 MB / 425 MB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.05931, allocations: 225.9 kB / 425.2 MB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/0.05965, allocations: 299.8 kB / 425.5 MB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005711/0.06536, allocations: 5.083 MB / 430.6 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.476e-05/0.06544, allocations: 39.64 kB / 430.6 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.06568, allocations: 143.9 kB / 430.8 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/0.06691, allocations: 1.513 MB / 432.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/0.07083, allocations: 2.17 MB / 434.5 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1886/0.2594, allocations: 39.59 MB / 474.1 MB, free: 61.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.2617, allocations: 1.062 MB / 475.1 MB, free: 61.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.262, allocations: 309.5 kB / 475.4 MB, free: 61.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003687/0.2657, allocations: 2.927 MB / 478.3 MB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.2658, allocations: 49.22 kB / 478.4 MB, free: 60.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.899e-06/0.2658, allocations: 2.969 kB / 478.4 MB, free: 60.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.006154/0.2719, allocations: 2.727 MB / 481.1 MB, free: 59.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.272, allocations: 141.3 kB / 481.3 MB, free: 59.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.2747, allocations: 3.466 MB / 484.7 MB, free: 58.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.2748, allocations: 44.06 kB / 484.8 MB, free: 58.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.276, allocations: 3.376 MB / 488.1 MB, free: 56.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.2763, allocations: 467.8 kB / 488.6 MB, free: 56.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009551/0.2773, allocations: 1.224 MB / 489.8 MB, free: 55.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.2774, allocations: 479.9 kB / 490.3 MB, free: 54.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/0.278, allocations: 452.9 kB / 490.7 MB, free: 54.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/0.2809, allocations: 5.984 MB / 496.7 MB, free: 47.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00444/0.2854, allocations: 7.061 MB / 0.492 GB, free: 39.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-05/0.2855, allocations: 45.81 kB / 0.492 GB, free: 39.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.0058/0.2913, allocations: 4.415 MB / 0.4963 GB, free: 37.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.2914, allocations: 65.22 kB / 0.4964 GB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/0.2915, allocations: 136 kB / 0.4965 GB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004633/0.292, allocations: 218 kB / 0.4967 GB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/0.2949, allocations: 1.24 MB / 0.4979 GB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.2961, allocations: 2.033 MB / 0.4999 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/0.2993, allocations: 256 kB / 0.5002 GB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004517/0.2998, allocations: 308.3 kB / 0.5005 GB, free: 35.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (685): * Single equations (assignments): 681 * 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.001198/0.301, allocations: 0.6374 MB / 0.5011 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/0.3015, allocations: 320.7 kB / 0.5014 GB, free: 34.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008366/0.3023, allocations: 0.5386 MB / 0.5019 GB, free: 34.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.3023, allocations: 11.91 kB / 0.5019 GB, free: 34.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3023, allocations: 1.312 kB / 0.5019 GB, free: 34.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3023, allocations: 8.375 kB / 0.5019 GB, free: 34.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/0.3081, allocations: 3.412 MB / 0.5053 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3082, allocations: 4.969 kB / 0.5053 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.3087, allocations: 153.3 kB / 0.5054 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/0.3088, allocations: 44.94 kB / 0.5055 GB, free: 32.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.3089, allocations: 15.22 kB / 0.5055 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008245/0.3097, allocations: 1.797 MB / 0.5072 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3097, allocations: 2.594 kB / 0.5072 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.3115, allocations: 1.458 MB / 0.5087 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.312, allocations: 286.2 kB / 0.5089 GB, free: 29.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.3122, allocations: 13.41 kB / 0.5089 GB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/0.3128, allocations: 24.97 kB / 0.509 GB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.313, allocations: 66.3 kB / 0.509 GB, free: 29.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.313, allocations: 21.19 kB / 0.5091 GB, free: 29.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001602/0.3146, allocations: 1.372 MB / 0.5104 GB, free: 29.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3146, allocations: 0 / 0.5104 GB, free: 29.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004506/0.3191, allocations: 0.8314 MB / 0.5112 GB, free: 29.21 MB / 410.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 (74): * Single equations (assignments): 70 * 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.0003454/0.3195, allocations: 164 kB / 0.5114 GB, free: 29.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.3231, allocations: 2.338 MB / 0.5136 GB, free: 28.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3231, allocations: 0 / 0.5136 GB, free: 28.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.3237, allocations: 414.1 kB / 0.514 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.3255, allocations: 367.6 kB / 0.5144 GB, free: 27.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02502/0.3505, allocations: 6.501 MB / 0.5207 GB, free: 24.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.3519, allocations: 1.121 MB / 0.5218 GB, free: 24.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01083/0.3627, allocations: 446.1 kB / 0.5223 GB, free: 23.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007871/0.3635, allocations: 0.5133 MB / 0.5228 GB, free: 23.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.304e-06/0.3635, allocations: 0 / 0.5228 GB, free: 23.89 MB / 410.7 MB Notification: Performance of Templates: time 0.06491/0.4284, allocations: 22.45 MB / 0.5447 GB, free: 5.883 MB / 410.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.4904587008059025]