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.0009694/0.0009694, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009775/0.0009775, allocations: 169 kB / 24.14 MB, free: 360 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.9199/0.9199, allocations: 158.6 MB / 186 MB, free: 2.77 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.1433/0.1433, allocations: 32.39 MB / 270.7 MB, free: 14.6 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 2.134e-06/2.134e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.888e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.1599/0.1599, allocations: 10.02 MB / 309.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006842/0.1668, allocations: 3.298 MB / 312.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.1679, allocations: 60.19 kB / 312.5 MB, free: 13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.1716, allocations: 2.534 MB / 315 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.1745, allocations: 1.321 MB / 316.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1759, allocations: 0.5418 MB / 316.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003907/0.1798, allocations: 3.059 MB / 319.9 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.1824, allocations: 2.617 MB / 322.5 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.1845, allocations: 2.019 MB / 324.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.1861, allocations: 1.547 MB / 326.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003954/0.1865, allocations: 287.9 kB / 326.4 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.1878, allocations: 0.9244 MB / 327.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008885/0.1887, allocations: 1.691 MB / 329 MB, free: 220 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.1899, allocations: 1.11 MB / 330.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00387/0.1937, allocations: 3.989 MB / 334.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1937, allocations: 0 / 334.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1937, allocations: 0 / 334.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.323e-05/0.1938, allocations: 0 / 334.1 MB, free: 11.1 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.005137/0.199, allocations: 4.004 MB / 338.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.199, allocations: 8.031 kB / 338.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.2021, allocations: 1.011 MB / 339.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.204, allocations: 1.344 MB / 340.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.2041, allocations: 230.1 kB / 340.7 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000442/0.2046, allocations: 300.4 kB / 341 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007349/0.2119, allocations: 4.889 MB / 345.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.52e-05/0.212, allocations: 35.7 kB / 345.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00032/0.2123, allocations: 143.9 kB / 346 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/0.2144, allocations: 1.74 MB / 347.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0063/0.2207, allocations: 2.54 MB / 350.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0238/0.2445, allocations: 28.92 MB / 379.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/0.2484, allocations: 1.982 MB / 381.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/0.249, allocations: 451.9 kB / 381.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003593/0.2526, allocations: 3.439 MB / 385.1 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2526, allocations: 51.5 kB / 385.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 3.506e-06/0.2526, allocations: 0 / 385.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=166): time 0.01775/0.2704, allocations: 7.625 MB / 392.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.2705, allocations: 149.5 kB / 392.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.2724, allocations: 2.452 MB / 395.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.2724, allocations: 45.7 kB / 395.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.2738, allocations: 2.938 MB / 398.4 MB, free: 8.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.2741, allocations: 0.6744 MB / 399 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008381/0.2749, allocations: 1.124 MB / 400.2 MB, free: 6.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.275, allocations: 361.8 kB / 400.5 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/0.2757, allocations: 0.629 MB / 401.1 MB, free: 5.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.2781, allocations: 4.189 MB / 405.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/0.2819, allocations: 5.537 MB / 410.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.529e-05/0.282, allocations: 40 kB / 410.9 MB, free: 8.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004353/0.2863, allocations: 4.053 MB / 415 MB, free: 4.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.2864, allocations: 60 kB / 415 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.174e-05/0.2865, allocations: 128 kB / 415.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005625/0.287, allocations: 315.3 kB / 415.5 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.2891, allocations: 1.341 MB / 416.8 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001167/0.2892, allocations: 262.9 kB / 417 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.2909, allocations: 255.7 kB / 417.3 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/0.2911, allocations: 316 kB / 417.6 MB, free: 1.754 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.001079/0.2922, allocations: 0.6029 MB / 418.2 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.2925, allocations: 195.8 kB / 418.4 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.2937, allocations: 0.9356 MB / 419.3 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.2937, allocations: 20 kB / 419.4 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2937, allocations: 0 / 419.4 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.2937, allocations: 11.92 kB / 419.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004842/0.2986, allocations: 3.596 MB / 423 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.2986, allocations: 4 kB / 423 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.2992, allocations: 247.6 kB / 423.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005699/0.2997, allocations: 291.8 kB / 423.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.2998, allocations: 27.98 kB / 423.5 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.2998, allocations: 8 kB / 423.5 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2998, allocations: 8 kB / 423.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.3016, allocations: 1.74 MB / 425.3 MB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.302, allocations: 357.8 kB / 425.6 MB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.3022, allocations: 28 kB / 425.7 MB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.3026, allocations: 28 kB / 425.7 MB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.3027, allocations: 96.75 kB / 425.8 MB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.3028, allocations: 39.97 kB / 425.8 MB, free: 9.352 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007665/0.3036, allocations: 0.9393 MB / 426.8 MB, free: 8.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3036, allocations: 0 / 426.8 MB, free: 8.406 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002587/0.3062, allocations: 0.8591 MB / 427.6 MB, free: 7.547 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.0002902/0.3064, allocations: 154.8 kB / 427.8 MB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002784/0.3092, allocations: 2.451 MB / 430.2 MB, free: 4.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001365/0.3094, allocations: 88.16 kB / 430.3 MB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.31, allocations: 0.552 MB / 430.9 MB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.3109, allocations: 296.8 kB / 431.1 MB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007122/0.318, allocations: 6.963 MB / 438.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/0.3188, allocations: 1.089 MB / 439.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009044/0.3197, allocations: 452.9 kB / 439.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/0.3203, allocations: 489.2 kB / 440.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3203, allocations: 0 / 440.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of Templates: time 0.03885/0.3592, allocations: 23.41 MB / 463.5 MB, free: 3.59 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 -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: 4.145568242762238]