Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001788/0.001788, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.002151/0.002151, allocations: 213.7 kB / 23 MB, free: 5.629 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.415/1.415, allocations: 230.2 MB / 256.2 MB, free: 8.566 MB / 206.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.88 kB / 376.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2658, allocations: 53.32 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009334/0.2751, allocations: 7.476 MB / 437.3 MB, free: 52 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.2817, allocations: 3.285 MB / 440.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009729/0.2827, allocations: 35.94 kB / 440.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.2849, allocations: 1.051 MB / 441.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.2882, allocations: 1.362 MB / 443 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.2893, allocations: 463.1 kB / 443.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003453/0.2927, allocations: 2.664 MB / 446.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.2943, allocations: 1.185 MB / 447.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.2953, allocations: 0.833 MB / 448.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.2969, allocations: 1.339 MB / 449.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003041/0.2972, allocations: 168 kB / 449.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.299, allocations: 1.049 MB / 450.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3, allocations: 1.114 MB / 451.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.3012, allocations: 1.293 MB / 453.1 MB, free: 156 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004664/0.3059, allocations: 4.334 MB / 457.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3059, allocations: 4 kB / 457.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3059, allocations: 4 kB / 457.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.002e-05/0.306, allocations: 0 / 457.4 MB, free: 11.8 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.005843/0.3118, allocations: 3.101 MB / 460.5 MB, free: 8.633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3118, allocations: 8.031 kB / 460.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006753/0.3186, allocations: 1.809 MB / 462.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.3214, allocations: 1.379 MB / 463.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.3215, allocations: 135.3 kB / 463.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006488/0.3221, allocations: 251.8 kB / 464.1 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.3336, allocations: 6.676 MB / 470.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.155e-05/0.3337, allocations: 31.7 kB / 470.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/0.3339, allocations: 87.89 kB / 470.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002223/0.3362, allocations: 1.359 MB / 472.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.3479, allocations: 6.056 MB / 478.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03124/0.3791, allocations: 25.58 MB / 0.4921 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006974/0.3861, allocations: 2.608 MB / 0.4946 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.3876, allocations: 0.985 MB / 0.4956 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006011/0.3936, allocations: 3.98 MB / 0.4995 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.3936, allocations: 55.11 kB / 0.4995 GB, free: 3.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.046e-06/0.3936, allocations: 3.938 kB / 0.4995 GB, free: 3.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02724/0.4209, allocations: 10.44 MB / 0.5097 GB, free: 9.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001567/0.4224, allocations: 1.663 MB / 0.5114 GB, free: 7.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/0.4265, allocations: 2.73 MB / 0.514 GB, free: 4.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003121/0.4268, allocations: 41.7 kB / 0.5141 GB, free: 4.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.4285, allocations: 2.167 MB / 0.5162 GB, free: 2.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006897/0.4292, allocations: 0.5273 MB / 0.5167 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/0.4305, allocations: 0.9329 MB / 0.5176 GB, free: 1.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4306, allocations: 305.1 kB / 0.5179 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/0.4332, allocations: 1.656 MB / 0.5195 GB, free: 15.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004717/0.4379, allocations: 4.46 MB / 0.5239 GB, free: 9.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008564/0.4464, allocations: 6.555 MB / 0.5303 GB, free: 1.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001671/0.4466, allocations: 35.94 kB / 0.5303 GB, free: 1.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02154/0.4681, allocations: 8.061 MB / 0.5382 GB, free: 9.137 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.485e-05/0.4682, allocations: 51.98 kB / 0.5382 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0119/0.4801, allocations: 3.558 MB / 0.5417 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/0.4923, allocations: 2.673 MB / 0.5443 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.4955, allocations: 1.018 MB / 0.5453 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2179/0.7134, allocations: 9.715 MB / 0.5548 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.7166, allocations: 334.2 kB / 0.5551 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003531/0.7169, allocations: 289.2 kB / 0.5554 GB, free: 107.3 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.001487/0.7184, allocations: 1.416 MB / 0.5568 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.7187, allocations: 246.2 kB / 0.557 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.7192, allocations: 326.8 kB / 0.5573 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005113/0.7243, allocations: 2.516 MB / 0.5598 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.7243, allocations: 3.906 kB / 0.5598 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.7243, allocations: 3.75 kB / 0.5598 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.735, allocations: 6.856 MB / 0.5665 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.735, allocations: 0 / 0.5665 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/0.7357, allocations: 180.6 kB / 0.5667 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004209/0.7399, allocations: 1.435 MB / 0.5681 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.74, allocations: 30.06 kB / 0.5681 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008103/0.7481, allocations: 7.927 MB / 0.5758 GB, free: 96.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007033/0.7488, allocations: 1.542 MB / 0.5773 GB, free: 94.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007599/0.7564, allocations: 4.861 MB / 0.5821 GB, free: 90.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/0.757, allocations: 306.8 kB / 0.5824 GB, free: 89.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.7573, allocations: 35.44 kB / 0.5824 GB, free: 89.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.7583, allocations: 119.3 kB / 0.5825 GB, free: 89.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.7586, allocations: 76.09 kB / 0.5826 GB, free: 89.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.486e-05/0.7587, allocations: 42.06 kB / 0.5826 GB, free: 89.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001853/0.7606, allocations: 1.685 MB / 0.5843 GB, free: 87.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7606, allocations: 3.656 kB / 0.5843 GB, free: 87.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003173/0.7637, allocations: 0.774 MB / 0.585 GB, free: 87.05 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.0003386/0.7641, allocations: 156.9 kB / 0.5852 GB, free: 86.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005761/0.7698, allocations: 4.278 MB / 0.5894 GB, free: 82.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7698, allocations: 0 / 0.5894 GB, free: 82.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.7724, allocations: 1.656 MB / 0.591 GB, free: 80.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.774, allocations: 271 kB / 0.5912 GB, free: 80.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008039/0.782, allocations: 6.678 MB / 0.5978 GB, free: 73.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.7835, allocations: 2.293 MB / 0.6 GB, free: 71.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002401/0.7859, allocations: 1.408 MB / 0.6014 GB, free: 70.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.7863, allocations: 163.4 kB / 0.6015 GB, free: 70.09 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7863, allocations: 0 / 0.6015 GB, free: 70.09 MB / 462.1 MB Notification: Performance of Templates: time 0.04346/0.8297, allocations: 30 MB / 0.6308 GB, free: 40.21 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.006834854371846]