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.0009768/0.0009768, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009871/0.0009871, allocations: 161 kB / 24.56 MB, free: 12 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 0.9224/0.9224, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2541/0.2541, allocations: 32.81 MB / 294.3 MB, free: 1.207 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 2.285e-06/2.285e-06, allocations: 0 / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.425e-05, allocations: 6.25 kB / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.009253/0.009277, allocations: 10.75 MB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006669/0.01595, allocations: 3.769 MB / 390.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.01701, allocations: 75.62 kB / 390.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003024/0.02003, allocations: 2.877 MB / 393.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.02294, allocations: 1.87 MB / 395.4 MB, free: 1.195 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.02395, allocations: 0.7601 MB / 396.1 MB, free: 444 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.02668, allocations: 3.979 MB / 400.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.02922, allocations: 3.167 MB / 403.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.03113, allocations: 2.308 MB / 405.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.03276, allocations: 2.112 MB / 407.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003315/0.03309, allocations: 324 kB / 408 MB, free: 4.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.03423, allocations: 0.9946 MB / 409 MB, free: 3.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.03557, allocations: 1.925 MB / 410.9 MB, free: 1.543 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008619/0.03643, allocations: 1.207 MB / 412.1 MB, free: 340 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.03986, allocations: 4.258 MB / 416.4 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.03987, allocations: 3.984 kB / 416.4 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03987, allocations: 0 / 416.4 MB, free: 12.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.23e-05/0.03992, allocations: 4 kB / 416.4 MB, free: 12.05 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.005876/0.0458, allocations: 5.421 MB / 421.8 MB, free: 6.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.04585, allocations: 12.03 kB / 421.8 MB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/0.05023, allocations: 2.319 MB / 424.2 MB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.0524, allocations: 1.989 MB / 426.1 MB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.05252, allocations: 233.8 kB / 426.4 MB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.05288, allocations: 299.8 kB / 426.7 MB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005983/0.05886, allocations: 5.553 MB / 432.2 MB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-05/0.05893, allocations: 39.64 kB / 432.3 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.05917, allocations: 139.9 kB / 432.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001404/0.06057, allocations: 1.692 MB / 434.1 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004443/0.06502, allocations: 2.741 MB / 436.8 MB, free: 6.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1824/0.2475, allocations: 39.99 MB / 476.8 MB, free: 59.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.2499, allocations: 1.195 MB / 478 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.2504, allocations: 360.6 kB / 478.4 MB, free: 59.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00319/0.2536, allocations: 3.09 MB / 481.5 MB, free: 58.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2536, allocations: 51.55 kB / 481.5 MB, free: 58.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.865e-06/0.2536, allocations: 0 / 481.5 MB, free: 58.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.006626/0.2602, allocations: 5.539 MB / 487 MB, free: 55.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2603, allocations: 137.6 kB / 487.2 MB, free: 55.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.2628, allocations: 3.468 MB / 490.6 MB, free: 54.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.2628, allocations: 36.92 kB / 490.7 MB, free: 54.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.264, allocations: 3.35 MB / 494 MB, free: 51.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.2642, allocations: 469.3 kB / 494.5 MB, free: 51.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007827/0.265, allocations: 1.199 MB / 495.7 MB, free: 50.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.265, allocations: 483.2 kB / 496.2 MB, free: 50.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/0.2657, allocations: 497.3 kB / 496.6 MB, free: 50.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.2678, allocations: 6.005 MB / 0.4909 GB, free: 42.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/0.2712, allocations: 7.169 MB / 0.4979 GB, free: 34.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.1e-05/0.2712, allocations: 41.16 kB / 0.4979 GB, free: 34.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.005206/0.2764, allocations: 4.708 MB / 0.5025 GB, free: 32.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/0.2765, allocations: 61.25 kB / 0.5026 GB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/0.2766, allocations: 133.7 kB / 0.5027 GB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/0.277, allocations: 221.4 kB / 0.5029 GB, free: 32.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.2791, allocations: 1.265 MB / 0.5041 GB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.2804, allocations: 2.069 MB / 0.5062 GB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.2823, allocations: 316.6 kB / 0.5065 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/0.2827, allocations: 348.2 kB / 0.5068 GB, free: 30.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (685): * Single equations (assignments): 681 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009654/0.2836, allocations: 0.6388 MB / 0.5074 GB, free: 30.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.284, allocations: 325.7 kB / 0.5077 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/0.2847, allocations: 0.5734 MB / 0.5083 GB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.2847, allocations: 10.94 kB / 0.5083 GB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2847, allocations: 2.25 kB / 0.5083 GB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2847, allocations: 5.672 kB / 0.5083 GB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/0.289, allocations: 3.46 MB / 0.5117 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.289, allocations: 3.094 kB / 0.5117 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.2894, allocations: 163.3 kB / 0.5118 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.2895, allocations: 50.78 kB / 0.5119 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.2896, allocations: 22.92 kB / 0.5119 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006622/0.2903, allocations: 1.816 MB / 0.5137 GB, free: 26.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.2903, allocations: 7.906 kB / 0.5137 GB, free: 26.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2914, allocations: 1.539 MB / 0.5152 GB, free: 25.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.2917, allocations: 288.3 kB / 0.5155 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.2918, allocations: 19.98 kB / 0.5155 GB, free: 25.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.2923, allocations: 70.72 kB / 0.5156 GB, free: 25.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.2924, allocations: 65.64 kB / 0.5156 GB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.2924, allocations: 38.69 kB / 0.5157 GB, free: 25.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001258/0.2937, allocations: 1.465 MB / 0.5171 GB, free: 24.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2937, allocations: 0 / 0.5171 GB, free: 24.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00256/0.2963, allocations: 0.8318 MB / 0.5179 GB, free: 24.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (74): * Single equations (assignments): 70 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002993/0.2966, allocations: 163.6 kB / 0.5181 GB, free: 24.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.299, allocations: 2.437 MB / 0.5204 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.299, allocations: 448 / 0.5204 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.2993, allocations: 454.8 kB / 0.5209 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3004, allocations: 368 kB / 0.5212 GB, free: 23.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005946/0.3063, allocations: 6.529 MB / 0.5276 GB, free: 19.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/0.3072, allocations: 1.117 MB / 0.5287 GB, free: 18.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002213/0.3094, allocations: 1.477 MB / 0.5301 GB, free: 17.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.3096, allocations: 196 kB / 0.5303 GB, free: 17.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.512e-06/0.3096, allocations: 0 / 0.5303 GB, free: 17.36 MB / 410.7 MB Notification: Performance of Templates: time 0.03067/0.3403, allocations: 20.85 MB / 0.5507 GB, free: 0.6836 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] 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","",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.139363911002874]