Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001383/0.001383, allocations: 118 kB / 18.45 MB, free: 4.594 MB / 14.72 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.001448/0.001448, allocations: 211.4 kB / 21.41 MB, free: 1.645 MB / 14.72 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 1.439/1.439, allocations: 227.4 MB / 251.6 MB, free: 52 kB / 190.1 MB " [Timeout remaining time 178] 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.2404/0.2404, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 81.84 kB / 490.2 MB, free: 27.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1239, allocations: 62.45 MB / 0.5397 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01511/0.139, allocations: 13.03 MB / 0.5524 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1494, allocations: 4.279 MB / 0.5566 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.1517, allocations: 75.81 kB / 0.5567 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007154/0.1589, allocations: 3.719 MB / 0.5603 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005868/0.1648, allocations: 1.964 MB / 0.5622 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.1671, allocations: 0.8149 MB / 0.563 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006407/0.1735, allocations: 4.218 MB / 0.5671 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005856/0.1794, allocations: 4.844 MB / 0.5719 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.1823, allocations: 1.85 MB / 0.5737 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/0.1858, allocations: 2.469 MB / 0.5761 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008122/0.1866, allocations: 412 kB / 0.5765 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.1887, allocations: 1.128 MB / 0.5776 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.1907, allocations: 2.186 MB / 0.5797 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00295/0.1937, allocations: 2.594 MB / 0.5822 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.2044, allocations: 8.112 MB / 0.5902 GB, free: 292 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2045, allocations: 4 kB / 0.5902 GB, free: 288 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2045, allocations: 0 / 0.5902 GB, free: 288 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002746/0.2048, allocations: 0 / 0.5902 GB, free: 288 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.0211/0.2259, allocations: 6.347 MB / 0.5964 GB, free: 9.852 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.2259, allocations: 16.03 kB / 0.5964 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007182/0.2331, allocations: 1.998 MB / 0.5983 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005678/0.2388, allocations: 2.692 MB / 0.601 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.2391, allocations: 299.5 kB / 0.6012 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009739/0.2401, allocations: 391.8 kB / 0.6016 GB, free: 4.406 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.339/0.5792, allocations: 12.19 MB / 0.6135 GB, free: 52.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000259/0.5795, allocations: 47.06 kB / 0.6136 GB, free: 52.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001049/0.5805, allocations: 184.8 kB / 0.6137 GB, free: 52.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004976/0.5855, allocations: 2.193 MB / 0.6159 GB, free: 51.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03194/0.6175, allocations: 11.2 MB / 0.6268 GB, free: 48.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0515/0.669, allocations: 45.97 MB / 0.6717 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01624/0.6853, allocations: 5.485 MB / 0.6771 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/0.6896, allocations: 3.44 MB / 0.6804 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.6909, allocations: 0.6879 MB / 0.6811 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.6909, allocations: 63.8 kB / 0.6812 GB, free: 13.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=203): time 4.268e-06/0.691, allocations: 0 / 0.6812 GB, free: 13.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=234): time 0.09872/0.7897, allocations: 27.56 MB / 0.7081 GB, free: 1.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.7898, allocations: 150.5 kB / 0.7082 GB, free: 1.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007376/0.7972, allocations: 4.411 MB / 0.7125 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007987/0.7981, allocations: 59.66 kB / 0.7126 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003449/0.8015, allocations: 3.522 MB / 0.716 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001851/0.8034, allocations: 0.9147 MB / 0.7169 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002331/0.8057, allocations: 1.427 MB / 0.7183 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8059, allocations: 305.1 kB / 0.7186 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005094/0.811, allocations: 3.28 MB / 0.7218 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008802/0.8198, allocations: 7.086 MB / 0.7287 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/0.8359, allocations: 11.16 MB / 0.7396 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/0.8361, allocations: 36 kB / 0.7397 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02374/0.8598, allocations: 11.33 MB / 0.7507 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.8601, allocations: 64 kB / 0.7508 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002928/0.8604, allocations: 132 kB / 0.7509 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003226/0.8637, allocations: 1.114 MB / 0.752 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006902/0.8706, allocations: 1.688 MB / 0.7537 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009425/0.88, allocations: 6.347 MB / 0.7599 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005624/0.8857, allocations: 395.7 kB / 0.7602 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/0.8871, allocations: 443.8 kB / 0.7607 GB, free: 7.773 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (816): * Single equations (assignments): 812 * 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.005399/0.8925, allocations: 2.31 MB / 0.7629 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/0.8938, allocations: 413.2 kB / 0.7633 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.9064, allocations: 6.187 MB / 0.7693 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-05/0.9066, allocations: 28 kB / 0.7694 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.302e-05/0.9066, allocations: 8 kB / 0.7694 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.196e-05/0.9067, allocations: 7.969 kB / 0.7694 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02829/0.935, allocations: 12.9 MB / 0.782 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/0.935, allocations: 8.031 kB / 0.782 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/0.9382, allocations: 0.546 MB / 0.7825 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/0.9411, allocations: 0.9488 MB / 0.7834 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005868/0.9417, allocations: 87.89 kB / 0.7835 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008785/0.9505, allocations: 6.088 MB / 0.7895 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.9506, allocations: 7.938 kB / 0.7895 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/0.9692, allocations: 10.5 MB / 0.7997 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/0.9718, allocations: 0.9058 MB / 0.8006 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/0.9732, allocations: 43.98 kB / 0.8007 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/0.9764, allocations: 167.8 kB / 0.8008 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008882/0.9773, allocations: 185.6 kB / 0.801 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005728/0.9779, allocations: 103.9 kB / 0.8011 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007613/0.9855, allocations: 2.769 MB / 0.8038 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9855, allocations: 0 / 0.8038 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008014/0.9936, allocations: 1.18 MB / 0.805 GB, free: 9.98 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.001233/0.9948, allocations: 190.7 kB / 0.8051 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0155/1.01, allocations: 7.741 MB / 0.8127 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.01, allocations: 192 / 0.8127 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005515/1.016, allocations: 3.032 MB / 0.8157 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004471/1.02, allocations: 0.4977 MB / 0.8161 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03795/1.058, allocations: 11.97 MB / 0.8278 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009875/1.068, allocations: 3.622 MB / 0.8314 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00812/1.077, allocations: 2.259 MB / 0.8336 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/1.078, allocations: 415.1 kB / 0.834 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/1.078, allocations: 0 / 0.834 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of Templates: time 0.4024/1.481, allocations: 52.6 MB / 0.8853 GB, free: 195.7 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.785676148720086]