Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00206/0.00206, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002506/0.002506, allocations: 165.3 kB / 24.26 MB, free: 148 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.48/1.48, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3281/0.3281, allocations: 32.79 MB / 293.9 MB, free: 1.219 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.76e-05, allocations: 6.25 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01377/0.0138, allocations: 9.741 MB / 385 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008277/0.02207, allocations: 3.64 MB / 388.6 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.02362, allocations: 71.69 kB / 388.7 MB, free: 7.469 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006173/0.02979, allocations: 2.788 MB / 391.5 MB, free: 4.672 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.03505, allocations: 1.874 MB / 393.4 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.03723, allocations: 0.7601 MB / 394.1 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006322/0.04356, allocations: 3.976 MB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00536/0.04892, allocations: 3.147 MB / 401.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004977/0.05389, allocations: 2.226 MB / 403.5 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004037/0.05793, allocations: 2.096 MB / 405.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.05909, allocations: 328 kB / 405.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.06159, allocations: 1.026 MB / 406.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002587/0.06418, allocations: 1.928 MB / 408.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.06641, allocations: 1.207 MB / 410.1 MB, free: 2.004 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008617/0.07503, allocations: 6.736 MB / 416.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.07503, allocations: 0 / 416.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.07503, allocations: 0 / 416.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001185/0.07515, allocations: 0 / 416.8 MB, free: 11.24 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.01782/0.09298, allocations: 5.269 MB / 422.1 MB, free: 5.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.09303, allocations: 12.03 kB / 422.1 MB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008027/0.1011, allocations: 2.393 MB / 424.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005094/0.1061, allocations: 2.208 MB / 426.7 MB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.1064, allocations: 233.9 kB / 426.9 MB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007645/0.1072, allocations: 311.8 kB / 427.2 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02147/0.1286, allocations: 10.13 MB / 437.4 MB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.1288, allocations: 47.64 kB / 437.4 MB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007915/0.1296, allocations: 143.9 kB / 437.5 MB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003817/0.1334, allocations: 1.806 MB / 439.3 MB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1648/0.2982, allocations: 9.092 MB / 448.4 MB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04727/0.3455, allocations: 34.59 MB / 483 MB, free: 72.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/0.364, allocations: 3.361 MB / 486.4 MB, free: 71.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003828/0.3678, allocations: 1.605 MB / 488 MB, free: 70.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.369, allocations: 225.1 kB / 488.2 MB, free: 70.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/0.369, allocations: 56.11 kB / 488.3 MB, free: 70.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 8.456e-06/0.369, allocations: 0 / 488.3 MB, free: 70.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.05067/0.4197, allocations: 13.6 MB / 0.4901 GB, free: 66.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4198, allocations: 151.1 kB / 0.4902 GB, free: 66.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006099/0.4259, allocations: 3.719 MB / 0.4939 GB, free: 64.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.4262, allocations: 41.7 kB / 0.4939 GB, free: 64.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002/0.4282, allocations: 3.076 MB / 0.4969 GB, free: 61.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008694/0.429, allocations: 0.5659 MB / 0.4975 GB, free: 61.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00238/0.4314, allocations: 1.14 MB / 0.4986 GB, free: 59.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.4315, allocations: 301.1 kB / 0.4989 GB, free: 59.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.4345, allocations: 1.932 MB / 0.5008 GB, free: 58.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004495/0.439, allocations: 5.502 MB / 0.5061 GB, free: 51.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006865/0.4459, allocations: 8.054 MB / 0.514 GB, free: 41.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/0.446, allocations: 40 kB / 0.514 GB, free: 41.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01347/0.4595, allocations: 8.203 MB / 0.522 GB, free: 34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.4596, allocations: 60 kB / 0.5221 GB, free: 33.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/0.4598, allocations: 127.9 kB / 0.5222 GB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/0.4623, allocations: 0.9213 MB / 0.5231 GB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004181/0.4665, allocations: 1.294 MB / 0.5244 GB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.4724, allocations: 5.024 MB / 0.5293 GB, free: 26.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/0.4778, allocations: 335.7 kB / 0.5296 GB, free: 26.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001471/0.4793, allocations: 367.5 kB / 0.53 GB, free: 25.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.004478/0.4838, allocations: 1.967 MB / 0.5319 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/0.4851, allocations: 345.9 kB / 0.5322 GB, free: 23.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005331/0.4904, allocations: 2.731 MB / 0.5349 GB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/0.4905, allocations: 19.98 kB / 0.5349 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.4905, allocations: 4 kB / 0.5349 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.4905, allocations: 3.984 kB / 0.5349 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.5031, allocations: 6.206 MB / 0.541 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.5031, allocations: 0.625 kB / 0.541 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.5043, allocations: 255.6 kB / 0.5412 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/0.5064, allocations: 0.7354 MB / 0.5419 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/0.5065, allocations: 35.97 kB / 0.542 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/0.5116, allocations: 4.643 MB / 0.5465 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5116, allocations: 0 / 0.5465 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007189/0.5188, allocations: 5.124 MB / 0.5515 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.5199, allocations: 301.8 kB / 0.5518 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008289/0.5207, allocations: 24 kB / 0.5518 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.5226, allocations: 111.8 kB / 0.5519 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.5229, allocations: 100.4 kB / 0.552 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.5231, allocations: 51.97 kB / 0.5521 GB, free: 2.957 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003821/0.5269, allocations: 2.159 MB / 0.5542 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5269, allocations: 0 / 0.5542 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005622/0.5325, allocations: 0.9375 MB / 0.5551 GB, free: 15.86 MB / 426.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.0006203/0.5331, allocations: 174.4 kB / 0.5553 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009188/0.5423, allocations: 4.462 MB / 0.5596 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.5423, allocations: 0 / 0.5596 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002379/0.5447, allocations: 1.279 MB / 0.5609 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/0.548, allocations: 397.5 kB / 0.5612 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/0.5673, allocations: 8.541 MB / 0.5696 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004094/0.5714, allocations: 2.523 MB / 0.5721 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004589/0.5759, allocations: 1.725 MB / 0.5737 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008292/0.5768, allocations: 252.4 kB / 0.574 GB, free: 12.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5768, allocations: 0 / 0.574 GB, free: 12.45 MB / 442.7 MB Notification: Performance of Templates: time 0.2432/0.82, allocations: 29.49 MB / 0.6028 GB, free: 130.9 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.89693290006835]