Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001999/0.001999, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002391/0.002391, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 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.525/1.525, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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",fileNamePrefix="Modelica_4.1.0_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.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",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.587e-05, allocations: 2.312 kB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01457/0.0146, allocations: 10.46 MB / 282.8 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.02463, allocations: 4.024 MB / 286.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.02656, allocations: 83.56 kB / 286.9 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0064/0.03296, allocations: 2.865 MB / 289.8 MB, free: 300 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1182/0.1512, allocations: 2.054 MB / 291.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.1531, allocations: 0.8849 MB / 292.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006822/0.1599, allocations: 5.385 MB / 298.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/0.1643, allocations: 3.536 MB / 301.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.1691, allocations: 2.607 MB / 304.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.1727, allocations: 2.611 MB / 306.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000966/0.1737, allocations: 358.8 kB / 307.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.176, allocations: 1.223 MB / 308.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.1777, allocations: 2.246 MB / 310.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.18, allocations: 1.404 MB / 312.1 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007691/0.1877, allocations: 7.562 MB / 319.6 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1877, allocations: 0 / 319.6 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1877, allocations: 0 / 319.6 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001799/0.1879, allocations: 0 / 319.6 MB, free: 0.5742 MB / 266.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.01192/0.1998, allocations: 5.368 MB / 325 MB, free: 11.26 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1998, allocations: 8.031 kB / 325 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.2103, allocations: 2.899 MB / 327.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.2162, allocations: 2.436 MB / 330.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.2165, allocations: 270.6 kB / 330.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.2179, allocations: 436.1 kB / 331 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/0.244, allocations: 12.35 MB / 343.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.2442, allocations: 52.69 kB / 343.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005109/0.2447, allocations: 173.6 kB / 343.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003804/0.2485, allocations: 2.172 MB / 345.8 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02391/0.2724, allocations: 10.25 MB / 356 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06114/0.3335, allocations: 41.7 MB / 397.7 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.346, allocations: 3.999 MB / 401.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.3489, allocations: 1.621 MB / 403.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01365/0.3626, allocations: 6.643 MB / 410 MB, free: 5.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/0.3627, allocations: 57.55 kB / 410 MB, free: 5.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 5.33e-06/0.3627, allocations: 0 / 410 MB, free: 5.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.04516/0.4078, allocations: 16.64 MB / 426.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001633/0.4095, allocations: 1.563 MB / 428.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1155/0.5249, allocations: 4.126 MB / 432.4 MB, free: 121.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003706/0.5253, allocations: 55.23 kB / 432.4 MB, free: 121.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001851/0.5272, allocations: 3.533 MB / 436 MB, free: 119.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/0.528, allocations: 0.839 MB / 436.8 MB, free: 119 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001767/0.5297, allocations: 1.35 MB / 438.1 MB, free: 118.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.582e-05/0.5298, allocations: 306 kB / 438.4 MB, free: 118 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003707/0.5335, allocations: 2.325 MB / 440.8 MB, free: 117.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004986/0.5385, allocations: 6.462 MB / 447.2 MB, free: 111.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008281/0.5467, allocations: 9.381 MB / 456.6 MB, free: 103.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001519/0.5469, allocations: 42.81 kB / 456.7 MB, free: 103.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02469/0.5716, allocations: 10.61 MB / 467.3 MB, free: 99.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.5717, allocations: 68 kB / 467.3 MB, free: 99.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0144/0.5861, allocations: 3.93 MB / 471.3 MB, free: 96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.5968, allocations: 2.265 MB / 473.5 MB, free: 93.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004898/0.6017, allocations: 1.61 MB / 475.1 MB, free: 92.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007232/0.6089, allocations: 6.329 MB / 481.5 MB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/0.6148, allocations: 0.55 MB / 482 MB, free: 85.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/0.6158, allocations: 416 kB / 482.4 MB, free: 84.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * 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 (856): * Single equations (assignments): 847 * 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.003167/0.619, allocations: 2.216 MB / 484.6 MB, free: 82.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009133/0.6199, allocations: 414.2 kB / 485 MB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005411/0.6253, allocations: 3.271 MB / 488.3 MB, free: 78.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004347/0.6297, allocations: 2.767 MB / 491.1 MB, free: 75.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6297, allocations: 4 kB / 491.1 MB, free: 75.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.6297, allocations: 7.969 kB / 491.1 MB, free: 75.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.6434, allocations: 9.139 MB / 0.4885 GB, free: 66.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.6434, allocations: 12 kB / 0.4885 GB, free: 66.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.6447, allocations: 379.4 kB / 0.4889 GB, free: 66.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/0.6473, allocations: 0.9801 MB / 0.4898 GB, free: 65.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/0.6475, allocations: 67.97 kB / 0.4899 GB, free: 65.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.6514, allocations: 4.667 MB / 0.4945 GB, free: 60.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006195/0.652, allocations: 1.431 MB / 0.4959 GB, free: 58.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008/0.66, allocations: 5.977 MB / 0.5017 GB, free: 52.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.661, allocations: 373.4 kB / 0.502 GB, free: 52.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/0.6614, allocations: 63.97 kB / 0.5021 GB, free: 52.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.6632, allocations: 219.7 kB / 0.5023 GB, free: 51.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/0.6635, allocations: 176.4 kB / 0.5025 GB, free: 51.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.6636, allocations: 79.8 kB / 0.5026 GB, free: 51.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002715/0.6663, allocations: 2.379 MB / 0.5049 GB, free: 49.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6663, allocations: 0 / 0.5049 GB, free: 49.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005297/0.6716, allocations: 1.258 MB / 0.5061 GB, free: 48.02 MB / 378.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.0004445/0.672, allocations: 228.3 kB / 0.5063 GB, free: 47.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00856/0.6806, allocations: 5.723 MB / 0.5119 GB, free: 42.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/0.6806, allocations: 4 kB / 0.5119 GB, free: 42.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.6839, allocations: 1.972 MB / 0.5139 GB, free: 40.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.6866, allocations: 481.2 kB / 0.5143 GB, free: 39.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.6992, allocations: 10.73 MB / 0.5248 GB, free: 28.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002721/0.7019, allocations: 2.926 MB / 0.5276 GB, free: 25.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004221/0.7061, allocations: 1.989 MB / 0.5296 GB, free: 23.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000694/0.7068, allocations: 264.4 kB / 0.5298 GB, free: 23.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7068, allocations: 0 / 0.5298 GB, free: 23.43 MB / 378.7 MB Notification: Performance of Templates: time 0.1908/0.8976, allocations: 36.11 MB / 0.5651 GB, free: 118.5 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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: 6.9015248119831085]