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.001825/0.001825, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001933/0.001933, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.571/1.571, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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 1.984e-06/1.984e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.433e-05, allocations: 6.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01118/0.01122, allocations: 7.198 MB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007749/0.01897, allocations: 3.164 MB / 282.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.02032, allocations: 43.81 kB / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.02282, allocations: 1.101 MB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.02701, allocations: 1.424 MB / 285.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.02833, allocations: 494.8 kB / 285.6 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005082/0.03341, allocations: 3.023 MB / 288.6 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1403/0.1737, allocations: 1.624 MB / 290.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.1766, allocations: 1.312 MB / 291.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002771/0.1794, allocations: 1.418 MB / 293 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007238/0.1801, allocations: 173.9 kB / 293.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.1824, allocations: 0.9684 MB / 294.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.184, allocations: 1.179 MB / 295.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.1854, allocations: 0.7166 MB / 296 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005999/0.1914, allocations: 4.373 MB / 300.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1914, allocations: 0 / 300.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1914, allocations: 0 / 300.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.456e-05/0.1915, allocations: 2.125 kB / 300.4 MB, free: 14.43 MB / 266.7 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.007138/0.1987, allocations: 3.624 MB / 304 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1987, allocations: 12.77 kB / 304 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007393/0.2061, allocations: 2.187 MB / 306.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/0.2099, allocations: 1.23 MB / 307.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.21, allocations: 133 kB / 307.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009475/0.211, allocations: 259 kB / 307.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009027/0.22, allocations: 4.351 MB / 312.2 MB, free: 7.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.747e-05/0.2201, allocations: 29.86 kB / 312.2 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/0.2204, allocations: 92 kB / 312.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00183/0.2222, allocations: 1.364 MB / 313.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007137/0.2294, allocations: 2.761 MB / 316.4 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04001/0.2694, allocations: 30.94 MB / 347.4 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007132/0.2765, allocations: 1.496 MB / 348.9 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.2777, allocations: 400.9 kB / 349.3 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007028/0.2847, allocations: 2.612 MB / 351.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.2848, allocations: 53.11 kB / 351.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=112): time 5.45e-06/0.2848, allocations: 0 / 351.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.02769/0.3125, allocations: 7.532 MB / 359.5 MB, free: 7.902 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001915/0.3144, allocations: 2.05 MB / 361.5 MB, free: 5.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006407/0.3208, allocations: 3.119 MB / 364.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005503/0.3213, allocations: 41.7 kB / 364.7 MB, free: 2.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003468/0.3248, allocations: 2.431 MB / 367.1 MB, free: 72 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/0.3263, allocations: 0.5723 MB / 367.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002948/0.3293, allocations: 1.148 MB / 368.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005299/0.3298, allocations: 0.5511 MB / 369.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/0.3324, allocations: 0.6061 MB / 370 MB, free: 13.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008813/0.3412, allocations: 4.902 MB / 374.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/0.354, allocations: 6.079 MB / 381 MB, free: 14.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001674/0.3542, allocations: 28 kB / 381 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02372/0.3779, allocations: 5.916 MB / 386.9 MB, free: 8.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.378, allocations: 48 kB / 387 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01223/0.3902, allocations: 2.454 MB / 389.4 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/0.4036, allocations: 2.255 MB / 391.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/0.4074, allocations: 1.021 MB / 392.7 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.4203, allocations: 6.074 MB / 398.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/0.4254, allocations: 383.6 kB / 399.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/0.4267, allocations: 287.4 kB / 399.4 MB, free: 11.7 MB / 362.7 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.002321/0.429, allocations: 0.5939 MB / 400 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008236/0.4298, allocations: 250.5 kB / 400.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.4307, allocations: 259.7 kB / 400.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005957/0.4366, allocations: 1.471 MB / 402 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/0.4366, allocations: 4 kB / 402 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.282e-05/0.4367, allocations: 7.969 kB / 402 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.4545, allocations: 5.421 MB / 407.4 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.4545, allocations: 0 / 407.4 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009881/0.4555, allocations: 175.8 kB / 407.6 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005117/0.4606, allocations: 1.01 MB / 408.6 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/0.4608, allocations: 35.97 kB / 408.6 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.4708, allocations: 5.498 MB / 414.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001756/0.4726, allocations: 1.909 MB / 416 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009138/0.4817, allocations: 2.839 MB / 418.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009886/0.4827, allocations: 222.4 kB / 419.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/0.4831, allocations: 30.5 kB / 419.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.4845, allocations: 143.8 kB / 419.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/0.4848, allocations: 88.42 kB / 419.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.4849, allocations: 39.98 kB / 419.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002609/0.4875, allocations: 1.229 MB / 420.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4875, allocations: 0 / 420.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004958/0.4925, allocations: 0.8581 MB / 421.5 MB, free: 5.074 MB / 378.7 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.000579/0.4931, allocations: 172.8 kB / 421.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008257/0.5013, allocations: 3.123 MB / 424.8 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.5013, allocations: 4 kB / 424.8 MB, free: 1.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.5046, allocations: 1.226 MB / 426 MB, free: 488 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.5065, allocations: 252.8 kB / 426.2 MB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.5168, allocations: 5.294 MB / 431.5 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/0.5192, allocations: 1.547 MB / 433.1 MB, free: 9.289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003067/0.5222, allocations: 1.209 MB / 434.3 MB, free: 8.074 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.5227, allocations: 164.4 kB / 434.5 MB, free: 7.914 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5227, allocations: 0 / 434.5 MB, free: 7.914 MB / 394.7 MB Notification: Performance of Templates: time 0.1701/0.6928, allocations: 28.68 MB / 463.1 MB, free: 125.1 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 240] 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.130594772985205]