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.002282/0.002282, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002028/0.002028, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.635/1.635, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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.354/0.354, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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 1.883e-06/1.883e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.028e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01564/0.01567, allocations: 10.68 MB / 387.9 MB, free: 8.164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009/0.02467, allocations: 3.75 MB / 391.6 MB, free: 4.402 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.02632, allocations: 75.69 kB / 391.7 MB, free: 4.328 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006483/0.0328, allocations: 2.87 MB / 394.6 MB, free: 1.449 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006275/0.03907, allocations: 1.866 MB / 396.4 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.04108, allocations: 0.7679 MB / 397.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00627/0.04735, allocations: 3.975 MB / 401.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004553/0.05191, allocations: 3.155 MB / 404.3 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.05599, allocations: 2.237 MB / 406.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004018/0.06001, allocations: 2.186 MB / 408.8 MB, free: 3.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008383/0.06085, allocations: 332 kB / 409.1 MB, free: 2.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.0632, allocations: 0.9946 MB / 410.1 MB, free: 1.848 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.06541, allocations: 1.94 MB / 412 MB, free: 15.9 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.06729, allocations: 1.219 MB / 413.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009307/0.07659, allocations: 6.74 MB / 420 MB, free: 7.918 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.0766, allocations: 0 / 420 MB, free: 7.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.0766, allocations: 4 kB / 420 MB, free: 7.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001498/0.07675, allocations: 4 kB / 420 MB, free: 7.91 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.02199/0.09874, allocations: 6.042 MB / 426 MB, free: 1.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.09878, allocations: 8.031 kB / 426 MB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008283/0.1071, allocations: 2.327 MB / 428.4 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/0.1135, allocations: 2.039 MB / 430.4 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.1138, allocations: 229.9 kB / 430.6 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009147/0.1147, allocations: 311.8 kB / 430.9 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01783/0.1325, allocations: 6.438 MB / 437.4 MB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/0.1327, allocations: 39.64 kB / 437.4 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009693/0.1337, allocations: 147.9 kB / 437.6 MB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003769/0.1374, allocations: 1.806 MB / 439.4 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1941/0.3315, allocations: 3.693 MB / 443.1 MB, free: 91.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04474/0.3763, allocations: 43.87 MB / 486.9 MB, free: 59.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.3881, allocations: 2.041 MB / 489 MB, free: 58.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.3894, allocations: 0.5493 MB / 489.5 MB, free: 58.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007792/0.3901, allocations: 229.5 kB / 489.7 MB, free: 58.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.3902, allocations: 55.92 kB / 489.8 MB, free: 58.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.789e-06/0.3902, allocations: 5.688 kB / 489.8 MB, free: 58.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.04124/0.4314, allocations: 9.863 MB / 499.7 MB, free: 55.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.4315, allocations: 149 kB / 499.8 MB, free: 55.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006095/0.4376, allocations: 4.251 MB / 0.4922 GB, free: 53.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002905/0.4379, allocations: 43.2 kB / 0.4923 GB, free: 53.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001852/0.4397, allocations: 3.443 MB / 0.4957 GB, free: 50.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000644/0.4404, allocations: 0.6269 MB / 0.4963 GB, free: 50.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/0.442, allocations: 1.444 MB / 0.4977 GB, free: 49.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.495e-05/0.4421, allocations: 478.1 kB / 0.4981 GB, free: 49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.4435, allocations: 0.6536 MB / 0.4988 GB, free: 48.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/0.4465, allocations: 6.128 MB / 0.5048 GB, free: 41.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005234/0.4517, allocations: 7.457 MB / 0.512 GB, free: 33.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.584e-05/0.4518, allocations: 36 kB / 0.5121 GB, free: 33.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01012/0.4619, allocations: 5.445 MB / 0.5174 GB, free: 30.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.036e-05/0.462, allocations: 60 kB / 0.5174 GB, free: 30.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.4621, allocations: 132.6 kB / 0.5176 GB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.4644, allocations: 0.6259 MB / 0.5182 GB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/0.4681, allocations: 1.287 MB / 0.5194 GB, free: 28.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/0.4724, allocations: 3.313 MB / 0.5227 GB, free: 25.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/0.4771, allocations: 331.3 kB / 0.523 GB, free: 25.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008442/0.4779, allocations: 363.1 kB / 0.5233 GB, free: 24.79 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.002227/0.4802, allocations: 0.7243 MB / 0.524 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008418/0.481, allocations: 346.5 kB / 0.5244 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.4852, allocations: 1.493 MB / 0.5258 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.4852, allocations: 17.41 kB / 0.5258 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.4852, allocations: 4 kB / 0.5259 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.4853, allocations: 5.578 kB / 0.5259 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.4988, allocations: 5.758 MB / 0.5315 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.4988, allocations: 4.578 kB / 0.5315 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.5, allocations: 241.7 kB / 0.5317 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/0.5019, allocations: 454.1 kB / 0.5321 GB, free: 17.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.5021, allocations: 36.91 kB / 0.5322 GB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/0.5061, allocations: 3.034 MB / 0.5351 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5061, allocations: 4 kB / 0.5352 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.5114, allocations: 2.618 MB / 0.5377 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.5125, allocations: 293.8 kB / 0.538 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007045/0.5132, allocations: 24 kB / 0.538 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.5148, allocations: 103.7 kB / 0.5381 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.5151, allocations: 104.4 kB / 0.5382 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.5152, allocations: 51.97 kB / 0.5383 GB, free: 11.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002918/0.5182, allocations: 1.715 MB / 0.5399 GB, free: 9.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5182, allocations: 0 / 0.5399 GB, free: 9.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005336/0.5235, allocations: 0.9413 MB / 0.5409 GB, free: 8.684 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.0005246/0.524, allocations: 178.3 kB / 0.541 GB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006182/0.5302, allocations: 3.066 MB / 0.544 GB, free: 5.441 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.5302, allocations: 4.25 kB / 0.544 GB, free: 5.438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.5316, allocations: 0.7463 MB / 0.5447 GB, free: 4.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/0.5348, allocations: 397.2 kB / 0.5451 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.5484, allocations: 6.881 MB / 0.5518 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004669/0.5531, allocations: 2.29 MB / 0.5541 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004358/0.5575, allocations: 1.518 MB / 0.5556 GB, free: 9.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.5585, allocations: 252.4 kB / 0.5558 GB, free: 9.262 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5585, allocations: 0 / 0.5558 GB, free: 9.262 MB / 426.7 MB Notification: Performance of Templates: time 0.06822/0.6267, allocations: 29.37 MB / 0.5845 GB, free: 12.36 MB / 458.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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: 6.9735784569056705]