Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001892/0.001892, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001904/0.001904, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3438/0.3438, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.582e-05, allocations: 6.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.02832/0.02836, allocations: 10.67 MB / 388 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.04318, allocations: 3.753 MB / 391.7 MB, free: 4.484 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.04647, allocations: 71.69 kB / 391.8 MB, free: 4.414 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.05801, allocations: 2.87 MB / 394.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009278/0.06729, allocations: 1.866 MB / 396.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.0709, allocations: 0.7639 MB / 397.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01019/0.08109, allocations: 3.978 MB / 401.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007893/0.08898, allocations: 3.159 MB / 404.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007981/0.09696, allocations: 2.237 MB / 406.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007286/0.1042, allocations: 2.182 MB / 408.8 MB, free: 3.254 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.1057, allocations: 328 kB / 409.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.1097, allocations: 0.9985 MB / 410.2 MB, free: 1.934 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004151/0.1139, allocations: 1.94 MB / 412.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003398/0.1173, allocations: 1.211 MB / 413.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.1323, allocations: 6.744 MB / 420.1 MB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.1323, allocations: 3.984 kB / 420.1 MB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1323, allocations: 0 / 420.1 MB, free: 8.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002554/0.1326, allocations: 3.938 kB / 420.1 MB, free: 8 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.03425/0.1668, allocations: 6.045 MB / 426.1 MB, free: 1.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.1669, allocations: 12.03 kB / 426.1 MB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.1817, allocations: 2.323 MB / 428.4 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0098/0.1915, allocations: 2.039 MB / 430.5 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004213/0.1919, allocations: 225.9 kB / 430.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/0.1938, allocations: 311.7 kB / 431 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02181/0.2156, allocations: 6.442 MB / 437.5 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.2157, allocations: 35.7 kB / 437.5 MB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/0.2162, allocations: 151.8 kB / 437.6 MB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003703/0.2199, allocations: 1.806 MB / 439.4 MB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2048/0.4246, allocations: 3.693 MB / 443.1 MB, free: 91.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0412/0.4658, allocations: 43.87 MB / 487 MB, free: 59.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.4774, allocations: 2.042 MB / 489.1 MB, free: 58.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.4787, allocations: 0.5501 MB / 489.6 MB, free: 58.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007371/0.4794, allocations: 230.2 kB / 489.8 MB, free: 58.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4794, allocations: 53.58 kB / 489.9 MB, free: 58.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.829e-06/0.4794, allocations: 3.938 kB / 489.9 MB, free: 58.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.04441/0.5238, allocations: 9.866 MB / 499.8 MB, free: 55.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.5239, allocations: 140.7 kB / 499.9 MB, free: 55.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006121/0.53, allocations: 4.248 MB / 0.4923 GB, free: 53.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003798/0.5304, allocations: 43.86 kB / 0.4924 GB, free: 53.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002211/0.5326, allocations: 3.439 MB / 0.4957 GB, free: 50.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000962/0.5336, allocations: 0.629 MB / 0.4963 GB, free: 50.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/0.5354, allocations: 1.445 MB / 0.4977 GB, free: 49.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.5355, allocations: 482.1 kB / 0.4982 GB, free: 49.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.537, allocations: 0.6496 MB / 0.4988 GB, free: 48.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003405/0.5404, allocations: 6.129 MB / 0.5048 GB, free: 41.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005869/0.5462, allocations: 7.46 MB / 0.5121 GB, free: 33.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.5463, allocations: 39.09 kB / 0.5121 GB, free: 33.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01069/0.557, allocations: 5.438 MB / 0.5175 GB, free: 30.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.5571, allocations: 63.47 kB / 0.5175 GB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.5572, allocations: 127.9 kB / 0.5176 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.5595, allocations: 0.6269 MB / 0.5183 GB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/0.5632, allocations: 1.295 MB / 0.5195 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004384/0.5676, allocations: 3.308 MB / 0.5227 GB, free: 25.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/0.5723, allocations: 334.1 kB / 0.5231 GB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008194/0.5731, allocations: 358.9 kB / 0.5234 GB, free: 24.88 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.00206/0.5752, allocations: 0.7228 MB / 0.5241 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007686/0.576, allocations: 346.4 kB / 0.5244 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/0.5801, allocations: 1.496 MB / 0.5259 GB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.5801, allocations: 16 kB / 0.5259 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.5801, allocations: 4.562 kB / 0.5259 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.5801, allocations: 7.266 kB / 0.5259 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.5917, allocations: 5.757 MB / 0.5316 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.5917, allocations: 96 / 0.5316 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.5928, allocations: 242.6 kB / 0.5318 GB, free: 17.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/0.5947, allocations: 449.1 kB / 0.5322 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.5948, allocations: 35.5 kB / 0.5322 GB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/0.5985, allocations: 3.052 MB / 0.5352 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5985, allocations: 0 / 0.5352 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004966/0.6035, allocations: 2.609 MB / 0.5378 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009982/0.6045, allocations: 293.8 kB / 0.5381 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/0.6049, allocations: 23.83 kB / 0.5381 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.6062, allocations: 107.8 kB / 0.5382 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.6064, allocations: 96.47 kB / 0.5383 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.6065, allocations: 51.97 kB / 0.5383 GB, free: 11.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002287/0.6088, allocations: 1.715 MB / 0.54 GB, free: 9.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6088, allocations: 0 / 0.54 GB, free: 9.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004778/0.6136, allocations: 0.9452 MB / 0.5409 GB, free: 8.824 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.0004024/0.614, allocations: 178.3 kB / 0.5411 GB, free: 8.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005274/0.6193, allocations: 3.073 MB / 0.5441 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6193, allocations: 0 / 0.5441 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.6204, allocations: 0.7611 MB / 0.5448 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.6229, allocations: 384.9 kB / 0.5452 GB, free: 4.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.6351, allocations: 6.891 MB / 0.5519 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003549/0.6387, allocations: 2.277 MB / 0.5542 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003948/0.6426, allocations: 1.526 MB / 0.5556 GB, free: 9.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007815/0.6434, allocations: 248.4 kB / 0.5559 GB, free: 9.395 MB / 426.7 MB Notification: Performance of SimCode: time 2.324e-06/0.6434, allocations: 0 / 0.5559 GB, free: 9.395 MB / 426.7 MB Notification: Performance of Templates: time 0.06702/0.7104, allocations: 29.36 MB / 0.5846 GB, free: 12.48 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.892812084057368]