Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001808/0.001808, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001892/0.001892, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.542/1.542, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.84 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2721, allocations: 53.31 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01026/0.2824, allocations: 7.463 MB / 439.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00763/0.29, allocations: 3.299 MB / 442.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.2916, allocations: 31.94 kB / 442.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.2942, allocations: 1.051 MB / 443.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.298, allocations: 1.358 MB / 445.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.2992, allocations: 463.1 kB / 445.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.3033, allocations: 2.659 MB / 448.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.3051, allocations: 1.189 MB / 449.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.3064, allocations: 0.833 MB / 450.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.3083, allocations: 1.332 MB / 451.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004659/0.3088, allocations: 172 kB / 451.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.3108, allocations: 1.053 MB / 452.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.3119, allocations: 1.118 MB / 454.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.3134, allocations: 1.285 MB / 455.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0061/0.3195, allocations: 4.338 MB / 459.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3195, allocations: 0 / 459.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3195, allocations: 0 / 459.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001143/0.3196, allocations: 0 / 459.7 MB, free: 11.61 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.006779/0.3264, allocations: 3.108 MB / 462.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3264, allocations: 12.03 kB / 462.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007233/0.3336, allocations: 1.805 MB / 464.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.3371, allocations: 1.379 MB / 466 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.3372, allocations: 135.3 kB / 466.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007217/0.3379, allocations: 259.7 kB / 466.4 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.3497, allocations: 6.672 MB / 473 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-05/0.3498, allocations: 35.7 kB / 473.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002902/0.3501, allocations: 83.89 kB / 473.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/0.3524, allocations: 1.363 MB / 474.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/0.3652, allocations: 6.045 MB / 480.6 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/0.4026, allocations: 25.59 MB / 0.4943 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007639/0.4102, allocations: 2.6 MB / 0.4968 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.4118, allocations: 0.9931 MB / 0.4978 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00707/0.4188, allocations: 3.98 MB / 0.5017 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.4189, allocations: 39.12 kB / 0.5017 GB, free: 3.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.287e-06/0.4189, allocations: 3.938 kB / 0.5017 GB, free: 3.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02837/0.4472, allocations: 10.45 MB / 0.5119 GB, free: 9.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001642/0.4489, allocations: 1.667 MB / 0.5136 GB, free: 7.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/0.4531, allocations: 2.734 MB / 0.5162 GB, free: 4.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002657/0.4533, allocations: 41.69 kB / 0.5163 GB, free: 4.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001813/0.4551, allocations: 2.171 MB / 0.5184 GB, free: 2.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006451/0.4558, allocations: 0.5234 MB / 0.5189 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.4571, allocations: 0.925 MB / 0.5198 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4572, allocations: 313.1 kB / 0.5201 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.4599, allocations: 1.652 MB / 0.5217 GB, free: 14.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005517/0.4654, allocations: 4.46 MB / 0.5261 GB, free: 8.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008938/0.4743, allocations: 6.554 MB / 0.5325 GB, free: 1.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.748e-05/0.4744, allocations: 28 kB / 0.5325 GB, free: 1.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02196/0.4964, allocations: 8.069 MB / 0.5404 GB, free: 8.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.4965, allocations: 52.03 kB / 0.5404 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0125/0.509, allocations: 3.562 MB / 0.5439 GB, free: 5.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/0.5221, allocations: 2.678 MB / 0.5465 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/0.526, allocations: 1.01 MB / 0.5475 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2527/0.7787, allocations: 9.718 MB / 0.557 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/0.7822, allocations: 337.5 kB / 0.5573 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005799/0.7828, allocations: 283.2 kB / 0.5576 GB, free: 107.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001895/0.7847, allocations: 1.426 MB / 0.559 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.7852, allocations: 243.5 kB / 0.5592 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005335/0.7857, allocations: 332.1 kB / 0.5595 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00545/0.7911, allocations: 2.502 MB / 0.562 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.7912, allocations: 7.906 kB / 0.562 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.7912, allocations: 7.406 kB / 0.562 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.8029, allocations: 6.853 MB / 0.5687 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.8029, allocations: 3.812 kB / 0.5687 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/0.8037, allocations: 179.1 kB / 0.5689 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00446/0.8082, allocations: 1.44 MB / 0.5703 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.8084, allocations: 31.25 kB / 0.5703 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008279/0.8166, allocations: 7.927 MB / 0.578 GB, free: 96.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007376/0.8174, allocations: 1.536 MB / 0.5795 GB, free: 94.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00735/0.8247, allocations: 4.863 MB / 0.5843 GB, free: 89.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/0.8254, allocations: 306.5 kB / 0.5846 GB, free: 89.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/0.8259, allocations: 31.45 kB / 0.5846 GB, free: 89.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.8272, allocations: 119.2 kB / 0.5847 GB, free: 89.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/0.8274, allocations: 79.97 kB / 0.5848 GB, free: 89.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.704e-05/0.8275, allocations: 39.98 kB / 0.5848 GB, free: 89.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002251/0.8298, allocations: 1.681 MB / 0.5865 GB, free: 87.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8298, allocations: 0 / 0.5865 GB, free: 87.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003107/0.8329, allocations: 0.7801 MB / 0.5872 GB, free: 86.96 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003239/0.8332, allocations: 159.8 kB / 0.5874 GB, free: 86.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006249/0.8395, allocations: 4.271 MB / 0.5916 GB, free: 82.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8395, allocations: 4 kB / 0.5916 GB, free: 82.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.8422, allocations: 1.652 MB / 0.5932 GB, free: 80.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.8443, allocations: 280.9 kB / 0.5934 GB, free: 80.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/0.8533, allocations: 6.686 MB / 0.6 GB, free: 73.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.8551, allocations: 2.285 MB / 0.6022 GB, free: 71.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00259/0.8577, allocations: 1.404 MB / 0.6036 GB, free: 70.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.858, allocations: 171.4 kB / 0.6037 GB, free: 69.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/0.858, allocations: 3.938 kB / 0.6037 GB, free: 69.98 MB / 462.1 MB Notification: Performance of Templates: time 0.04469/0.9027, allocations: 30 MB / 0.633 GB, free: 40.11 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.375217073131353]