Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001879/0.001879, allocations: 80.3 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002234/0.002234, allocations: 158.6 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 61.89 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1391, allocations: 53.37 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01373/0.1529, allocations: 10.48 MB / 389.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008887/0.1618, allocations: 4.017 MB / 393.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.1638, allocations: 91.56 kB / 393.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00594/0.1697, allocations: 2.679 MB / 396.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005983/0.1757, allocations: 2 MB / 398.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.1779, allocations: 0.8073 MB / 399 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007023/0.1849, allocations: 4.69 MB / 403.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/0.1897, allocations: 2.914 MB / 406.6 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.1931, allocations: 1.713 MB / 408.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004376/0.1975, allocations: 2.383 MB / 410.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.1988, allocations: 352 kB / 411 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.2018, allocations: 1.159 MB / 412.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003165/0.205, allocations: 2.142 MB / 414.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004745/0.2097, allocations: 1.802 MB / 416.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.2205, allocations: 7.528 MB / 423.7 MB, free: 2.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2205, allocations: 4 kB / 423.7 MB, free: 2.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.432e-06/0.2205, allocations: 4 kB / 423.7 MB, free: 2.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002897/0.2208, allocations: 0 / 423.7 MB, free: 2.512 MB / 382.1 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.01392/0.2347, allocations: 5.299 MB / 429 MB, free: 13.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2348, allocations: 8.031 kB / 429 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009988/0.2448, allocations: 2.369 MB / 431.3 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007138/0.2519, allocations: 2.445 MB / 433.8 MB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.2522, allocations: 266.9 kB / 434 MB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.2537, allocations: 435.6 kB / 434.5 MB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02762/0.2813, allocations: 12.36 MB / 446.8 MB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/0.2815, allocations: 47.58 kB / 446.9 MB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/0.2831, allocations: 175.8 kB / 447 MB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004195/0.2873, allocations: 2.17 MB / 449.2 MB, free: 8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/0.3123, allocations: 10.25 MB / 459.5 MB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.248/0.5602, allocations: 41.52 MB / 0.4892 GB, free: 51.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.5718, allocations: 3.986 MB / 0.4931 GB, free: 50.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.5738, allocations: 1.619 MB / 0.4947 GB, free: 49.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00973/0.5835, allocations: 6.53 MB / 0.5011 GB, free: 47.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.5836, allocations: 62.59 kB / 0.5012 GB, free: 47.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=183): time 4.588e-06/0.5836, allocations: 0 / 0.5012 GB, free: 47.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=205): time 0.03994/0.6235, allocations: 16.44 MB / 0.5172 GB, free: 35.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001096/0.6246, allocations: 1.571 MB / 0.5187 GB, free: 33.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/0.6303, allocations: 3.974 MB / 0.5226 GB, free: 29.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005643/0.6309, allocations: 53.7 kB / 0.5227 GB, free: 29.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002258/0.6331, allocations: 3.577 MB / 0.5262 GB, free: 26.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009244/0.6341, allocations: 0.8434 MB / 0.527 GB, free: 25.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002373/0.6364, allocations: 1.37 MB / 0.5283 GB, free: 24.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.6365, allocations: 305.1 kB / 0.5286 GB, free: 23.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003219/0.6397, allocations: 2.309 MB / 0.5309 GB, free: 21.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/0.6442, allocations: 6.426 MB / 0.5372 GB, free: 13.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008055/0.6522, allocations: 9.37 MB / 0.5463 GB, free: 1.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/0.6524, allocations: 40 kB / 0.5463 GB, free: 1.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02552/0.6779, allocations: 10.19 MB / 0.5563 GB, free: 7.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.6781, allocations: 68 kB / 0.5564 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01324/0.6913, allocations: 3.897 MB / 0.5602 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/0.7028, allocations: 2.254 MB / 0.5624 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005789/0.7086, allocations: 1.602 MB / 0.5639 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.719, allocations: 6.314 MB / 0.5701 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005361/0.7244, allocations: 483.4 kB / 0.5706 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/0.7255, allocations: 416.4 kB / 0.571 GB, free: 8.148 MB / 462.1 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.004333/0.7298, allocations: 2.208 MB / 0.5731 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008652/0.7307, allocations: 361.5 kB / 0.5735 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007467/0.7381, allocations: 3.278 MB / 0.5767 GB, free: 2.266 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00591/0.744, allocations: 2.773 MB / 0.5794 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.7441, allocations: 4 kB / 0.5794 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.659e-05/0.7441, allocations: 11.81 kB / 0.5794 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/0.7645, allocations: 9.028 MB / 0.5882 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.863e-05/0.7646, allocations: 12 kB / 0.5882 GB, free: 6.191 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.7663, allocations: 375.5 kB / 0.5886 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/0.7694, allocations: 0.9902 MB / 0.5895 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.7696, allocations: 59.97 kB / 0.5896 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005827/0.7755, allocations: 4.642 MB / 0.5941 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001362/0.7768, allocations: 1.428 MB / 0.5955 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.788, allocations: 5.946 MB / 0.6013 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009695/0.789, allocations: 337.6 kB / 0.6016 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005788/0.7896, allocations: 59.97 kB / 0.6017 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/0.7916, allocations: 163.8 kB / 0.6019 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.7919, allocations: 180.3 kB / 0.602 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.7921, allocations: 87.47 kB / 0.6021 GB, free: 7.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004377/0.7965, allocations: 2.265 MB / 0.6043 GB, free: 5.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7965, allocations: 0 / 0.6043 GB, free: 5.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005767/0.8022, allocations: 1.137 MB / 0.6054 GB, free: 4.039 MB / 494.1 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.0006286/0.8029, allocations: 206 kB / 0.6056 GB, free: 3.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01207/0.8149, allocations: 5.688 MB / 0.6112 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/0.815, allocations: 4 kB / 0.6112 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004534/0.8195, allocations: 1.976 MB / 0.6131 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.8231, allocations: 436.1 kB / 0.6135 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.8435, allocations: 10.82 MB / 0.6241 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005338/0.8488, allocations: 2.923 MB / 0.6269 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00522/0.854, allocations: 1.985 MB / 0.6289 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009898/0.855, allocations: 260.4 kB / 0.6291 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.855, allocations: 0 / 0.6291 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.07492/0.9299, allocations: 34.1 MB / 0.6624 GB, free: 9.855 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.822208944009617]