Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 116.9 kB / 18.41 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 190.9 kB / 21.35 MB, free: 1.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 247.1 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 47.92 kB / 358.7 MB, free: 8.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1091, allocations: 49.43 MB / 408.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01577/0.1249, allocations: 12.01 MB / 420.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009665/0.1347, allocations: 4.191 MB / 424.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.1368, allocations: 67.81 kB / 424.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00575/0.1426, allocations: 2.752 MB / 427.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.1484, allocations: 1.976 MB / 429.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.1505, allocations: 0.8033 MB / 429.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2231/0.3737, allocations: 4.606 MB / 434.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004318/0.3781, allocations: 3.543 MB / 438.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.3807, allocations: 1.691 MB / 439.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.3842, allocations: 2.334 MB / 442.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.3852, allocations: 351.5 kB / 442.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.3879, allocations: 1.284 MB / 443.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002376/0.3903, allocations: 2.095 MB / 445.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003191/0.3935, allocations: 2.431 MB / 448.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009001/0.4025, allocations: 7.559 MB / 455.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4026, allocations: 1.125 kB / 455.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4026, allocations: 0 / 455.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002763/0.4029, allocations: 0 / 455.8 MB, free: 1.375 MB / 350.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.01473/0.4176, allocations: 5.407 MB / 461.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4177, allocations: 9.625 kB / 461.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009002/0.4267, allocations: 2.155 MB / 463.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005557/0.4322, allocations: 2.542 MB / 465.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.4325, allocations: 275.3 kB / 466.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001385/0.4339, allocations: 430.6 kB / 466.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0268/0.4607, allocations: 12.22 MB / 478.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.4608, allocations: 51.67 kB / 478.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005517/0.4614, allocations: 174.1 kB / 479 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00369/0.4651, allocations: 2.161 MB / 481.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02428/0.4894, allocations: 10.22 MB / 491.4 MB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06333/0.5528, allocations: 44.2 MB / 0.5231 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.5653, allocations: 4.606 MB / 0.5276 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/0.5683, allocations: 1.73 MB / 0.5292 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01449/0.5829, allocations: 8.236 MB / 0.5373 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.583, allocations: 55.81 kB / 0.5373 GB, free: 6.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 5.009e-06/0.583, allocations: 0 / 0.5373 GB, free: 6.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.05122/0.6342, allocations: 16.17 MB / 0.5531 GB, free: 6.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001791/0.636, allocations: 1.692 MB / 0.5548 GB, free: 4.664 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009139/0.6452, allocations: 4.208 MB / 0.5589 GB, free: 448 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005882/0.6458, allocations: 49.7 kB / 0.5589 GB, free: 392 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003688/0.6495, allocations: 3.559 MB / 0.5624 GB, free: 12.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001435/0.651, allocations: 0.8375 MB / 0.5632 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004107/0.6551, allocations: 1.372 MB / 0.5646 GB, free: 10.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6553, allocations: 305.1 kB / 0.5649 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/0.6602, allocations: 2.266 MB / 0.5671 GB, free: 8.121 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009327/0.6696, allocations: 6.392 MB / 0.5733 GB, free: 15.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/0.6835, allocations: 9.323 MB / 0.5824 GB, free: 4.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001487/0.6837, allocations: 40 kB / 0.5825 GB, free: 4.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02855/0.7122, allocations: 10.07 MB / 0.5923 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.7125, allocations: 72.17 kB / 0.5924 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01271/0.7252, allocations: 3.798 MB / 0.5961 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/0.7359, allocations: 2.164 MB / 0.5982 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005738/0.7417, allocations: 1.587 MB / 0.5997 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.7521, allocations: 6.605 MB / 0.6062 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005693/0.7578, allocations: 427.5 kB / 0.6066 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001471/0.7593, allocations: 422.5 kB / 0.607 GB, free: 10.86 MB / 0.5137 GB 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.005714/0.7651, allocations: 2.214 MB / 0.6092 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/0.7661, allocations: 393.4 kB / 0.6095 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007613/0.7737, allocations: 3.282 MB / 0.6127 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005817/0.7796, allocations: 2.748 MB / 0.6154 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.7796, allocations: 4 kB / 0.6154 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.7796, allocations: 7.969 kB / 0.6154 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2319/1.012, allocations: 10.34 MB / 0.6255 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-05/1.012, allocations: 13.44 kB / 0.6255 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.013, allocations: 363.3 kB / 0.6259 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/1.016, allocations: 0.9887 MB / 0.6269 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/1.017, allocations: 66.03 kB / 0.6269 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004889/1.021, allocations: 4.904 MB / 0.6317 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007764/1.022, allocations: 1.562 MB / 0.6332 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008767/1.031, allocations: 5.938 MB / 0.639 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/1.032, allocations: 458.7 kB / 0.6395 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/1.033, allocations: 59.2 kB / 0.6395 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/1.034, allocations: 144 kB / 0.6397 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/1.034, allocations: 175.4 kB / 0.6398 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.035, allocations: 76.53 kB / 0.6399 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003775/1.038, allocations: 2.592 MB / 0.6424 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/1.038, allocations: 1.531 kB / 0.6424 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005055/1.043, allocations: 1.163 MB / 0.6436 GB, free: 164.4 MB / 0.5137 GB 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.0004406/1.044, allocations: 226.6 kB / 0.6438 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008269/1.052, allocations: 6.036 MB / 0.6497 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.052, allocations: 2.875 kB / 0.6497 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003467/1.056, allocations: 2.201 MB / 0.6518 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/1.059, allocations: 0.4928 MB / 0.6523 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/1.075, allocations: 11.25 MB / 0.6633 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003295/1.078, allocations: 3.451 MB / 0.6667 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009879/1.079, allocations: 322.6 kB / 0.667 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/1.079, allocations: 0 / 0.667 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.1156/1.195, allocations: 141.9 MB / 0.8056 GB, free: 9.07 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.648575637023896]