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.001361/0.001361, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001486/0.001486, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.433/1.433, allocations: 230.3 MB / 258 MB, free: 8.223 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.00282/0.00282, allocations: 63.89 kB / 378.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2486, allocations: 53.36 MB / 432.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009481/0.258, allocations: 7.479 MB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006033/0.2641, allocations: 3.293 MB / 442.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005703/0.2646, allocations: 39.81 kB / 442.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.2668, allocations: 1.051 MB / 444 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.2696, allocations: 1.374 MB / 445.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009217/0.2705, allocations: 459.2 kB / 445.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003426/0.274, allocations: 2.661 MB / 448.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.2755, allocations: 1.182 MB / 449.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.2765, allocations: 0.8525 MB / 450.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.2782, allocations: 1.335 MB / 451.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003231/0.2785, allocations: 172 kB / 452 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.2803, allocations: 1.049 MB / 453.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.2814, allocations: 1.114 MB / 454.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.2828, allocations: 1.297 MB / 455.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.2878, allocations: 4.334 MB / 459.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2878, allocations: 0 / 459.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2878, allocations: 0 / 459.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.063e-05/0.2878, allocations: 0 / 459.8 MB, free: 11.25 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.005802/0.2936, allocations: 3.029 MB / 462.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2936, allocations: 19.97 kB / 462.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007212/0.3009, allocations: 1.801 MB / 464.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.3043, allocations: 1.325 MB / 466 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.3044, allocations: 131.3 kB / 466.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007565/0.3051, allocations: 255.8 kB / 466.4 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.3181, allocations: 6.679 MB / 473 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.457e-05/0.3182, allocations: 31.7 kB / 473.1 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.3185, allocations: 91.88 kB / 473.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002368/0.3209, allocations: 1.359 MB / 474.5 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.333, allocations: 6.04 MB / 480.6 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03345/0.3664, allocations: 25.49 MB / 0.4942 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007419/0.3738, allocations: 2.16 MB / 0.4963 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.3753, allocations: 0.9848 MB / 0.4973 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005578/0.3809, allocations: 2.999 MB / 0.5002 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.3809, allocations: 47 kB / 0.5002 GB, free: 5.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 2.956e-06/0.3809, allocations: 0 / 0.5002 GB, free: 5.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02826/0.4092, allocations: 10.14 MB / 0.5101 GB, free: 11.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00152/0.4107, allocations: 1.568 MB / 0.5117 GB, free: 9.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/0.4147, allocations: 2.718 MB / 0.5143 GB, free: 6.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.4149, allocations: 45.73 kB / 0.5144 GB, free: 6.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001836/0.4167, allocations: 2.167 MB / 0.5165 GB, free: 4.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005873/0.4173, allocations: 0.5311 MB / 0.517 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.4186, allocations: 0.9292 MB / 0.5179 GB, free: 3.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4188, allocations: 309 kB / 0.5182 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/0.4215, allocations: 1.66 MB / 0.5198 GB, free: 1.039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/0.4268, allocations: 4.46 MB / 0.5242 GB, free: 11.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008755/0.4356, allocations: 6.557 MB / 0.5306 GB, free: 3.227 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.26e-05/0.4357, allocations: 28 kB / 0.5306 GB, free: 3.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02174/0.4574, allocations: 8.069 MB / 0.5385 GB, free: 11.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.718e-05/0.4575, allocations: 48.19 kB / 0.5385 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01239/0.4699, allocations: 3.554 MB / 0.542 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01268/0.4826, allocations: 2.674 MB / 0.5446 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/0.4858, allocations: 1.01 MB / 0.5456 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2247/0.7105, allocations: 9.525 MB / 0.5549 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/0.7138, allocations: 330 kB / 0.5552 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004517/0.7143, allocations: 282.4 kB / 0.5555 GB, free: 107.7 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.002376/0.7167, allocations: 1.421 MB / 0.5569 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.7171, allocations: 248.1 kB / 0.5571 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.7176, allocations: 330.2 kB / 0.5574 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005393/0.723, allocations: 2.507 MB / 0.5599 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.723, allocations: 4.781 kB / 0.5599 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.723, allocations: 9.016 kB / 0.5599 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.7347, allocations: 6.776 MB / 0.5665 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.7347, allocations: 0 / 0.5665 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/0.7355, allocations: 176 kB / 0.5667 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004672/0.7402, allocations: 1.439 MB / 0.5681 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.7403, allocations: 34.84 kB / 0.5681 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008412/0.7488, allocations: 7.713 MB / 0.5756 GB, free: 98.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006827/0.7494, allocations: 1.441 MB / 0.577 GB, free: 96.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007471/0.7569, allocations: 4.858 MB / 0.5818 GB, free: 92.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.7575, allocations: 233.4 kB / 0.582 GB, free: 92.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/0.7578, allocations: 27.58 kB / 0.582 GB, free: 92.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.7589, allocations: 115 kB / 0.5822 GB, free: 91.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.7591, allocations: 79.39 kB / 0.5822 GB, free: 91.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-05/0.7592, allocations: 39.98 kB / 0.5823 GB, free: 91.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001977/0.7612, allocations: 1.689 MB / 0.5839 GB, free: 90.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7612, allocations: 3.469 kB / 0.5839 GB, free: 90.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003265/0.7645, allocations: 0.7704 MB / 0.5847 GB, free: 89.32 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.0003674/0.7648, allocations: 164.5 kB / 0.5848 GB, free: 89.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005978/0.7708, allocations: 4.2 MB / 0.5889 GB, free: 85.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7708, allocations: 6.734 kB / 0.5889 GB, free: 85.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.7735, allocations: 1.568 MB / 0.5905 GB, free: 83.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.775, allocations: 273.1 kB / 0.5907 GB, free: 83.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007423/0.7824, allocations: 6.678 MB / 0.5972 GB, free: 76.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.784, allocations: 2.29 MB / 0.5995 GB, free: 74.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002334/0.7863, allocations: 1.415 MB / 0.6009 GB, free: 72.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.7867, allocations: 163.4 kB / 0.601 GB, free: 72.56 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7867, allocations: 0 / 0.601 GB, free: 72.56 MB / 462.1 MB Notification: Performance of Templates: time 0.0446/0.8313, allocations: 31.96 MB / 0.6322 GB, free: 40.75 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.08054113201797]