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.001857/0.001857, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002371/0.002371, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.53/1.53, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.001983/0.001983, allocations: 63.91 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2655, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009182/0.2747, allocations: 6.585 MB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006668/0.2814, allocations: 3.071 MB / 441.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000835/0.2822, allocations: 43.81 kB / 441.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002198/0.2844, allocations: 1.008 MB / 442.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.2877, allocations: 1.381 MB / 443.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.2888, allocations: 459.1 kB / 444.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003533/0.2923, allocations: 2.665 MB / 446.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.2941, allocations: 1.315 MB / 448.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.2953, allocations: 0.8524 MB / 449 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.297, allocations: 1.281 MB / 450.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.2973, allocations: 172 kB / 450.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.2991, allocations: 0.9165 MB / 451.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.3003, allocations: 1.126 MB / 452.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.3014, allocations: 0.9314 MB / 453.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005335/0.3068, allocations: 4.345 MB / 457.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3068, allocations: 4 kB / 457.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3068, allocations: 0 / 457.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.226e-05/0.3068, allocations: 3.938 kB / 457.8 MB, free: 12.26 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.00589/0.3127, allocations: 3.021 MB / 460.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3127, allocations: 11.98 kB / 460.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006911/0.3197, allocations: 1.816 MB / 462.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.3228, allocations: 1.321 MB / 464 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.323, allocations: 143.2 kB / 464.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006839/0.3236, allocations: 255.7 kB / 464.3 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.3351, allocations: 6.705 MB / 471 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.85e-05/0.3352, allocations: 31.7 kB / 471.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.3354, allocations: 87.89 kB / 471.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.3377, allocations: 1.363 MB / 472.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.3497, allocations: 6.025 MB / 478.5 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03423/0.3839, allocations: 24.05 MB / 0.4908 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007252/0.3912, allocations: 2.144 MB / 0.4929 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.3928, allocations: 0.9886 MB / 0.4939 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006254/0.399, allocations: 2.73 MB / 0.4965 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.3991, allocations: 47.06 kB / 0.4966 GB, free: 8.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 4.008e-06/0.3991, allocations: 0 / 0.4966 GB, free: 8.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02787/0.4269, allocations: 10.14 MB / 0.5065 GB, free: 13.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001418/0.4283, allocations: 1.541 MB / 0.508 GB, free: 12.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003754/0.4321, allocations: 2.609 MB / 0.5105 GB, free: 9.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.4322, allocations: 41.7 kB / 0.5106 GB, free: 9.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.4339, allocations: 2.186 MB / 0.5127 GB, free: 7.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/0.4345, allocations: 0.5273 MB / 0.5132 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.4358, allocations: 0.9289 MB / 0.5141 GB, free: 5.867 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.436, allocations: 357.9 kB / 0.5145 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.4389, allocations: 1.66 MB / 0.5161 GB, free: 3.844 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005092/0.444, allocations: 4.46 MB / 0.5205 GB, free: 13.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008739/0.4527, allocations: 6.551 MB / 0.5269 GB, free: 6.035 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/0.4529, allocations: 28 kB / 0.5269 GB, free: 6.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02122/0.4741, allocations: 8.06 MB / 0.5348 GB, free: 13.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.922e-05/0.4742, allocations: 44.97 kB / 0.5348 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0125/0.4867, allocations: 3.554 MB / 0.5383 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/0.4993, allocations: 2.682 MB / 0.5409 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/0.5026, allocations: 1.01 MB / 0.5419 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2618/0.7645, allocations: 9.35 MB / 0.551 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/0.7684, allocations: 335.2 kB / 0.5513 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006554/0.7691, allocations: 283 kB / 0.5516 GB, free: 108.9 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.002273/0.7714, allocations: 1.425 MB / 0.553 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/0.7718, allocations: 217.9 kB / 0.5532 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.7723, allocations: 310 kB / 0.5535 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005794/0.7781, allocations: 2.509 MB / 0.5559 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.7781, allocations: 3.938 kB / 0.5559 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.7781, allocations: 7.547 kB / 0.5559 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.7898, allocations: 6.185 MB / 0.562 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7898, allocations: 0 / 0.562 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007802/0.7906, allocations: 175.8 kB / 0.5622 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00438/0.795, allocations: 1.44 MB / 0.5636 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.7951, allocations: 27.03 kB / 0.5636 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008354/0.8035, allocations: 7.611 MB / 0.571 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007059/0.8042, allocations: 1.425 MB / 0.5724 GB, free: 99.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007657/0.8118, allocations: 4.829 MB / 0.5771 GB, free: 95.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005534/0.8124, allocations: 213.1 kB / 0.5773 GB, free: 95.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.8126, allocations: 27.59 kB / 0.5774 GB, free: 95.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.8137, allocations: 111.8 kB / 0.5775 GB, free: 95.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.8139, allocations: 86.53 kB / 0.5775 GB, free: 95.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-05/0.814, allocations: 39.86 kB / 0.5776 GB, free: 95.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001839/0.8158, allocations: 1.483 MB / 0.579 GB, free: 93.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8158, allocations: 0 / 0.579 GB, free: 93.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003434/0.8193, allocations: 0.77 MB / 0.5798 GB, free: 92.84 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.0003383/0.8196, allocations: 161.6 kB / 0.5799 GB, free: 92.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006149/0.8258, allocations: 4.201 MB / 0.584 GB, free: 88.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8258, allocations: 0 / 0.584 GB, free: 88.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002668/0.8284, allocations: 1.577 MB / 0.5856 GB, free: 86.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.8299, allocations: 240.5 kB / 0.5858 GB, free: 86.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.8386, allocations: 6.624 MB / 0.5923 GB, free: 80.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.8402, allocations: 1.724 MB / 0.594 GB, free: 78.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002495/0.8427, allocations: 1.379 MB / 0.5953 GB, free: 76.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.843, allocations: 159.4 kB / 0.5955 GB, free: 76.8 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.843, allocations: 4 kB / 0.5955 GB, free: 76.79 MB / 462.1 MB Notification: Performance of Templates: time 0.04221/0.8852, allocations: 29.24 MB / 0.624 GB, free: 47.84 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.381681628525257]