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.001148/0.001148, 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.001387/0.001387, 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.9403/0.9403, allocations: 158.6 MB / 186 MB, free: 2.746 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.1398/0.1398, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.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.643e-06/1.643e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.406e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.1475/0.1475, allocations: 10.07 MB / 309.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007663/0.1552, allocations: 3.298 MB / 312.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.1571, allocations: 63.81 kB / 312.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.1608, allocations: 2.497 MB / 315 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.1642, allocations: 1.312 MB / 316.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.1654, allocations: 0.545 MB / 316.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.1688, allocations: 3.048 MB / 319.9 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.1715, allocations: 2.615 MB / 322.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.174, allocations: 2.015 MB / 324.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.176, allocations: 1.551 MB / 326.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005185/0.1765, allocations: 284 kB / 326.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.1778, allocations: 0.9439 MB / 327.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009115/0.1788, allocations: 1.698 MB / 329 MB, free: 140 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.1802, allocations: 1.098 MB / 330.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004945/0.1851, allocations: 3.989 MB / 334.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1851, allocations: 0 / 334.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1851, allocations: 4 kB / 334.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001408/0.1853, allocations: 3.938 kB / 334.1 MB, free: 11.02 MB / 298.7 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.00577/0.1911, allocations: 4 MB / 338.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1911, allocations: 8.031 kB / 338.1 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.1939, allocations: 1.011 MB / 339.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.1962, allocations: 1.352 MB / 340.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.1963, allocations: 222.2 kB / 340.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.1967, allocations: 300.4 kB / 341 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008153/0.2048, allocations: 4.895 MB / 345.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.756e-05/0.2049, allocations: 35.64 kB / 346 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.2052, allocations: 144.4 kB / 346.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001579/0.2068, allocations: 1.736 MB / 347.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005705/0.2125, allocations: 2.536 MB / 350.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.2383, allocations: 28.94 MB / 379.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.2425, allocations: 1.969 MB / 381.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.2431, allocations: 456.9 kB / 381.7 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004326/0.2474, allocations: 3.443 MB / 385.2 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.2474, allocations: 55.5 kB / 385.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 4.929e-06/0.2474, allocations: 4 kB / 385.2 MB, free: 6.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=166): time 0.01928/0.2667, allocations: 7.625 MB / 392.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.2668, allocations: 149.5 kB / 393 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.269, allocations: 2.448 MB / 395.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.2691, allocations: 45.7 kB / 395.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.2706, allocations: 2.942 MB / 398.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/0.2711, allocations: 0.6744 MB / 399.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008993/0.272, allocations: 1.116 MB / 400.2 MB, free: 6.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2721, allocations: 365.8 kB / 400.6 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000741/0.2728, allocations: 0.629 MB / 401.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.2752, allocations: 4.189 MB / 405.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/0.2794, allocations: 5.533 MB / 410.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.508e-05/0.2794, allocations: 36 kB / 411 MB, free: 8.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.005093/0.2845, allocations: 4.041 MB / 415 MB, free: 4.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.67e-05/0.2846, allocations: 63.98 kB / 415.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/0.2847, allocations: 132 kB / 415.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006736/0.2854, allocations: 315.8 kB / 415.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/0.288, allocations: 1.404 MB / 416.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001281/0.2882, allocations: 262.9 kB / 417.2 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.2903, allocations: 259.7 kB / 417.4 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/0.2906, allocations: 316 kB / 417.7 MB, free: 1.621 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * 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 (745): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001168/0.2917, allocations: 0.6068 MB / 418.3 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.292, allocations: 187.8 kB / 418.5 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.2935, allocations: 0.9433 MB / 419.5 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.2935, allocations: 20 kB / 419.5 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.2935, allocations: 4 kB / 419.5 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.2935, allocations: 7.969 kB / 419.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/0.2991, allocations: 3.592 MB / 423.1 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.2991, allocations: 192 / 423.1 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.2999, allocations: 275.6 kB / 423.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007216/0.3006, allocations: 291.6 kB / 423.6 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.3007, allocations: 28 kB / 423.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.3007, allocations: 11.94 kB / 423.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3007, allocations: 3.984 kB / 423.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.3027, allocations: 1.75 MB / 425.4 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005713/0.3033, allocations: 353.8 kB / 425.8 MB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.3035, allocations: 24 kB / 425.8 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.3039, allocations: 28 kB / 425.8 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.3041, allocations: 92.81 kB / 425.9 MB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.3042, allocations: 43.92 kB / 426 MB, free: 9.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008511/0.305, allocations: 0.9432 MB / 426.9 MB, free: 8.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.305, allocations: 0 / 426.9 MB, free: 8.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002894/0.3079, allocations: 0.8553 MB / 427.8 MB, free: 7.391 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (143): * Single equations (assignments): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003275/0.3082, allocations: 142 kB / 427.9 MB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003432/0.3117, allocations: 2.451 MB / 430.3 MB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001638/0.3118, allocations: 100.2 kB / 430.4 MB, free: 4.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.3128, allocations: 0.5442 MB / 431 MB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.3139, allocations: 297.5 kB / 431.3 MB, free: 3.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009805/0.3237, allocations: 6.973 MB / 438.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009387/0.3246, allocations: 1.089 MB / 439.3 MB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001177/0.3258, allocations: 448.9 kB / 439.8 MB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006642/0.3265, allocations: 493.2 kB / 440.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.495e-06/0.3265, allocations: 0 / 440.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of Templates: time 0.03726/0.3637, allocations: 23.44 MB / 463.7 MB, free: 3.41 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.872486049775034]