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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 186.8 kB / 22.97 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 251.6 MB, free: 13.29 MB / 206.1 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.2354/0.2354, allocations: 44.91 MB / 351.6 MB, free: 12.2 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001891/0.001891, allocations: 63.89 kB / 495.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4313, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01414/0.4455, allocations: 11.26 MB / 0.5574 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009301/0.4548, allocations: 3.846 MB / 0.5611 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.4575, allocations: 63.81 kB / 0.5612 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005956/0.4634, allocations: 2.745 MB / 0.5639 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007086/0.4705, allocations: 1.852 MB / 0.5657 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.4732, allocations: 0.6901 MB / 0.5664 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008188/0.4814, allocations: 3.586 MB / 0.5699 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004973/0.4863, allocations: 2.612 MB / 0.5724 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.4898, allocations: 1.491 MB / 0.5739 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004312/0.4941, allocations: 2.177 MB / 0.576 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.4954, allocations: 324 kB / 0.5763 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.4983, allocations: 1.1 MB / 0.5774 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002303/0.5006, allocations: 1.897 MB / 0.5792 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.5037, allocations: 2.132 MB / 0.5813 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.5142, allocations: 6.855 MB / 0.588 GB, free: 5.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5142, allocations: 0 / 0.588 GB, free: 5.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5142, allocations: 0 / 0.588 GB, free: 5.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000247/0.5144, allocations: 0 / 0.588 GB, free: 5.023 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01965/0.5341, allocations: 5.258 MB / 0.5931 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5341, allocations: 8.031 kB / 0.5932 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006937/0.5411, allocations: 1.878 MB / 0.595 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006087/0.5472, allocations: 2.296 MB / 0.5972 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.5474, allocations: 229.8 kB / 0.5974 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.5488, allocations: 307.8 kB / 0.5977 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02284/0.5717, allocations: 10.23 MB / 0.6077 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.5718, allocations: 43.64 kB / 0.6078 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005708/0.5724, allocations: 143.9 kB / 0.6079 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003408/0.5758, allocations: 1.868 MB / 0.6097 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/0.5961, allocations: 9.187 MB / 0.6187 GB, free: 4.781 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05656/0.6527, allocations: 37.54 MB / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.6658, allocations: 3.622 MB / 0.6589 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/0.6684, allocations: 1.61 MB / 0.6605 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.6695, allocations: 0.6824 MB / 0.6611 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.74e-05/0.6696, allocations: 51.05 kB / 0.6612 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 5.982e-06/0.6696, allocations: 0 / 0.6612 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04323/0.7128, allocations: 13.16 MB / 0.674 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.7129, allocations: 141.2 kB / 0.6742 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006967/0.7199, allocations: 3.98 MB / 0.6781 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004387/0.7203, allocations: 45.7 kB / 0.6781 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002625/0.723, allocations: 3.124 MB / 0.6812 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008749/0.7238, allocations: 0.5778 MB / 0.6817 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.7254, allocations: 1.151 MB / 0.6828 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7256, allocations: 305.1 kB / 0.6831 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/0.7284, allocations: 1.939 MB / 0.685 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005897/0.7343, allocations: 5.52 MB / 0.6904 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/0.7452, allocations: 8.081 MB / 0.6983 GB, free: 14.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.7453, allocations: 39.94 kB / 0.6984 GB, free: 14.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01625/0.7615, allocations: 7.962 MB / 0.7061 GB, free: 6.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.855e-05/0.7616, allocations: 60 kB / 0.7062 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/0.7618, allocations: 128 kB / 0.7063 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/0.7642, allocations: 0.9062 MB / 0.7072 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/0.7684, allocations: 1.287 MB / 0.7085 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/0.7757, allocations: 5.194 MB / 0.7135 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/0.7812, allocations: 303.7 kB / 0.7138 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/0.7825, allocations: 360 kB / 0.7142 GB, free: 13.78 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (684): * Single equations (assignments): 680 * 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.004704/0.7872, allocations: 1.998 MB / 0.7161 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000964/0.7882, allocations: 353.6 kB / 0.7164 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/0.794, allocations: 2.774 MB / 0.7192 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-05/0.794, allocations: 19.94 kB / 0.7192 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.794, allocations: 7.938 kB / 0.7192 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.7941, allocations: 3.984 kB / 0.7192 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/0.8128, allocations: 7.219 MB / 0.7262 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.8128, allocations: 0 / 0.7262 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.8141, allocations: 247.7 kB / 0.7265 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.8163, allocations: 0.7109 MB / 0.7272 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002418/0.8166, allocations: 35.95 kB / 0.7272 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3283/1.145, allocations: 4.758 MB / 0.7318 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.145, allocations: 2.969 kB / 0.7318 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007839/1.153, allocations: 5.147 MB / 0.7369 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.154, allocations: 408.3 kB / 0.7373 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/1.154, allocations: 19.62 kB / 0.7373 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.155, allocations: 83.12 kB / 0.7374 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/1.156, allocations: 89.28 kB / 0.7374 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/1.156, allocations: 49.89 kB / 0.7375 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003412/1.159, allocations: 2.495 MB / 0.7399 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.159, allocations: 0 / 0.7399 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004794/1.164, allocations: 0.8998 MB / 0.7408 GB, free: 156.2 MB / 0.5606 GB 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.000371/1.164, allocations: 146 kB / 0.7409 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006175/1.171, allocations: 4.471 MB / 0.7453 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.171, allocations: 2.781 kB / 0.7453 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/1.172, allocations: 1.288 MB / 0.7466 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.175, allocations: 432.1 kB / 0.747 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.188, allocations: 8.633 MB / 0.7554 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00285/1.191, allocations: 3.109 MB / 0.7585 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003349/1.194, allocations: 1.798 MB / 0.7602 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/1.195, allocations: 247.3 kB / 0.7604 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/1.195, allocations: 0 / 0.7604 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05922/1.254, allocations: 33.97 MB / 0.7936 GB, free: 108.9 MB / 0.5606 GB " [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: 7.3587422370910645]