Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 84.25 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 164.4 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9508/0.9508, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.153/0.153, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 3.984 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.792e-05, allocations: 2.312 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01495/0.01497, allocations: 10.44 MB / 390.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006991/0.02196, allocations: 3.736 MB / 394.2 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008042/0.02276, allocations: 71.69 kB / 394.3 MB, free: 8.414 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.02494, allocations: 2.831 MB / 397.1 MB, free: 5.574 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.02706, allocations: 1.874 MB / 399 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.02785, allocations: 0.7718 MB / 399.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00219/0.03004, allocations: 3.976 MB / 403.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.03224, allocations: 3.167 MB / 406.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.03423, allocations: 2.315 MB / 409.2 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.03599, allocations: 2.108 MB / 411.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003087/0.0363, allocations: 320 kB / 411.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.03745, allocations: 0.9907 MB / 412.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.0385, allocations: 1.928 MB / 414.5 MB, free: 4.023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008787/0.03938, allocations: 1.207 MB / 415.7 MB, free: 2.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.04283, allocations: 4.262 MB / 420 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.04284, allocations: 0 / 420 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.04284, allocations: 0 / 420 MB, free: 14.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.131e-05/0.0429, allocations: 0 / 420 MB, free: 14.53 MB / 346.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.0057/0.0486, allocations: 5.264 MB / 425.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.04863, allocations: 12.03 kB / 425.3 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.05165, allocations: 1.415 MB / 426.7 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.05368, allocations: 1.813 MB / 428.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.0538, allocations: 233.9 kB / 428.7 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.05413, allocations: 303.8 kB / 429 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005133/0.05926, allocations: 5.075 MB / 434.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.898e-05/0.05933, allocations: 39.62 kB / 434.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.05958, allocations: 147.9 kB / 434.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001312/0.06089, allocations: 1.517 MB / 435.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.06462, allocations: 2.171 MB / 438 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/0.08966, allocations: 39.61 MB / 477.6 MB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.092, allocations: 1.056 MB / 478.7 MB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.09236, allocations: 313.6 kB / 479 MB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003626/0.09598, allocations: 2.921 MB / 481.9 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.09602, allocations: 45.39 kB / 481.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.427e-06/0.09602, allocations: 0 / 481.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.005664/0.1017, allocations: 2.752 MB / 484.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1017, allocations: 144.5 kB / 484.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.1043, allocations: 3.445 MB / 488.3 MB, free: 7.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.1044, allocations: 37.7 kB / 488.3 MB, free: 7.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.1059, allocations: 3.388 MB / 491.7 MB, free: 4.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.1062, allocations: 468.8 kB / 492.1 MB, free: 3.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000927/0.1071, allocations: 1.235 MB / 493.4 MB, free: 2.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1072, allocations: 476.8 kB / 493.8 MB, free: 2.051 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.1079, allocations: 446.6 kB / 494.3 MB, free: 1.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1865/0.2944, allocations: 5.98 MB / 0.4885 GB, free: 91.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004876/0.2993, allocations: 7.061 MB / 0.4954 GB, free: 83.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-05/0.2994, allocations: 37.97 kB / 0.4955 GB, free: 83.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.005587/0.3049, allocations: 4.415 MB / 0.4998 GB, free: 83.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/0.305, allocations: 63.06 kB / 0.4998 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.3052, allocations: 140.6 kB / 0.5 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003519/0.3055, allocations: 216.2 kB / 0.5002 GB, free: 83.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.3079, allocations: 1.243 MB / 0.5014 GB, free: 83.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008774/0.3088, allocations: 2.039 MB / 0.5034 GB, free: 81.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.3109, allocations: 252.8 kB / 0.5036 GB, free: 81.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.3112, allocations: 303.3 kB / 0.5039 GB, free: 81.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.001034/0.3122, allocations: 0.638 MB / 0.5045 GB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.3125, allocations: 323.2 kB / 0.5048 GB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.3131, allocations: 0.5368 MB / 0.5054 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.3131, allocations: 14.91 kB / 0.5054 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3132, allocations: 0 / 0.5054 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.3132, allocations: 6.906 kB / 0.5054 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/0.3172, allocations: 3.406 MB / 0.5087 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3172, allocations: 3.875 kB / 0.5087 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.3176, allocations: 148.1 kB / 0.5089 GB, free: 80.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001597/0.3178, allocations: 58.03 kB / 0.5089 GB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.3178, allocations: 17.89 kB / 0.5089 GB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006227/0.3184, allocations: 1.788 MB / 0.5107 GB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3185, allocations: 6.641 kB / 0.5107 GB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3195, allocations: 1.468 MB / 0.5121 GB, free: 78.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.3198, allocations: 277.7 kB / 0.5124 GB, free: 77.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.3199, allocations: 27.28 kB / 0.5124 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.3204, allocations: 19.98 kB / 0.5124 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/0.3205, allocations: 58.19 kB / 0.5125 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.3205, allocations: 27.05 kB / 0.5125 GB, free: 77.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.3216, allocations: 1.371 MB / 0.5138 GB, free: 77.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3216, allocations: 0 / 0.5138 GB, free: 77.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00267/0.3243, allocations: 0.8312 MB / 0.5147 GB, free: 77.26 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.0002909/0.3246, allocations: 163.8 kB / 0.5148 GB, free: 77.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.3273, allocations: 2.32 MB / 0.5171 GB, free: 75.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3273, allocations: 0 / 0.5171 GB, free: 75.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.3276, allocations: 422.8 kB / 0.5175 GB, free: 74.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.3288, allocations: 369.6 kB / 0.5178 GB, free: 74.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007594/0.3364, allocations: 6.504 MB / 0.5242 GB, free: 69.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/0.3373, allocations: 1.117 MB / 0.5253 GB, free: 68.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.3383, allocations: 446.9 kB / 0.5257 GB, free: 68.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/0.3388, allocations: 0.5134 MB / 0.5262 GB, free: 67.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.335e-06/0.3388, allocations: 0 / 0.5262 GB, free: 67.85 MB / 410.7 MB Notification: Performance of Templates: time 0.03453/0.3734, allocations: 22.92 MB / 0.5486 GB, free: 46.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5912686958909035]