Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001028/0.001028, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001033/0.001033, allocations: 167 kB / 25.69 MB, free: 8.414 MB / 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.808/0.808, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.511e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01119/0.01121, allocations: 11.35 MB / 262.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00584/0.01705, allocations: 4.254 MB / 267.2 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.01766, allocations: 83.56 kB / 267.2 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.02031, allocations: 2.951 MB / 270.2 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.02267, allocations: 2.111 MB / 272.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000938/0.02361, allocations: 0.9043 MB / 273.2 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.02683, allocations: 5.271 MB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.02907, allocations: 3.633 MB / 282.1 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.03101, allocations: 2.674 MB / 284.8 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.03292, allocations: 2.517 MB / 287.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003238/0.03324, allocations: 359.9 kB / 287.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.0348, allocations: 1.221 MB / 288.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.03601, allocations: 2.291 MB / 291.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009989/0.03701, allocations: 1.433 MB / 292.6 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.04052, allocations: 5.067 MB / 297.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.04053, allocations: 0 / 297.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.04053, allocations: 0 / 297.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.576e-05/0.04056, allocations: 4 kB / 297.7 MB, free: 8.93 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.004359/0.04492, allocations: 4.914 MB / 302.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.04495, allocations: 16.03 kB / 302.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/0.04804, allocations: 1.261 MB / 303.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.04996, allocations: 1.93 MB / 305.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.05008, allocations: 274.8 kB / 306.1 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005394/0.05062, allocations: 427.6 kB / 306.5 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.05678, allocations: 5.835 MB / 312.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.823e-05/0.05686, allocations: 55.5 kB / 312.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.05713, allocations: 175.8 kB / 312.5 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001568/0.0587, allocations: 1.924 MB / 314.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004979/0.06368, allocations: 3.129 MB / 317.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1295/0.1932, allocations: 34.86 MB / 352.4 MB, free: 75.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/0.1981, allocations: 2.408 MB / 354.8 MB, free: 75.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/0.1987, allocations: 477 kB / 355.3 MB, free: 75.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005104/0.2038, allocations: 4.307 MB / 359.6 MB, free: 74.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2038, allocations: 50.75 kB / 359.7 MB, free: 74.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 3.126e-06/0.2038, allocations: 2.406 kB / 359.7 MB, free: 74.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.01386/0.2176, allocations: 7.203 MB / 366.9 MB, free: 74.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004844/0.2181, allocations: 1.496 MB / 368.4 MB, free: 72.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.2203, allocations: 3.337 MB / 371.7 MB, free: 72.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.97e-05/0.2204, allocations: 53.81 kB / 371.8 MB, free: 72.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00083/0.2212, allocations: 3.355 MB / 375.1 MB, free: 69.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.2215, allocations: 0.8296 MB / 375.9 MB, free: 69.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008569/0.2224, allocations: 1.285 MB / 377.2 MB, free: 69.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.245e-05/0.2224, allocations: 301.1 kB / 377.5 MB, free: 69.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.2235, allocations: 0.8862 MB / 378.4 MB, free: 68.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.2253, allocations: 4.883 MB / 383.3 MB, free: 63.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/0.2284, allocations: 6.481 MB / 389.8 MB, free: 56.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.442e-05/0.2285, allocations: 44 kB / 389.8 MB, free: 55.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.006156/0.2346, allocations: 5.076 MB / 394.9 MB, free: 51.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.2347, allocations: 71.98 kB / 395 MB, free: 51.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003228/0.2379, allocations: 1.177 MB / 396.1 MB, free: 50.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002994/0.2409, allocations: 0.59 MB / 396.7 MB, free: 50.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.243, allocations: 1.534 MB / 398.3 MB, free: 48.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.2461, allocations: 3.116 MB / 401.4 MB, free: 45.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.2483, allocations: 300.8 kB / 401.7 MB, free: 45.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/0.2486, allocations: 366 kB / 402 MB, free: 45.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (857): * Single equations (assignments): 848 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001044/0.2496, allocations: 0.6747 MB / 402.7 MB, free: 44.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.2499, allocations: 247.2 kB / 402.9 MB, free: 44.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.2516, allocations: 1.354 MB / 404.3 MB, free: 43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00121/0.2528, allocations: 0.8479 MB / 405.2 MB, free: 42.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2528, allocations: 8 kB / 405.2 MB, free: 42.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.2528, allocations: 7.969 kB / 405.2 MB, free: 42.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006085/0.2589, allocations: 5.993 MB / 411.2 MB, free: 36.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.2589, allocations: 12 kB / 411.2 MB, free: 36.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006705/0.2596, allocations: 326.5 kB / 411.5 MB, free: 36.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.2606, allocations: 0.5341 MB / 412 MB, free: 35.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/0.2607, allocations: 59.98 kB / 412.1 MB, free: 35.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.2621, allocations: 2.83 MB / 414.9 MB, free: 32.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003011/0.2624, allocations: 1.362 MB / 416.3 MB, free: 31.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.2645, allocations: 2.621 MB / 418.9 MB, free: 28.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.2651, allocations: 495.1 kB / 419.4 MB, free: 27.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.2653, allocations: 63.97 kB / 419.4 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007341/0.2661, allocations: 48 kB / 419.5 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.2662, allocations: 180.3 kB / 419.7 MB, free: 27.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.2663, allocations: 59.98 kB / 419.7 MB, free: 27.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000763/0.267, allocations: 1.225 MB / 420.9 MB, free: 26.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.267, allocations: 0 / 420.9 MB, free: 26.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0032/0.2702, allocations: 1.289 MB / 422.2 MB, free: 25.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003489/0.2706, allocations: 224.8 kB / 422.5 MB, free: 24.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003097/0.2737, allocations: 3.247 MB / 425.7 MB, free: 21.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001339/0.2738, allocations: 104.2 kB / 425.8 MB, free: 21.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.2749, allocations: 1.011 MB / 426.8 MB, free: 20.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.2764, allocations: 0.6816 MB / 427.5 MB, free: 19.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007127/0.2836, allocations: 8.58 MB / 436.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.2844, allocations: 1.325 MB / 437.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00109/0.2855, allocations: 0.539 MB / 437.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/0.2863, allocations: 0.6066 MB / 438.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.2863, allocations: 4 kB / 438.6 MB, free: 8.633 MB / 330.7 MB Notification: Performance of Templates: time 0.05002/0.3363, allocations: 40.16 MB / 478.7 MB, free: 0.5312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.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.900811784900725]