Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001003/0.001003, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.000987/0.000987, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9078/0.9078, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.124/0.124, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 3.984 kB / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.801e-05, allocations: 2.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.15/0.15, allocations: 13.08 MB / 312.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009095/0.1591, allocations: 4.451 MB / 316.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.1612, allocations: 103.3 kB / 316.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004755/0.1659, allocations: 3.953 MB / 320.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.1706, allocations: 2.238 MB / 323 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1721, allocations: 0.868 MB / 323.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004101/0.1762, allocations: 4.805 MB / 328.6 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004288/0.1805, allocations: 4.16 MB / 332.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.1842, allocations: 3.044 MB / 335.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.1879, allocations: 2.529 MB / 338.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007679/0.1887, allocations: 432 kB / 338.8 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.1906, allocations: 1.135 MB / 339.9 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.1926, allocations: 2.493 MB / 342.4 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.1946, allocations: 1.62 MB / 344 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006209/0.2009, allocations: 5.414 MB / 349.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.2009, allocations: 4 kB / 349.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2009, allocations: 0 / 349.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001541/0.201, allocations: 0 / 349.4 MB, free: 11.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.008525/0.2095, allocations: 5.727 MB / 355.2 MB, free: 5.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2096, allocations: 8.031 kB / 355.2 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/0.2136, allocations: 1.238 MB / 356.4 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.2171, allocations: 2.104 MB / 358.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.2173, allocations: 304.9 kB / 358.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005829/0.2178, allocations: 419.7 kB / 359.2 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00798/0.2258, allocations: 5.87 MB / 365.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.2259, allocations: 43.62 kB / 365.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/0.2263, allocations: 187.8 kB / 365.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001663/0.2279, allocations: 1.958 MB / 367.3 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005793/0.2337, allocations: 2.941 MB / 370.2 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03371/0.2674, allocations: 35.01 MB / 405.2 MB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004052/0.2715, allocations: 1.734 MB / 407 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.2721, allocations: 442.3 kB / 407.4 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006848/0.279, allocations: 4.433 MB / 411.8 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.279, allocations: 43.56 kB / 411.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=170): time 3.416e-06/0.279, allocations: 0 / 411.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.01492/0.2939, allocations: 6.041 MB / 417.9 MB, free: 4.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.294, allocations: 145.5 kB / 418.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003319/0.2973, allocations: 3.485 MB / 421.5 MB, free: 1.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.2974, allocations: 49.7 kB / 421.6 MB, free: 1.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.299, allocations: 3.621 MB / 425.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/0.2996, allocations: 0.7365 MB / 425.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.3006, allocations: 1.263 MB / 427.2 MB, free: 11.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.3007, allocations: 309.1 kB / 427.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.302, allocations: 0.8151 MB / 428.3 MB, free: 10.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/0.3051, allocations: 4.868 MB / 433.2 MB, free: 3.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00575/0.3108, allocations: 6.3 MB / 439.5 MB, free: 11.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.413e-05/0.3109, allocations: 48 kB / 439.5 MB, free: 10.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.006106/0.317, allocations: 4.537 MB / 444.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.464e-05/0.3171, allocations: 71.98 kB / 444.2 MB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/0.3172, allocations: 160 kB / 444.3 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.3176, allocations: 251.6 kB / 444.6 MB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/0.3205, allocations: 1.599 MB / 446.2 MB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.3222, allocations: 1.604 MB / 447.8 MB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/0.3252, allocations: 299.7 kB / 448 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004812/0.3256, allocations: 360 kB / 448.4 MB, free: 1.988 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 681 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (844): * Single equations (assignments): 840 * 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.001805/0.3274, allocations: 0.6817 MB / 449.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/0.3281, allocations: 231.7 kB / 449.3 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.33, allocations: 1.009 MB / 450.3 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.33, allocations: 20 kB / 450.3 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.33, allocations: 0 / 450.3 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.3301, allocations: 15.91 kB / 450.4 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008738/0.3388, allocations: 4.621 MB / 455 MB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.3388, allocations: 4 kB / 455 MB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.34, allocations: 332.2 kB / 455.3 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003419/0.3403, allocations: 67.59 kB / 455.4 MB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.3405, allocations: 43.92 kB / 455.4 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.342, allocations: 1.526 MB / 456.9 MB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.342, allocations: 7.938 kB / 456.9 MB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.3449, allocations: 1.981 MB / 458.9 MB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000973/0.3459, allocations: 465.2 kB / 459.4 MB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/0.3463, allocations: 43.98 kB / 459.4 MB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/0.3472, allocations: 39.98 kB / 459.5 MB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/0.3475, allocations: 120.6 kB / 459.6 MB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.3476, allocations: 47.98 kB / 459.6 MB, free: 6.406 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001725/0.3493, allocations: 1.272 MB / 460.9 MB, free: 5.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3493, allocations: 0 / 460.9 MB, free: 5.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0048/0.3541, allocations: 1.121 MB / 462 MB, free: 3.996 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (166): * Single equations (assignments): 162 * 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.000438/0.3546, allocations: 180 kB / 462.2 MB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004349/0.3589, allocations: 2.729 MB / 464.9 MB, free: 1.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002219/0.3591, allocations: 104.2 kB / 465 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.3602, allocations: 0.5958 MB / 465.6 MB, free: 380 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.129/0.4892, allocations: 0.6768 MB / 466.3 MB, free: 138.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.5043, allocations: 8.645 MB / 474.9 MB, free: 134.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/0.5063, allocations: 1.443 MB / 476.4 MB, free: 134.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002097/0.5084, allocations: 0.5453 MB / 476.9 MB, free: 134.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/0.5096, allocations: 0.5928 MB / 477.5 MB, free: 134.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.785e-06/0.5096, allocations: 0 / 477.5 MB, free: 134.3 MB / 426.7 MB Notification: Performance of Templates: time 0.0526/0.5622, allocations: 32.43 MB / 0.498 GB, free: 112.7 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.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.0295554851181805]