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.0008194/0.0008194, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001914, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0008123/0.0008123, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001841, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9463/0.9463, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1876/1.134, allocations: 49.49 MB / 220.5 MB, free: 5.27 MB / 218.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.1542/0.1542, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02259/0.1768, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.663e-06/1.663e-06, allocations: 0 / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.987e-05, allocations: 10.25 kB / 267.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.008461/0.008481, allocations: 10.13 MB / 277.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005898/0.01438, allocations: 3.337 MB / 280.7 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008763/0.01525, allocations: 63.69 kB / 280.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.01757, allocations: 2.394 MB / 283.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.01952, allocations: 1.313 MB / 284.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.02037, allocations: 0.5377 MB / 285 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002773/0.02314, allocations: 3.033 MB / 288 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.02495, allocations: 2.509 MB / 290.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.0266, allocations: 2.079 MB / 292.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.02792, allocations: 1.551 MB / 294.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.02818, allocations: 284 kB / 294.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.02966, allocations: 0.944 MB / 295.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000863/0.03053, allocations: 1.516 MB / 296.9 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009497/0.03148, allocations: 0.9152 MB / 297.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.03502, allocations: 3.743 MB / 301.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.03504, allocations: 0 / 301.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.03504, allocations: 0 / 301.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.439e-05/0.03509, allocations: 0 / 301.6 MB, free: 3.988 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.005222/0.04031, allocations: 4.841 MB / 306.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.04034, allocations: 12.03 kB / 306.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.04313, allocations: 1.007 MB / 307.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.04482, allocations: 1.348 MB / 308.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.0452, allocations: 230.1 kB / 309 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003956/0.0456, allocations: 300.2 kB / 309.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006522/0.05212, allocations: 4.88 MB / 314.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.85e-05/0.0522, allocations: 39.64 kB / 314.2 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.05249, allocations: 139.9 kB / 314.4 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002104/0.05459, allocations: 1.752 MB / 316.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00528/0.05987, allocations: 2.551 MB / 318.7 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1787/0.2385, allocations: 28.9 MB / 347.6 MB, free: 22.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004254/0.2428, allocations: 1.937 MB / 349.5 MB, free: 22.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.2434, allocations: 455.7 kB / 349.9 MB, free: 22.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004618/0.248, allocations: 3.427 MB / 353.4 MB, free: 21.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.248, allocations: 52.28 kB / 353.4 MB, free: 21.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 4.819e-06/0.2481, allocations: 0 / 353.4 MB, free: 21.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=166): time 0.01694/0.265, allocations: 7.472 MB / 360.9 MB, free: 20.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.265, allocations: 145.5 kB / 361 MB, free: 19.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.2667, allocations: 2.455 MB / 363.5 MB, free: 19.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.2668, allocations: 45.52 kB / 363.5 MB, free: 19.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007922/0.2676, allocations: 2.947 MB / 366.5 MB, free: 17.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.2679, allocations: 0.676 MB / 367.2 MB, free: 16.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007101/0.2686, allocations: 1.117 MB / 368.3 MB, free: 16.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.257e-05/0.2687, allocations: 364.1 kB / 368.6 MB, free: 16.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.2692, allocations: 0.6314 MB / 369.3 MB, free: 16.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.2705, allocations: 4.184 MB / 373.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.2737, allocations: 5.539 MB / 379 MB, free: 4.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.191e-05/0.2738, allocations: 40 kB / 379 MB, free: 4.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004445/0.2782, allocations: 4.038 MB / 383.1 MB, free: 1.648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.2783, allocations: 64 kB / 383.1 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-05/0.2783, allocations: 128 kB / 383.2 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.2789, allocations: 322.7 kB / 383.6 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.2812, allocations: 1.492 MB / 385.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001343/0.2813, allocations: 259 kB / 385.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.2835, allocations: 254.7 kB / 385.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.2838, allocations: 318.9 kB / 385.9 MB, free: 15.02 MB / 346.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.001077/0.2848, allocations: 0.6013 MB / 386.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.2852, allocations: 198.4 kB / 386.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.2865, allocations: 0.9331 MB / 387.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.2865, allocations: 20 kB / 387.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2865, allocations: 3.984 kB / 387.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2865, allocations: 3.984 kB / 387.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005264/0.2918, allocations: 3.591 MB / 391.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.2918, allocations: 4 kB / 391.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007451/0.2925, allocations: 294.9 kB / 391.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005825/0.2931, allocations: 346.3 kB / 391.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005917/0.2937, allocations: 295.7 kB / 392.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.2938, allocations: 28.78 kB / 392.2 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/0.2938, allocations: 13.64 kB / 392.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2938, allocations: 7.938 kB / 392.2 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.2956, allocations: 1.75 MB / 393.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.2958, allocations: 28 kB / 394 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.2963, allocations: 35.75 kB / 394 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.2964, allocations: 92.75 kB / 394.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.2965, allocations: 39.98 kB / 394.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000792/0.2973, allocations: 0.9361 MB / 395.1 MB, free: 6.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2973, allocations: 0 / 395.1 MB, free: 6.664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002891/0.3002, allocations: 0.8553 MB / 395.9 MB, free: 5.809 MB / 346.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.000297/0.3005, allocations: 151.5 kB / 396.1 MB, free: 5.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003089/0.3036, allocations: 2.456 MB / 398.5 MB, free: 3.281 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001787/0.3038, allocations: 108.7 kB / 398.6 MB, free: 3.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.3045, allocations: 0.5469 MB / 399.2 MB, free: 2.625 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3057, allocations: 477.8 kB / 399.6 MB, free: 2.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.3168, allocations: 7.164 MB / 406.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/0.3177, allocations: 1.102 MB / 407.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001262/0.319, allocations: 450.4 kB / 408.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/0.3196, allocations: 489.2 kB / 408.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of SimCode: time 2.515e-06/0.3196, allocations: 0 / 408.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of Templates: time 0.04513/0.3648, allocations: 23.85 MB / 432.7 MB, free: 1.309 MB / 378.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 -ignoreHideResult -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.7020934158936143]