Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001328/0.001328, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001111/0.001111, allocations: 167.2 kB / 24.99 MB, free: 8.82 MB / 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2847/0.2847, allocations: 34.26 MB / 296 MB, free: 0.6719 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_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.1.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.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.582e-05, allocations: 5.969 kB / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.009906/0.009921, allocations: 12.62 MB / 390.7 MB, free: 6.266 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007502/0.01742, allocations: 4.221 MB / 394.9 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.01899, allocations: 99.5 kB / 395 MB, free: 1.934 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004133/0.02312, allocations: 3.976 MB / 399 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.02625, allocations: 2.103 MB / 401.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.02757, allocations: 0.8886 MB / 401.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004172/0.03174, allocations: 4.633 MB / 406.6 MB, free: 6.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.0345, allocations: 4.063 MB / 410.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.03675, allocations: 2.81 MB / 413.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.03879, allocations: 2.619 MB / 416.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003535/0.03914, allocations: 424 kB / 416.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.04031, allocations: 1.081 MB / 417.6 MB, free: 11.22 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.04173, allocations: 2.377 MB / 419.9 MB, free: 8.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.04275, allocations: 1.531 MB / 421.5 MB, free: 7.305 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004067/0.04682, allocations: 5.142 MB / 426.6 MB, free: 2.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.04683, allocations: 0 / 426.6 MB, free: 2.145 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04683, allocations: 0 / 426.6 MB, free: 2.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.765e-05/0.04688, allocations: 0 / 426.6 MB, free: 2.145 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.01012/0.05699, allocations: 6.81 MB / 433.4 MB, free: 11.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.05704, allocations: 8.031 kB / 433.4 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004471/0.06151, allocations: 2.51 MB / 435.9 MB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.064, allocations: 2.443 MB / 438.4 MB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.06414, allocations: 295.7 kB / 438.7 MB, free: 5.969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000439/0.06458, allocations: 403.7 kB / 439.1 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1599/0.2245, allocations: 7.263 MB / 446.3 MB, free: 94.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.2247, allocations: 43.61 kB / 446.4 MB, free: 94.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003584/0.225, allocations: 188.8 kB / 446.6 MB, free: 94.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.2271, allocations: 2.19 MB / 448.7 MB, free: 94.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008352/0.2355, allocations: 4.26 MB / 453 MB, free: 94.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/0.2589, allocations: 47.24 MB / 0.4885 GB, free: 57.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008282/0.2672, allocations: 2.833 MB / 0.4913 GB, free: 56.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.2686, allocations: 0.9597 MB / 0.4922 GB, free: 56.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/0.2691, allocations: 248.5 kB / 0.4925 GB, free: 56.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2691, allocations: 62.27 kB / 0.4925 GB, free: 56.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 5.58e-06/0.2691, allocations: 0 / 0.4925 GB, free: 56.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.03713/0.3062, allocations: 17.34 MB / 0.5095 GB, free: 49.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.3063, allocations: 150.5 kB / 0.5096 GB, free: 49.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.3096, allocations: 3.603 MB / 0.5131 GB, free: 46.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.3097, allocations: 61.7 kB / 0.5132 GB, free: 46.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.3111, allocations: 3.687 MB / 0.5168 GB, free: 42.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006226/0.3118, allocations: 0.9549 MB / 0.5177 GB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.313, allocations: 1.537 MB / 0.5192 GB, free: 40.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.3131, allocations: 476.8 kB / 0.5197 GB, free: 39.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.3145, allocations: 0.9145 MB / 0.5206 GB, free: 38.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/0.3173, allocations: 6.565 MB / 0.527 GB, free: 29.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005375/0.3227, allocations: 8.314 MB / 0.5351 GB, free: 18.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.465e-05/0.3228, allocations: 40 kB / 0.5351 GB, free: 18.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.007726/0.3305, allocations: 6.616 MB / 0.5416 GB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.3305, allocations: 68.03 kB / 0.5417 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.877e-05/0.3306, allocations: 132 kB / 0.5418 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.3319, allocations: 0.6647 MB / 0.5424 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/0.3347, allocations: 1.735 MB / 0.5441 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.3376, allocations: 3.337 MB / 0.5474 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/0.3403, allocations: 431.6 kB / 0.5478 GB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003318/0.3407, allocations: 459.8 kB / 0.5482 GB, free: 5.117 MB / 410.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.001301/0.342, allocations: 0.6977 MB / 0.5489 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/0.3425, allocations: 441 kB / 0.5493 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/0.3462, allocations: 2.807 MB / 0.5521 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.3462, allocations: 28 kB / 0.5521 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3463, allocations: 4 kB / 0.5521 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.3463, allocations: 11.95 kB / 0.5521 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.3567, allocations: 7.373 MB / 0.5593 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3567, allocations: 4 kB / 0.5593 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.3581, allocations: 0.5772 MB / 0.5599 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.3593, allocations: 0.5056 MB / 0.5604 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.3594, allocations: 99.89 kB / 0.5605 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.3624, allocations: 3.096 MB / 0.5635 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3624, allocations: 4 kB / 0.5635 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005662/0.3681, allocations: 4.066 MB / 0.5675 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/0.369, allocations: 0.7473 MB / 0.5682 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.3693, allocations: 44 kB / 0.5682 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.3704, allocations: 195.7 kB / 0.5684 GB, free: 176 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/0.3707, allocations: 213.5 kB / 0.5686 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.3709, allocations: 119.3 kB / 0.5687 GB, free: 15.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001578/0.3725, allocations: 1.558 MB / 0.5703 GB, free: 14.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3725, allocations: 0 / 0.5703 GB, free: 14.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003117/0.3756, allocations: 1.238 MB / 0.5715 GB, free: 13.07 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.0004213/0.376, allocations: 201.8 kB / 0.5717 GB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004954/0.381, allocations: 3.867 MB / 0.5754 GB, free: 8.996 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.381, allocations: 0 / 0.5754 GB, free: 8.996 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.3826, allocations: 1.328 MB / 0.5767 GB, free: 7.645 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.384, allocations: 496.6 kB / 0.5772 GB, free: 7.172 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3941, allocations: 9.256 MB / 0.5863 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.3953, allocations: 1.413 MB / 0.5876 GB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0025/0.3978, allocations: 1.853 MB / 0.5894 GB, free: 10.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/0.3987, allocations: 452.1 kB / 0.5899 GB, free: 10.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3987, allocations: 0 / 0.5899 GB, free: 10.05 MB / 458.7 MB Notification: Performance of Templates: time 0.1978/0.5965, allocations: 49.67 MB / 0.6384 GB, free: 120.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9937433649320155]