Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001435/0.001435, allocations: 77.08 kB / 19.93 MB, free: 1.781 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.001525/0.001525, allocations: 163.2 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.559/1.559, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.228/0.228, allocations: 32.37 MB / 269.6 MB, free: 4.676 MB / 254.1 MB " [Timeout remaining time 179] 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.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.616e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01384/0.01388, allocations: 9.291 MB / 416.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0089/0.02278, allocations: 3.12 MB / 419.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.02471, allocations: 63.75 kB / 419.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005328/0.03004, allocations: 2.421 MB / 422.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.03423, allocations: 1.309 MB / 423.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.03579, allocations: 0.5377 MB / 424.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004912/0.0407, allocations: 3.052 MB / 427.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004737/0.04544, allocations: 2.477 MB / 429.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004657/0.0501, allocations: 1.929 MB / 431.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003488/0.05359, allocations: 1.664 MB / 433.2 MB, free: 9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008949/0.05448, allocations: 299.9 kB / 433.5 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.05699, allocations: 0.9439 MB / 434.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002403/0.05939, allocations: 1.687 MB / 436.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002642/0.06204, allocations: 1.114 MB / 437.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008558/0.07059, allocations: 6.265 MB / 443.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.0706, allocations: 0 / 443.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.0706, allocations: 0 / 443.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001852/0.07079, allocations: 3.938 kB / 443.5 MB, free: 14.66 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01032/0.08111, allocations: 4.256 MB / 447.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.08115, allocations: 8.031 kB / 447.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007051/0.0882, allocations: 1.882 MB / 449.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/0.0929, allocations: 1.728 MB / 451.4 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/0.09319, allocations: 226.1 kB / 451.6 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009214/0.09411, allocations: 304.2 kB / 451.9 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02376/0.1179, allocations: 10.68 MB / 462.6 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.118, allocations: 35.69 kB / 462.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004383/0.1184, allocations: 139.9 kB / 462.8 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004073/0.1225, allocations: 2.048 MB / 464.8 MB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2403/0.3628, allocations: 9.265 MB / 474.1 MB, free: 63.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04145/0.4043, allocations: 35.43 MB / 0.4976 GB, free: 39.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009911/0.4142, allocations: 3.698 MB / 0.5012 GB, free: 37.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/0.4165, allocations: 2.097 MB / 0.5032 GB, free: 36.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008142/0.4247, allocations: 4.643 MB / 0.5078 GB, free: 33.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.4247, allocations: 55.81 kB / 0.5078 GB, free: 33.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=181): time 7.074e-06/0.4247, allocations: 0 / 0.5078 GB, free: 33.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=210): time 0.0581/0.4828, allocations: 22.36 MB / 0.5297 GB, free: 10.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.4829, allocations: 153.8 kB / 0.5298 GB, free: 10.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/0.4864, allocations: 3.1 MB / 0.5328 GB, free: 7.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003865/0.4868, allocations: 53.7 kB / 0.5329 GB, free: 7.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.488, allocations: 2.921 MB / 0.5357 GB, free: 4.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000803/0.4888, allocations: 0.82 MB / 0.5365 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.4902, allocations: 1.183 MB / 0.5377 GB, free: 2.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.4903, allocations: 361.9 kB / 0.538 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002703/0.493, allocations: 2.327 MB / 0.5403 GB, free: 20 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007821/0.5008, allocations: 5.785 MB / 0.546 GB, free: 8.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/0.5138, allocations: 8.807 MB / 0.5546 GB, free: 14.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/0.514, allocations: 36 kB / 0.5546 GB, free: 13.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01874/0.5327, allocations: 8.65 MB / 0.563 GB, free: 5.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/0.5328, allocations: 56 kB / 0.5631 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.533, allocations: 128 kB / 0.5632 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/0.5362, allocations: 1.03 MB / 0.5642 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/0.5416, allocations: 1.38 MB / 0.5656 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007471/0.549, allocations: 5.527 MB / 0.571 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004975/0.554, allocations: 323.6 kB / 0.5713 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/0.5551, allocations: 360 kB / 0.5716 GB, free: 12.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003939/0.559, allocations: 1.943 MB / 0.5735 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/0.5597, allocations: 290.1 kB / 0.5738 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00812/0.5678, allocations: 3.903 MB / 0.5776 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.234e-05/0.5679, allocations: 24 kB / 0.5776 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.5679, allocations: 7.984 kB / 0.5776 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.5679, allocations: 7.969 kB / 0.5776 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.5843, allocations: 7.649 MB / 0.5851 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.5843, allocations: 0 / 0.5851 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/0.5861, allocations: 355.5 kB / 0.5855 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002776/0.5889, allocations: 0.8599 MB / 0.5863 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.5891, allocations: 47.92 kB / 0.5863 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006021/0.5952, allocations: 4.836 MB / 0.5911 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/0.5952, allocations: 7.922 kB / 0.5911 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/0.6072, allocations: 6.842 MB / 0.5978 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/0.609, allocations: 0.5759 MB / 0.5983 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/0.6094, allocations: 32 kB / 0.5983 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.6109, allocations: 125.8 kB / 0.5985 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/0.6113, allocations: 121.1 kB / 0.5986 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/0.6115, allocations: 52 kB / 0.5986 GB, free: 360 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003015/0.6145, allocations: 1.737 MB / 0.6003 GB, free: 14.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6145, allocations: 0 / 0.6003 GB, free: 14.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005453/0.6199, allocations: 0.959 MB / 0.6013 GB, free: 13.65 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006171/0.6206, allocations: 176.8 kB / 0.6014 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0124/0.633, allocations: 5.741 MB / 0.607 GB, free: 7.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.633, allocations: 0 / 0.607 GB, free: 7.727 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00503/0.638, allocations: 2.192 MB / 0.6092 GB, free: 5.508 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.6403, allocations: 283 kB / 0.6095 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/0.6595, allocations: 9.019 MB / 0.6183 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003811/0.6633, allocations: 2.471 MB / 0.6207 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004642/0.6679, allocations: 1.815 MB / 0.6224 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008276/0.6688, allocations: 220.5 kB / 0.6227 GB, free: 7.633 MB / 494.1 MB Notification: Performance of SimCode: time 1.703e-06/0.6688, allocations: 0 / 0.6227 GB, free: 7.633 MB / 494.1 MB Notification: Performance of Templates: time 0.068/0.7368, allocations: 29.71 MB / 0.6517 GB, free: 10.02 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.381386987864971]