Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001324/0.001324, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.001449/0.001449, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.668/1.668, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2448/0.2448, allocations: 46.92 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.91 kB / 0.4921 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1536, allocations: 65.99 MB / 0.5565 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01418/0.1678, allocations: 10.56 MB / 0.5668 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008412/0.1762, allocations: 3.256 MB / 0.57 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.1785, allocations: 59.75 kB / 0.5701 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005413/0.1839, allocations: 2.406 MB / 0.5724 GB, free: 5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0045/0.1884, allocations: 1.256 MB / 0.5736 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.1903, allocations: 0.5146 MB / 0.5741 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004953/0.1952, allocations: 2.928 MB / 0.577 GB, free: 296 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00412/0.1993, allocations: 2.576 MB / 0.5795 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.202, allocations: 1.289 MB / 0.5808 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/0.2056, allocations: 1.853 MB / 0.5826 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.2068, allocations: 296 kB / 0.5829 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.2096, allocations: 1.03 MB / 0.5839 GB, free: 9.191 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002389/0.212, allocations: 1.62 MB / 0.5855 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003782/0.2158, allocations: 1.957 MB / 0.5874 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3043/0.5201, allocations: 6.263 MB / 0.5935 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5201, allocations: 0.9688 kB / 0.5935 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5201, allocations: 0 / 0.5935 GB, free: 14.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002304/0.5203, allocations: 2.844 kB / 0.5935 GB, free: 14.65 MB / 446.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.009219/0.5295, allocations: 4.351 MB / 0.5977 GB, free: 12.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.5296, allocations: 9.344 kB / 0.5978 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006844/0.5364, allocations: 1.836 MB / 0.5995 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004476/0.5409, allocations: 1.777 MB / 0.6013 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/0.5411, allocations: 229.3 kB / 0.6015 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009116/0.5421, allocations: 303.7 kB / 0.6018 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/0.5654, allocations: 10.65 MB / 0.6122 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.5655, allocations: 35.75 kB / 0.6122 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005144/0.566, allocations: 142.2 kB / 0.6124 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003888/0.5699, allocations: 2.041 MB / 0.6144 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.027/0.5969, allocations: 9.352 MB / 0.6235 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06513/0.6621, allocations: 37.9 MB / 0.6605 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.6739, allocations: 4.05 MB / 0.6645 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/0.6773, allocations: 2.071 MB / 0.6665 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.6884, allocations: 6.108 MB / 0.6724 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.6885, allocations: 47.88 kB / 0.6725 GB, free: 5.965 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.41e-06/0.6885, allocations: 4 kB / 0.6725 GB, free: 5.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=210): time 0.07178/0.7602, allocations: 22.22 MB / 0.6942 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.7604, allocations: 153.8 kB / 0.6943 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006941/0.7673, allocations: 3.378 MB / 0.6976 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000538/0.7679, allocations: 56.28 kB / 0.6977 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002777/0.7706, allocations: 2.922 MB / 0.7005 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/0.772, allocations: 0.8277 MB / 0.7014 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00313/0.7751, allocations: 1.199 MB / 0.7025 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.7753, allocations: 309.1 kB / 0.7028 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004373/0.7796, allocations: 2.342 MB / 0.7051 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008094/0.7877, allocations: 5.801 MB / 0.7108 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/0.8008, allocations: 8.814 MB / 0.7194 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001366/0.8009, allocations: 36 kB / 0.7194 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01941/0.8203, allocations: 8.698 MB / 0.7279 GB, free: 10.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.8205, allocations: 66.09 kB / 0.728 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002538/0.8207, allocations: 120 kB / 0.7281 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/0.8239, allocations: 1.039 MB / 0.7291 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005267/0.8291, allocations: 1.38 MB / 0.7304 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007425/0.8366, allocations: 5.822 MB / 0.7361 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/0.8417, allocations: 323.6 kB / 0.7364 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/0.8431, allocations: 370.2 kB / 0.7368 GB, free: 0.9688 MB / 0.545 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.004902/0.848, allocations: 1.931 MB / 0.7387 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.8491, allocations: 333.8 kB / 0.739 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00874/0.8578, allocations: 3.939 MB / 0.7428 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-05/0.8579, allocations: 24 kB / 0.7429 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.8579, allocations: 4 kB / 0.7429 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-05/0.8579, allocations: 15.95 kB / 0.7429 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/0.8773, allocations: 8.81 MB / 0.7515 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.8773, allocations: 0 / 0.7515 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/0.8792, allocations: 355.5 kB / 0.7518 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/0.8819, allocations: 0.8757 MB / 0.7527 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/0.8823, allocations: 36 kB / 0.7527 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006162/0.8884, allocations: 5.126 MB / 0.7577 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.8884, allocations: 7.969 kB / 0.7577 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/0.9009, allocations: 6.903 MB / 0.7645 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.902, allocations: 378.7 kB / 0.7648 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007937/0.9028, allocations: 38.5 kB / 0.7649 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.9047, allocations: 119.8 kB / 0.765 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004047/0.9051, allocations: 117.1 kB / 0.7651 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/0.9053, allocations: 60 kB / 0.7652 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004473/0.9098, allocations: 2.075 MB / 0.7672 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9098, allocations: 0 / 0.7672 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005422/0.9152, allocations: 0.9551 MB / 0.7681 GB, free: 500 kB / 0.5762 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.0006448/0.9158, allocations: 171.2 kB / 0.7683 GB, free: 320 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01197/0.9278, allocations: 5.914 MB / 0.7741 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.9278, allocations: 0 / 0.7741 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004711/0.9325, allocations: 2.353 MB / 0.7764 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/0.9358, allocations: 356.5 kB / 0.7767 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/0.9574, allocations: 9.606 MB / 0.7861 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005744/0.9631, allocations: 3.025 MB / 0.789 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/0.9648, allocations: 279.4 kB / 0.7893 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of SimCode: time 1.383e-06/0.9648, allocations: 4 kB / 0.7893 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Templates: time 0.4664/1.431, allocations: 125.1 MB / 0.9115 GB, free: 162 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.078229818987893]