Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.0009566/0.0009566, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009193/0.0009193, allocations: 161 kB / 24.56 MB, free: 20 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 0.9634/0.9634, allocations: 177.1 MB / 205 MB, free: 5.297 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.2377/0.2377, allocations: 32.81 MB / 294.3 MB, free: 1.246 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_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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.703e-05, allocations: 6.25 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01508/0.01511, allocations: 12.68 MB / 388.7 MB, free: 7.945 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007947/0.02305, allocations: 4.228 MB / 392.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.02486, allocations: 95.56 kB / 393 MB, free: 3.609 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004261/0.02912, allocations: 3.987 MB / 397 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.03339, allocations: 2.107 MB / 399.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.03494, allocations: 0.8886 MB / 400 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004761/0.0397, allocations: 4.637 MB / 404.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004018/0.04372, allocations: 4.07 MB / 408.7 MB, free: 3.812 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/0.04733, allocations: 2.807 MB / 411.5 MB, free: 1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/0.05042, allocations: 2.619 MB / 414.1 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000713/0.05114, allocations: 420 kB / 414.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.05283, allocations: 1.092 MB / 415.6 MB, free: 12.87 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.05444, allocations: 2.365 MB / 418 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.05627, allocations: 1.534 MB / 419.5 MB, free: 8.961 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.06239, allocations: 5.142 MB / 424.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.0624, allocations: 0 / 424.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.0624, allocations: 0 / 424.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002459/0.06265, allocations: 4 kB / 424.7 MB, free: 3.797 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01254/0.07519, allocations: 6.81 MB / 431.5 MB, free: 12.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.07523, allocations: 8.031 kB / 431.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/0.07971, allocations: 2.506 MB / 434 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.08344, allocations: 2.443 MB / 436.5 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.0836, allocations: 295.6 kB / 436.7 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/0.08413, allocations: 391.8 kB / 437.1 MB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1805/0.2647, allocations: 7.27 MB / 444.4 MB, free: 75.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/0.2649, allocations: 48.61 kB / 444.4 MB, free: 75.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005378/0.2654, allocations: 182.8 kB / 444.6 MB, free: 75.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/0.2678, allocations: 2.192 MB / 446.8 MB, free: 75.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.2784, allocations: 4.257 MB / 451.1 MB, free: 75.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03411/0.3125, allocations: 47.26 MB / 498.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008293/0.3208, allocations: 2.829 MB / 0.4894 GB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.3224, allocations: 0.9511 MB / 0.4903 GB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/0.3228, allocations: 243.9 kB / 0.4906 GB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.3229, allocations: 61.7 kB / 0.4906 GB, free: 40.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 4.198e-06/0.3229, allocations: 0 / 0.4906 GB, free: 40.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.03746/0.3603, allocations: 17.34 MB / 0.5076 GB, free: 35.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3604, allocations: 158.9 kB / 0.5077 GB, free: 35.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/0.3638, allocations: 3.605 MB / 0.5112 GB, free: 34.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002862/0.3641, allocations: 67.3 kB / 0.5113 GB, free: 34.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.3655, allocations: 3.687 MB / 0.5149 GB, free: 31.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00075/0.3663, allocations: 0.9573 MB / 0.5158 GB, free: 30.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/0.3677, allocations: 1.531 MB / 0.5173 GB, free: 29.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.216e-05/0.3677, allocations: 476.8 kB / 0.5178 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.3692, allocations: 0.9153 MB / 0.5187 GB, free: 28.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/0.3722, allocations: 6.561 MB / 0.5251 GB, free: 19.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005551/0.3777, allocations: 8.298 MB / 0.5332 GB, free: 9.562 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.177e-05/0.3778, allocations: 40 kB / 0.5332 GB, free: 9.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.008655/0.3864, allocations: 6.639 MB / 0.5397 GB, free: 3.465 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.3865, allocations: 60 kB / 0.5398 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.972e-05/0.3866, allocations: 139.9 kB / 0.5399 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.3879, allocations: 0.6702 MB / 0.5406 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/0.3909, allocations: 1.723 MB / 0.5422 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.3943, allocations: 3.341 MB / 0.5455 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.3976, allocations: 435.6 kB / 0.5459 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005093/0.3981, allocations: 455.8 kB / 0.5463 GB, free: 12.55 MB / 426.7 MB 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.001746/0.3999, allocations: 0.6976 MB / 0.547 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007914/0.4007, allocations: 439.8 kB / 0.5474 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/0.405, allocations: 2.809 MB / 0.5502 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/0.405, allocations: 28 kB / 0.5502 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.405, allocations: 4 kB / 0.5502 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4051, allocations: 7.969 kB / 0.5502 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.4168, allocations: 7.37 MB / 0.5574 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.4168, allocations: 4 kB / 0.5574 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.4183, allocations: 0.5772 MB / 0.558 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.4196, allocations: 0.4997 MB / 0.5585 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.4198, allocations: 99.89 kB / 0.5586 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/0.4229, allocations: 3.092 MB / 0.5616 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4229, allocations: 7.938 kB / 0.5616 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006085/0.429, allocations: 4.066 MB / 0.5656 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/0.431, allocations: 0.7512 MB / 0.5663 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000407/0.4314, allocations: 44 kB / 0.5664 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.4326, allocations: 202.1 kB / 0.5665 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/0.4329, allocations: 209.5 kB / 0.5667 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/0.4331, allocations: 122 kB / 0.5669 GB, free: 7.309 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00203/0.4351, allocations: 1.554 MB / 0.5684 GB, free: 5.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4351, allocations: 0 / 0.5684 GB, free: 5.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004014/0.4392, allocations: 1.238 MB / 0.5696 GB, free: 4.531 MB / 442.7 MB 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.0004709/0.4396, allocations: 201.9 kB / 0.5698 GB, free: 4.324 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005899/0.4455, allocations: 3.876 MB / 0.5736 GB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4455, allocations: 4.188 kB / 0.5736 GB, free: 452 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.4473, allocations: 1.319 MB / 0.5749 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.4491, allocations: 0.4926 MB / 0.5753 GB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.4622, allocations: 9.225 MB / 0.5843 GB, free: 5.281 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.4636, allocations: 1.425 MB / 0.5857 GB, free: 3.828 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003311/0.4669, allocations: 1.858 MB / 0.5876 GB, free: 1.965 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.468, allocations: 448.1 kB / 0.588 GB, free: 1.527 MB / 458.7 MB Notification: Performance of SimCode: time 2.294e-06/0.468, allocations: 0 / 0.588 GB, free: 1.527 MB / 458.7 MB Notification: Performance of Templates: time 0.2207/0.6887, allocations: 49.68 MB / 0.6365 GB, free: 123.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",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.979166507720947]