Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9802/0.9802, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.268/0.268, allocations: 34.86 MB / 296.3 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.161e-05, allocations: 2.875 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01018/0.01021, allocations: 12.67 MB / 391.4 MB, free: 5.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007088/0.0173, allocations: 4.228 MB / 395.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.01869, allocations: 99.56 kB / 395.8 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003863/0.02256, allocations: 3.987 MB / 399.8 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.02594, allocations: 2.107 MB / 401.9 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.02722, allocations: 0.8809 MB / 402.7 MB, free: 9.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.03124, allocations: 4.652 MB / 407.4 MB, free: 5.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003566/0.0348, allocations: 4.063 MB / 411.5 MB, free: 1.188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.03729, allocations: 2.81 MB / 414.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.03972, allocations: 2.615 MB / 416.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005503/0.04027, allocations: 420 kB / 417.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.04157, allocations: 1.084 MB / 418.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.04304, allocations: 2.365 MB / 420.7 MB, free: 7.879 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.04444, allocations: 1.538 MB / 422.3 MB, free: 6.336 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004076/0.04852, allocations: 5.142 MB / 427.4 MB, free: 1.176 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.04852, allocations: 0 / 427.4 MB, free: 1.176 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.04852, allocations: 0 / 427.4 MB, free: 1.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.542e-05/0.04857, allocations: 0 / 427.4 MB, free: 1.176 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01234/0.06091, allocations: 6.81 MB / 434.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.06097, allocations: 8.031 kB / 434.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/0.06592, allocations: 2.517 MB / 436.8 MB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00401/0.06993, allocations: 2.435 MB / 439.2 MB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.0701, allocations: 295.6 kB / 439.5 MB, free: 5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006216/0.07072, allocations: 395.8 kB / 439.9 MB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1827/0.2534, allocations: 7.264 MB / 447.1 MB, free: 87.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/0.2535, allocations: 47.42 kB / 447.2 MB, free: 87.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.2539, allocations: 185.3 kB / 447.4 MB, free: 87.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/0.2561, allocations: 2.189 MB / 449.6 MB, free: 87.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009578/0.2657, allocations: 4.273 MB / 453.8 MB, free: 87.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03524/0.3009, allocations: 47.25 MB / 0.4893 GB, free: 51.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008736/0.3096, allocations: 2.83 MB / 0.4921 GB, free: 51.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.3113, allocations: 0.9449 MB / 0.493 GB, free: 51.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/0.3118, allocations: 243.7 kB / 0.4933 GB, free: 51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3118, allocations: 61.05 kB / 0.4933 GB, free: 50.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 5.891e-06/0.3118, allocations: 3.938 kB / 0.4933 GB, free: 50.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.04021/0.352, allocations: 17.34 MB / 0.5102 GB, free: 45.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.3521, allocations: 150.5 kB / 0.5104 GB, free: 45.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/0.3562, allocations: 3.6 MB / 0.5139 GB, free: 42.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003496/0.3566, allocations: 62.56 kB / 0.514 GB, free: 42.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.3582, allocations: 3.695 MB / 0.5176 GB, free: 39.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008598/0.3591, allocations: 0.9525 MB / 0.5185 GB, free: 38.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/0.3609, allocations: 1.534 MB / 0.52 GB, free: 36.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.3609, allocations: 480.7 kB / 0.5205 GB, free: 36.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.3628, allocations: 0.9184 MB / 0.5214 GB, free: 35.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003546/0.3663, allocations: 6.562 MB / 0.5278 GB, free: 26.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007012/0.3733, allocations: 8.304 MB / 0.5359 GB, free: 15.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.483e-05/0.3734, allocations: 40 kB / 0.5359 GB, free: 15.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01152/0.3849, allocations: 6.62 MB / 0.5424 GB, free: 8.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.012e-05/0.385, allocations: 60 kB / 0.5424 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/0.3851, allocations: 136 kB / 0.5426 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.3869, allocations: 0.6686 MB / 0.5432 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.3914, allocations: 1.731 MB / 0.5449 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.3952, allocations: 3.344 MB / 0.5482 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/0.3993, allocations: 427.6 kB / 0.5486 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007143/0.4001, allocations: 461.7 kB / 0.549 GB, free: 1.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (816): * Single equations (assignments): 812 * 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.001798/0.4019, allocations: 0.7015 MB / 0.5497 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007851/0.4026, allocations: 437.6 kB / 0.5501 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004429/0.4071, allocations: 2.799 MB / 0.5529 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/0.4071, allocations: 27.28 kB / 0.5529 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.4071, allocations: 4 kB / 0.5529 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.4071, allocations: 11.95 kB / 0.5529 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.4202, allocations: 7.38 MB / 0.5601 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.4202, allocations: 4 kB / 0.5601 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.4218, allocations: 0.5737 MB / 0.5607 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.4232, allocations: 0.5112 MB / 0.5612 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/0.4234, allocations: 91.91 kB / 0.5613 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003319/0.4267, allocations: 3.095 MB / 0.5643 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.4267, allocations: 4 kB / 0.5643 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006748/0.4335, allocations: 4.068 MB / 0.5683 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.4351, allocations: 0.7434 MB / 0.569 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/0.4355, allocations: 44 kB / 0.569 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.4367, allocations: 203.7 kB / 0.5692 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/0.4371, allocations: 205.5 kB / 0.5694 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/0.4373, allocations: 120.6 kB / 0.5695 GB, free: 12.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002282/0.4396, allocations: 1.554 MB / 0.571 GB, free: 10.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.4396, allocations: 4 kB / 0.5711 GB, free: 10.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00532/0.4449, allocations: 1.238 MB / 0.5723 GB, free: 9.723 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0007051/0.4456, allocations: 202 kB / 0.5725 GB, free: 9.516 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007191/0.4528, allocations: 3.879 MB / 0.5762 GB, free: 5.641 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4528, allocations: 4.062 kB / 0.5762 GB, free: 5.637 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.4549, allocations: 1.312 MB / 0.5775 GB, free: 4.305 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.4575, allocations: 0.4956 MB / 0.578 GB, free: 3.824 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.4732, allocations: 9.258 MB / 0.5871 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/0.4751, allocations: 1.417 MB / 0.5884 GB, free: 9.004 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003497/0.4786, allocations: 1.859 MB / 0.5903 GB, free: 7.137 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/0.4798, allocations: 452.1 kB / 0.5907 GB, free: 6.695 MB / 458.7 MB Notification: Performance of SimCode: time 2.785e-06/0.4798, allocations: 0 / 0.5907 GB, free: 6.695 MB / 458.7 MB Notification: Performance of Templates: time 0.21/0.6898, allocations: 49.65 MB / 0.6392 GB, free: 135.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.9099588501267135]