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.001412/0.001412, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.00193/0.00193, allocations: 212 kB / 23.73 MB, free: 4.387 MB / 14.72 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 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.2342/0.2342, allocations: 46.95 MB / 360.9 MB, free: 4.062 MB / 286.1 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 0.002029/0.002029, allocations: 67.89 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3234, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01333/0.3367, allocations: 9.72 MB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008353/0.3451, allocations: 3.641 MB / 0.5741 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.3472, allocations: 71.69 kB / 0.5742 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005741/0.3529, allocations: 2.617 MB / 0.5768 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004994/0.3579, allocations: 1.802 MB / 0.5785 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.3598, allocations: 0.6979 MB / 0.5792 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005376/0.3651, allocations: 3.579 MB / 0.5827 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004309/0.3695, allocations: 2.791 MB / 0.5854 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.3724, allocations: 1.495 MB / 0.5869 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.3761, allocations: 2.024 MB / 0.5889 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.3771, allocations: 328 kB / 0.5892 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.3797, allocations: 0.9479 MB / 0.5901 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002503/0.3822, allocations: 1.842 MB / 0.5919 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002862/0.385, allocations: 1.549 MB / 0.5934 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008397/0.3934, allocations: 6.724 MB / 0.6 GB, free: 12.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3934, allocations: 0 / 0.6 GB, free: 12.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3934, allocations: 0 / 0.6 GB, free: 12.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001807/0.3936, allocations: 0 / 0.6 GB, free: 12.15 MB / 446.1 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.01719/0.4108, allocations: 5.117 MB / 0.605 GB, free: 6.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4109, allocations: 12.03 kB / 0.605 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006831/0.4177, allocations: 1.882 MB / 0.6068 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005616/0.4233, allocations: 2.205 MB / 0.609 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.4235, allocations: 229.8 kB / 0.6092 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000779/0.4243, allocations: 299.8 kB / 0.6095 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.4443, allocations: 10.06 MB / 0.6193 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/0.4444, allocations: 43.64 kB / 0.6194 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/0.4448, allocations: 139.9 kB / 0.6195 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003621/0.4485, allocations: 1.806 MB / 0.6212 GB, free: 5.594 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.4682, allocations: 9.014 MB / 0.6301 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04715/0.5153, allocations: 34.64 MB / 0.6639 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/0.5291, allocations: 3.156 MB / 0.667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002756/0.5319, allocations: 1.613 MB / 0.6685 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008185/0.5327, allocations: 232.2 kB / 0.6688 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.5327, allocations: 47.22 kB / 0.6688 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.358e-06/0.5327, allocations: 0 / 0.6688 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04717/0.5799, allocations: 12.95 MB / 0.6814 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.58, allocations: 153.1 kB / 0.6816 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005866/0.5859, allocations: 3.636 MB / 0.6851 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.5862, allocations: 45.7 kB / 0.6852 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002486/0.5887, allocations: 3.109 MB / 0.6882 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007668/0.5894, allocations: 0.57 MB / 0.6888 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/0.591, allocations: 1.147 MB / 0.6899 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5911, allocations: 309.1 kB / 0.6902 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.5943, allocations: 1.931 MB / 0.6921 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006236/0.6005, allocations: 5.505 MB / 0.6975 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.611, allocations: 8.055 MB / 0.7053 GB, free: 10.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/0.6111, allocations: 36 kB / 0.7054 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01621/0.6273, allocations: 7.892 MB / 0.7131 GB, free: 2.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.6275, allocations: 60 kB / 0.7131 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002547/0.6277, allocations: 124.9 kB / 0.7132 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/0.6305, allocations: 0.8983 MB / 0.7141 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004544/0.6351, allocations: 1.294 MB / 0.7154 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007672/0.6427, allocations: 5.017 MB / 0.7203 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/0.647, allocations: 291.8 kB / 0.7206 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/0.6481, allocations: 367.9 kB / 0.7209 GB, free: 10.57 MB / 0.5606 GB 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.004197/0.6523, allocations: 1.963 MB / 0.7228 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008584/0.6531, allocations: 309.9 kB / 0.7231 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006285/0.6594, allocations: 2.731 MB / 0.7258 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/0.6595, allocations: 23.94 kB / 0.7258 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.6595, allocations: 4 kB / 0.7258 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.6595, allocations: 3.984 kB / 0.7258 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3244/0.9839, allocations: 6.174 MB / 0.7318 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-05/0.984, allocations: 2.859 kB / 0.7319 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/0.986, allocations: 245.6 kB / 0.7321 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003602/0.9896, allocations: 0.7171 MB / 0.7328 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003381/0.9899, allocations: 31.22 kB / 0.7328 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007727/0.9977, allocations: 4.593 MB / 0.7373 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.9977, allocations: 3.891 kB / 0.7373 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/1.008, allocations: 5.095 MB / 0.7423 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.009, allocations: 274.8 kB / 0.7425 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008438/1.01, allocations: 28.42 kB / 0.7426 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.012, allocations: 72.88 kB / 0.7426 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/1.013, allocations: 94.73 kB / 0.7427 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.013, allocations: 54.94 kB / 0.7428 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005829/1.019, allocations: 2.094 MB / 0.7448 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 0 / 0.7448 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00777/1.026, allocations: 0.871 MB / 0.7457 GB, free: 146.8 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.0007403/1.027, allocations: 150.5 kB / 0.7458 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008608/1.036, allocations: 4.454 MB / 0.7502 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.036, allocations: 0 / 0.7502 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/1.038, allocations: 1.284 MB / 0.7514 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/1.041, allocations: 361.1 kB / 0.7518 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.055, allocations: 8.465 MB / 0.76 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004441/1.059, allocations: 2.519 MB / 0.7625 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003901/1.063, allocations: 1.733 MB / 0.7642 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000799/1.064, allocations: 246.8 kB / 0.7644 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.064, allocations: 0 / 0.7644 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.05756/1.122, allocations: 32.21 MB / 0.7959 GB, free: 99.68 MB / 0.5606 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] 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: 7.4389117285609245]