Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001484/0.001484, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.001574/0.001574, allocations: 166.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.388/1.388, allocations: 177.1 MB / 204.3 MB, free: 9.16 MB / 190.1 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.1929/0.1929, allocations: 32.82 MB / 293.5 MB, free: 8 kB / 270.1 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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.962e-05, allocations: 2.281 kB / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2144/0.2144, allocations: 9.234 MB / 449.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006372/0.2208, allocations: 3.102 MB / 452.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.2222, allocations: 60.28 kB / 452.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004636/0.2268, allocations: 2.43 MB / 454.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004096/0.2309, allocations: 1.295 MB / 456.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.2325, allocations: 0.5463 MB / 456.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004363/0.2368, allocations: 2.994 MB / 459.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.24, allocations: 2.457 MB / 462.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.2429, allocations: 1.901 MB / 464.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.2454, allocations: 1.661 MB / 465.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000516/0.2459, allocations: 293.7 kB / 466.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.2479, allocations: 0.9518 MB / 467 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.2495, allocations: 1.678 MB / 468.7 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.2509, allocations: 1.096 MB / 469.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008015/0.259, allocations: 6.233 MB / 476 MB, free: 3.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.259, allocations: 0 / 476 MB, free: 3.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.259, allocations: 0 / 476 MB, free: 3.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003099/0.2593, allocations: 1.375 kB / 476 MB, free: 3.688 MB / 366.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.01132/0.2706, allocations: 4.225 MB / 480.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.2707, allocations: 14.03 kB / 480.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006346/0.277, allocations: 1.889 MB / 482.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/0.2809, allocations: 1.724 MB / 483.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.2811, allocations: 222.2 kB / 484.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005994/0.2817, allocations: 300.4 kB / 484.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.3048, allocations: 10.71 MB / 495.1 MB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.3049, allocations: 39.64 kB / 495.1 MB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008742/0.3058, allocations: 143.9 kB / 495.3 MB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004143/0.3099, allocations: 2.037 MB / 497.3 MB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/0.3315, allocations: 9.308 MB / 0.4947 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0504/0.3819, allocations: 35.41 MB / 0.5293 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/0.3934, allocations: 3.75 MB / 0.533 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/0.3965, allocations: 2.083 MB / 0.535 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008673/0.4051, allocations: 4.665 MB / 0.5396 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/0.4052, allocations: 55.86 kB / 0.5396 GB, free: 7.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.19e-06/0.4052, allocations: 0 / 0.5396 GB, free: 7.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06875/0.474, allocations: 22.42 MB / 0.5615 GB, free: 1.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.4741, allocations: 149.8 kB / 0.5617 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004411/0.4785, allocations: 3.087 MB / 0.5647 GB, free: 13.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002664/0.4787, allocations: 53.7 kB / 0.5647 GB, free: 13.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002435/0.4812, allocations: 2.923 MB / 0.5676 GB, free: 10.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/0.4823, allocations: 0.8216 MB / 0.5684 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002012/0.4843, allocations: 1.187 MB / 0.5696 GB, free: 8.848 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.4845, allocations: 353.9 kB / 0.5699 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004189/0.4887, allocations: 2.342 MB / 0.5722 GB, free: 6.148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007854/0.4966, allocations: 5.785 MB / 0.5778 GB, free: 14.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/0.5095, allocations: 8.824 MB / 0.5864 GB, free: 4.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/0.5096, allocations: 39.94 kB / 0.5865 GB, free: 4.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01719/0.5268, allocations: 8.661 MB / 0.5949 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.87e-05/0.5269, allocations: 56 kB / 0.595 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/0.5271, allocations: 124 kB / 0.5951 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003046/0.5301, allocations: 1.045 MB / 0.5961 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004769/0.5349, allocations: 1.38 MB / 0.5975 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/0.5416, allocations: 5.522 MB / 0.6029 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004234/0.5458, allocations: 335.6 kB / 0.6032 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007907/0.5466, allocations: 356 kB / 0.6035 GB, free: 2.387 MB / 0.4981 GB 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.003545/0.5501, allocations: 1.944 MB / 0.6054 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006158/0.5508, allocations: 286.1 kB / 0.6057 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007892/0.5587, allocations: 3.912 MB / 0.6095 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/0.5587, allocations: 24 kB / 0.6095 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.5587, allocations: 11.94 kB / 0.6096 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.5587, allocations: 7.969 kB / 0.6096 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.5745, allocations: 7.655 MB / 0.617 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.5745, allocations: 3.938 kB / 0.617 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.5763, allocations: 355.4 kB / 0.6174 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/0.5791, allocations: 0.8734 MB / 0.6182 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.5793, allocations: 36 kB / 0.6183 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005896/0.5852, allocations: 4.846 MB / 0.623 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.5852, allocations: 7.984 kB / 0.623 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/0.5969, allocations: 6.866 MB / 0.6297 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008138/0.5977, allocations: 245.9 kB / 0.6299 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/0.5981, allocations: 36 kB / 0.63 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.5996, allocations: 119.8 kB / 0.6301 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/0.5999, allocations: 125 kB / 0.6302 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/0.6001, allocations: 56.06 kB / 0.6303 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002861/0.603, allocations: 1.729 MB / 0.632 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.603, allocations: 0 / 0.632 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004395/0.6074, allocations: 0.9452 MB / 0.6329 GB, free: 3.941 MB / 0.5294 GB 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.0004838/0.6078, allocations: 170.9 kB / 0.633 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.188/0.7959, allocations: 5.766 MB / 0.6387 GB, free: 176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7959, allocations: 1.562 kB / 0.6387 GB, free: 176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003749/0.7996, allocations: 2.186 MB / 0.6408 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.8015, allocations: 276.4 kB / 0.6411 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.8157, allocations: 9.008 MB / 0.6499 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003367/0.8191, allocations: 2.479 MB / 0.6523 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004224/0.8233, allocations: 1.815 MB / 0.6541 GB, free: 171 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000804/0.8241, allocations: 222.5 kB / 0.6543 GB, free: 171 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.8241, allocations: 0 / 0.6543 GB, free: 171 MB / 0.5294 GB Notification: Performance of Templates: time 0.05022/0.8743, allocations: 29.69 MB / 0.6833 GB, free: 151.1 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.542500279843807]