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.001482/0.001482, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001727/0.001727, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.541/1.541, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2408/0.2408, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.002198/0.002198, allocations: 63.91 kB / 0.4914 GB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1265, allocations: 66 MB / 0.5559 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01454/0.141, allocations: 11.09 MB / 0.5667 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00914/0.1502, allocations: 3.839 MB / 0.5704 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.152, allocations: 79.62 kB / 0.5705 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005512/0.1575, allocations: 2.71 MB / 0.5732 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.1624, allocations: 1.794 MB / 0.5749 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.1641, allocations: 0.694 MB / 0.5756 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005191/0.1693, allocations: 3.582 MB / 0.5791 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003965/0.1732, allocations: 3.078 MB / 0.5821 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.1756, allocations: 1.495 MB / 0.5836 GB, free: 8.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/0.1786, allocations: 2.153 MB / 0.5857 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006705/0.1793, allocations: 320 kB / 0.586 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.1813, allocations: 1.081 MB / 0.587 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.1832, allocations: 1.846 MB / 0.5888 GB, free: 3.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.1855, allocations: 2.089 MB / 0.5909 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3101/0.4956, allocations: 6.688 MB / 0.5974 GB, free: 13.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4956, allocations: 0 / 0.5974 GB, free: 13.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4956, allocations: 1 kB / 0.5974 GB, free: 13.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003534/0.496, allocations: 0 / 0.5974 GB, free: 13.94 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.02579/0.5217, allocations: 5.193 MB / 0.6025 GB, free: 12.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.5218, allocations: 11.08 kB / 0.6025 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00922/0.531, allocations: 1.88 MB / 0.6043 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006951/0.538, allocations: 2.254 MB / 0.6065 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004573/0.5384, allocations: 229.6 kB / 0.6067 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/0.5408, allocations: 303.3 kB / 0.607 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/0.5658, allocations: 10.04 MB / 0.6168 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/0.566, allocations: 41.98 kB / 0.6169 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005626/0.5665, allocations: 144.3 kB / 0.617 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003365/0.5699, allocations: 1.8 MB / 0.6188 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/0.5903, allocations: 9.032 MB / 0.6276 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.057/0.6473, allocations: 37.15 MB / 0.6639 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/0.6626, allocations: 3.611 MB / 0.6674 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/0.6655, allocations: 1.61 MB / 0.669 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.6667, allocations: 0.6797 MB / 0.6696 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.6667, allocations: 47.11 kB / 0.6697 GB, free: 10.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.789e-06/0.6667, allocations: 0 / 0.6697 GB, free: 10.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.04834/0.715, allocations: 13.08 MB / 0.6824 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.7152, allocations: 149 kB / 0.6826 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00667/0.7218, allocations: 3.965 MB / 0.6865 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004162/0.7222, allocations: 45.7 kB / 0.6865 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00259/0.7248, allocations: 3.085 MB / 0.6895 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009676/0.7258, allocations: 0.572 MB / 0.6901 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/0.7277, allocations: 1.145 MB / 0.6912 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7278, allocations: 301.1 kB / 0.6915 GB, free: 4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/0.731, allocations: 1.935 MB / 0.6934 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006352/0.7373, allocations: 5.504 MB / 0.6987 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.7485, allocations: 8.055 MB / 0.7066 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/0.7486, allocations: 40 kB / 0.7067 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01891/0.7675, allocations: 7.927 MB / 0.7144 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.7677, allocations: 60 kB / 0.7145 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002865/0.768, allocations: 128 kB / 0.7146 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003075/0.7711, allocations: 0.9076 MB / 0.7155 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005103/0.7762, allocations: 1.283 MB / 0.7167 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009045/0.7852, allocations: 5.196 MB / 0.7218 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006155/0.7914, allocations: 298.2 kB / 0.7221 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/0.7931, allocations: 360 kB / 0.7224 GB, free: 1.43 MB / 0.5294 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.006802/0.7999, allocations: 1.976 MB / 0.7243 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/0.8011, allocations: 345.7 kB / 0.7247 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007295/0.8084, allocations: 2.767 MB / 0.7274 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.673e-05/0.8084, allocations: 19.94 kB / 0.7274 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.8085, allocations: 7.984 kB / 0.7274 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.8085, allocations: 3.984 kB / 0.7274 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.8252, allocations: 7.173 MB / 0.7344 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.8252, allocations: 7.984 kB / 0.7344 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.8266, allocations: 239.7 kB / 0.7346 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002441/0.829, allocations: 0.7162 MB / 0.7353 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.8292, allocations: 35.97 kB / 0.7354 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007336/0.8365, allocations: 4.767 MB / 0.74 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.8365, allocations: 1.094 kB / 0.74 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009387/0.8459, allocations: 5.137 MB / 0.7451 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.847, allocations: 410.6 kB / 0.7454 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008004/0.8478, allocations: 20 kB / 0.7455 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/0.8497, allocations: 79.89 kB / 0.7455 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/0.85, allocations: 91.81 kB / 0.7456 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.8502, allocations: 43.97 kB / 0.7457 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005825/0.856, allocations: 2.477 MB / 0.7481 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.856, allocations: 0 / 0.7481 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00615/0.8622, allocations: 0.8827 MB / 0.749 GB, free: 6.035 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.0006516/0.8628, allocations: 154.6 kB / 0.7491 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008888/0.8717, allocations: 4.46 MB / 0.7535 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8717, allocations: 4 kB / 0.7535 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.8742, allocations: 1.284 MB / 0.7547 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/0.8778, allocations: 427 kB / 0.7551 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/0.8966, allocations: 8.444 MB / 0.7634 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005117/0.9017, allocations: 3.072 MB / 0.7664 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004695/0.9064, allocations: 1.779 MB / 0.7681 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009086/0.9073, allocations: 251.3 kB / 0.7683 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.9073, allocations: 0 / 0.7683 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of Templates: time 0.07491/0.9822, allocations: 32.43 MB / 0.8 GB, free: 1.914 MB / 0.6075 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.257155206054449]