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.000779/0.000779, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003347/0.003347, allocations: 159 kB / 24.7 MB, free: 9.441 MB / 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 0.8364/0.8364, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.162e-06/1.162e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.05e-05, allocations: 7.484 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.005175/0.005196, allocations: 6.578 MB / 332.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.009555, allocations: 3.097 MB / 335.5 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/0.01013, allocations: 39.81 kB / 335.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.0114, allocations: 1.055 MB / 336.6 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.01324, allocations: 1.424 MB / 338 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.01387, allocations: 490.8 kB / 338.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.01628, allocations: 3.017 MB / 341.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.01763, allocations: 1.577 MB / 343.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.01875, allocations: 1.302 MB / 344.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.01985, allocations: 1.399 MB / 345.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.02002, allocations: 172 kB / 345.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.02105, allocations: 0.967 MB / 346.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008897/0.02194, allocations: 1.172 MB / 348.1 MB, free: 9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.02246, allocations: 0.7202 MB / 348.8 MB, free: 8.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.0252, allocations: 4.368 MB / 353.2 MB, free: 3.895 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.0252, allocations: 0 / 353.2 MB, free: 3.895 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0252, allocations: 0 / 353.2 MB, free: 3.895 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.02523, allocations: 0 / 353.2 MB, free: 3.895 MB / 314.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.003604/0.02883, allocations: 3.064 MB / 356.2 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.02887, allocations: 15.97 kB / 356.2 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/0.0323, allocations: 1.832 MB / 358.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.03371, allocations: 1.325 MB / 359.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.557e-05/0.03379, allocations: 135.4 kB / 359.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003995/0.03418, allocations: 259.7 kB / 359.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005893/0.04008, allocations: 6.705 MB / 366.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/0.04012, allocations: 31.7 kB / 366.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.04029, allocations: 91.89 kB / 366.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/0.04143, allocations: 1.363 MB / 368 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006205/0.04763, allocations: 6.06 MB / 374 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.06477, allocations: 24.16 MB / 398.2 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.06849, allocations: 2.196 MB / 400.4 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008252/0.06931, allocations: 0.9848 MB / 401.4 MB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003005/0.07232, allocations: 2.822 MB / 404.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.07235, allocations: 54.94 kB / 404.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=112): time 2.335e-06/0.07235, allocations: 0 / 404.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.01434/0.08669, allocations: 10.32 MB / 414.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008463/0.08753, allocations: 1.548 MB / 416.1 MB, free: 3.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.08981, allocations: 2.687 MB / 418.8 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.08988, allocations: 41.7 kB / 418.8 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.09105, allocations: 2.159 MB / 421 MB, free: 14.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.09135, allocations: 0.5235 MB / 421.5 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007428/0.0921, allocations: 0.9134 MB / 422.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.09218, allocations: 357.9 kB / 422.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.09371, allocations: 1.676 MB / 424.5 MB, free: 10.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002854/0.09656, allocations: 4.483 MB / 428.9 MB, free: 4.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004712/0.1013, allocations: 6.582 MB / 435.5 MB, free: 13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.285e-05/0.1013, allocations: 28 kB / 435.6 MB, free: 12.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01041/0.1117, allocations: 8.089 MB / 443.6 MB, free: 4.863 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.1118, allocations: 48.19 kB / 443.7 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006003/0.1178, allocations: 3.601 MB / 447.3 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1437/0.2615, allocations: 2.668 MB / 450 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/0.2635, allocations: 1.02 MB / 451 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007562/0.2711, allocations: 9.363 MB / 460.3 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.2729, allocations: 386.6 kB / 460.7 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.2731, allocations: 283.6 kB / 461 MB, free: 105.3 MB / 410.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.001136/0.2743, allocations: 1.424 MB / 462.4 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.2744, allocations: 221.6 kB / 462.6 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.2747, allocations: 302.7 kB / 462.9 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002864/0.2775, allocations: 2.515 MB / 465.4 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2775, allocations: 7.75 kB / 465.5 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2775, allocations: 3.891 kB / 465.5 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006076/0.2836, allocations: 6.236 MB / 471.7 MB, free: 98.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2836, allocations: 3.938 kB / 471.7 MB, free: 98.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.284, allocations: 186.4 kB / 471.9 MB, free: 98.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/0.2862, allocations: 1.441 MB / 473.3 MB, free: 97.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.2863, allocations: 23.98 kB / 473.3 MB, free: 97.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004832/0.2911, allocations: 7.612 MB / 481 MB, free: 89.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000385/0.2915, allocations: 1.422 MB / 482.4 MB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.2958, allocations: 4.832 MB / 487.2 MB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.296, allocations: 225.4 kB / 487.4 MB, free: 82.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.2961, allocations: 27.94 kB / 487.5 MB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005989/0.2967, allocations: 151.7 kB / 487.6 MB, free: 82.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.2969, allocations: 84.42 kB / 487.7 MB, free: 82.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.2969, allocations: 34.95 kB / 487.7 MB, free: 82.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001168/0.2981, allocations: 1.542 MB / 489.3 MB, free: 81.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2981, allocations: 0 / 489.3 MB, free: 81.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002153/0.3002, allocations: 0.8544 MB / 490.1 MB, free: 80.26 MB / 410.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.0002919/0.3005, allocations: 171 kB / 490.3 MB, free: 80.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003491/0.304, allocations: 4.213 MB / 494.5 MB, free: 75.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.304, allocations: 1.531 kB / 494.5 MB, free: 75.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.3054, allocations: 1.581 MB / 496.1 MB, free: 74.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/0.3063, allocations: 244.8 kB / 496.3 MB, free: 74.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/0.3116, allocations: 6.734 MB / 0.4913 GB, free: 67.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.3126, allocations: 1.724 MB / 0.4929 GB, free: 65.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.3129, allocations: 188.5 kB / 0.4931 GB, free: 65.38 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3129, allocations: 0 / 0.4931 GB, free: 65.38 MB / 410.7 MB Notification: Performance of Templates: time 0.04371/0.3566, allocations: 77.03 MB / 0.5684 GB, free: 4.363 MB / 426.7 MB " [Timeout remaining time 660] 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: 7.208091765642166]