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.001011/0.001011, 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.001927/0.001927, 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.8692/0.8692, 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.1218/0.1218, 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 1.893e-06/1.893e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.566e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.1684/0.1684, allocations: 13.04 MB / 312.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009505/0.1779, allocations: 4.457 MB / 316.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.1797, allocations: 95.12 kB / 316.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004647/0.1843, allocations: 4.018 MB / 320.7 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.1881, allocations: 2.268 MB / 323 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1894, allocations: 0.8893 MB / 323.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.1932, allocations: 4.788 MB / 328.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003853/0.1971, allocations: 4.285 MB / 332.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.2005, allocations: 3.076 MB / 336 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.2032, allocations: 2.525 MB / 338.5 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006176/0.2039, allocations: 436 kB / 338.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.2052, allocations: 1.1 MB / 340 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.2066, allocations: 2.497 MB / 342.5 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.2081, allocations: 1.624 MB / 344.2 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.212, allocations: 5.414 MB / 349.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.212, allocations: 0 / 349.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.212, allocations: 4 kB / 349.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.783e-05/0.2121, allocations: 0 / 349.6 MB, free: 11.54 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.005287/0.2174, allocations: 5.724 MB / 355.3 MB, free: 5.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2174, allocations: 8.031 kB / 355.3 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.2199, allocations: 1.234 MB / 356.5 MB, free: 4.516 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.222, allocations: 2.112 MB / 358.7 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.2221, allocations: 304.2 kB / 359 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004216/0.2225, allocations: 407.7 kB / 359.4 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005507/0.228, allocations: 5.874 MB / 365.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-05/0.2281, allocations: 47.56 kB / 365.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.2284, allocations: 187.8 kB / 365.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001541/0.23, allocations: 1.953 MB / 367.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004371/0.2343, allocations: 2.939 MB / 370.4 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02758/0.2619, allocations: 35.01 MB / 405.4 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.2659, allocations: 1.734 MB / 407.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/0.2664, allocations: 442.3 kB / 407.5 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005353/0.2718, allocations: 4.425 MB / 412 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.2718, allocations: 43.56 kB / 412 MB, free: 10.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=170): time 4.148e-06/0.2718, allocations: 4 kB / 412 MB, free: 10.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.01256/0.2844, allocations: 6.045 MB / 418 MB, free: 4.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.2844, allocations: 153.5 kB / 418.2 MB, free: 4.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.2871, allocations: 3.485 MB / 421.7 MB, free: 1.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.479e-05/0.2872, allocations: 53.7 kB / 421.7 MB, free: 1.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.2886, allocations: 3.625 MB / 425.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.2889, allocations: 0.7365 MB / 426.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.2902, allocations: 1.259 MB / 427.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.2902, allocations: 305.1 kB / 427.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.2914, allocations: 0.819 MB / 428.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00327/0.2946, allocations: 4.872 MB / 433.3 MB, free: 3.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.299, allocations: 6.292 MB / 439.6 MB, free: 10.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.951e-05/0.299, allocations: 44 kB / 439.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.004353/0.3033, allocations: 4.54 MB / 444.2 MB, free: 6.285 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.3034, allocations: 69 kB / 444.3 MB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.293e-05/0.3035, allocations: 151.9 kB / 444.4 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003724/0.3039, allocations: 267.6 kB / 444.7 MB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.3065, allocations: 1.524 MB / 446.2 MB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.3077, allocations: 1.6 MB / 447.8 MB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.3099, allocations: 299.7 kB / 448.1 MB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.3102, allocations: 360 kB / 448.5 MB, free: 1.934 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.001334/0.3116, allocations: 0.6819 MB / 449.1 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.3119, allocations: 235.7 kB / 449.4 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.3132, allocations: 1.005 MB / 450.4 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.3132, allocations: 23.98 kB / 450.4 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3132, allocations: 0 / 450.4 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.3132, allocations: 11.91 kB / 450.4 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006095/0.3193, allocations: 4.629 MB / 455 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.3193, allocations: 4 kB / 455.1 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.3201, allocations: 299.5 kB / 455.3 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/0.3203, allocations: 76.09 kB / 455.4 MB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.3204, allocations: 39.98 kB / 455.5 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.3216, allocations: 1.518 MB / 457 MB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.3216, allocations: 11.94 kB / 457 MB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.3239, allocations: 1.981 MB / 459 MB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009469/0.3248, allocations: 465.4 kB / 459.4 MB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002948/0.3251, allocations: 39.98 kB / 459.5 MB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/0.326, allocations: 43.97 kB / 459.5 MB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.3262, allocations: 120.6 kB / 459.6 MB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.771e-05/0.3263, allocations: 51.98 kB / 459.7 MB, free: 6.371 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001278/0.3276, allocations: 1.272 MB / 460.9 MB, free: 5.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3276, allocations: 3.938 kB / 460.9 MB, free: 5.078 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004037/0.3316, allocations: 1.117 MB / 462.1 MB, free: 3.961 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.0003661/0.332, allocations: 176 kB / 462.2 MB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003517/0.3355, allocations: 2.733 MB / 465 MB, free: 1.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001872/0.3357, allocations: 104.5 kB / 465.1 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007942/0.3365, allocations: 0.5878 MB / 465.7 MB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1382/0.4746, allocations: 0.6809 MB / 466.3 MB, free: 138.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.487, allocations: 8.652 MB / 475 MB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.4886, allocations: 1.44 MB / 476.4 MB, free: 134.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001657/0.4902, allocations: 0.5407 MB / 477 MB, free: 134.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.4913, allocations: 0.5895 MB / 477.6 MB, free: 134.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/0.4913, allocations: 0 / 477.6 MB, free: 134.3 MB / 426.7 MB Notification: Performance of Templates: time 0.047/0.5383, allocations: 32.38 MB / 0.498 GB, free: 112.8 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 -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.017469336278737]