Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 119.6 kB / 20.44 MB, free: 1.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 217.2 kB / 23.74 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 51.92 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2709, allocations: 53.35 MB / 431.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009611/0.2805, allocations: 7.461 MB / 439.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007214/0.2877, allocations: 3.308 MB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.289, allocations: 39.81 kB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002724/0.2917, allocations: 1.051 MB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.2957, allocations: 1.376 MB / 444.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.297, allocations: 459.1 kB / 445.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004432/0.3015, allocations: 2.66 MB / 448 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.3041, allocations: 1.316 MB / 449.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.3061, allocations: 0.8718 MB / 450.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.3085, allocations: 1.32 MB / 451.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006645/0.3092, allocations: 172 kB / 451.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.3116, allocations: 1.053 MB / 452.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.3129, allocations: 1.122 MB / 453.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.3143, allocations: 1.285 MB / 455.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005471/0.3197, allocations: 4.339 MB / 459.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3197, allocations: 3.938 kB / 459.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3197, allocations: 0 / 459.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.807e-05/0.3198, allocations: 0 / 459.5 MB, free: 11.02 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.006261/0.3261, allocations: 3.033 MB / 462.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.3261, allocations: 8.031 kB / 462.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006832/0.333, allocations: 1.805 MB / 464.3 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/0.3364, allocations: 1.317 MB / 465.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.3365, allocations: 139.3 kB / 465.8 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000683/0.3372, allocations: 259.7 kB / 466 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.3491, allocations: 6.664 MB / 472.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.109e-05/0.3492, allocations: 31.77 kB / 472.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.3495, allocations: 87.89 kB / 472.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002204/0.3517, allocations: 1.366 MB / 474.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.3641, allocations: 6.048 MB / 480.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03681/0.4009, allocations: 25.49 MB / 0.4938 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007037/0.4079, allocations: 2.165 MB / 0.496 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.4094, allocations: 0.9891 MB / 0.4969 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006308/0.4158, allocations: 2.987 MB / 0.4998 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.4158, allocations: 50.98 kB / 0.4999 GB, free: 5.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.236e-06/0.4158, allocations: 4 kB / 0.4999 GB, free: 5.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02926/0.4451, allocations: 10.13 MB / 0.5098 GB, free: 10.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001599/0.4467, allocations: 1.572 MB / 0.5113 GB, free: 9.246 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/0.4519, allocations: 2.726 MB / 0.514 GB, free: 6.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000295/0.4522, allocations: 41.7 kB / 0.514 GB, free: 6.453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002022/0.4543, allocations: 2.167 MB / 0.5161 GB, free: 4.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008758/0.4551, allocations: 0.5273 MB / 0.5166 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00197/0.4571, allocations: 0.925 MB / 0.5176 GB, free: 2.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4573, allocations: 309 kB / 0.5178 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/0.4606, allocations: 1.66 MB / 0.5195 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005989/0.4666, allocations: 4.468 MB / 0.5238 GB, free: 10.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008987/0.4755, allocations: 6.55 MB / 0.5302 GB, free: 3.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.951e-05/0.4756, allocations: 28 kB / 0.5303 GB, free: 2.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02148/0.4971, allocations: 8.074 MB / 0.5381 GB, free: 10.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.4972, allocations: 48 kB / 0.5382 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01224/0.5095, allocations: 3.558 MB / 0.5417 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01256/0.522, allocations: 2.674 MB / 0.5443 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/0.5256, allocations: 1.01 MB / 0.5453 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2633/0.7889, allocations: 9.512 MB / 0.5545 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006826/0.7957, allocations: 332.6 kB / 0.5549 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009877/0.7967, allocations: 285.5 kB / 0.5551 GB, free: 107.5 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.003394/0.8001, allocations: 1.417 MB / 0.5565 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006382/0.8007, allocations: 245.1 kB / 0.5568 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008411/0.8015, allocations: 336 kB / 0.5571 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0103/0.8118, allocations: 2.5 MB / 0.5595 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.8119, allocations: 11.27 kB / 0.5595 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.8119, allocations: 3.891 kB / 0.5595 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02065/0.8325, allocations: 6.783 MB / 0.5662 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.8326, allocations: 3 kB / 0.5662 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.834, allocations: 173.5 kB / 0.5663 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008282/0.8423, allocations: 1.438 MB / 0.5677 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/0.8425, allocations: 31.17 kB / 0.5678 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/0.8568, allocations: 7.706 MB / 0.5753 GB, free: 98.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009763/0.8578, allocations: 1.445 MB / 0.5767 GB, free: 96.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.8698, allocations: 4.868 MB / 0.5814 GB, free: 91.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.8704, allocations: 235 kB / 0.5817 GB, free: 91.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.8706, allocations: 31.27 kB / 0.5817 GB, free: 91.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.8716, allocations: 107.8 kB / 0.5818 GB, free: 91.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.8719, allocations: 85.45 kB / 0.5819 GB, free: 91.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.612e-05/0.872, allocations: 39.98 kB / 0.5819 GB, free: 91.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001921/0.8739, allocations: 1.689 MB / 0.5836 GB, free: 89.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8739, allocations: 0 / 0.5836 GB, free: 89.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003081/0.877, allocations: 0.7737 MB / 0.5843 GB, free: 89.09 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.0003011/0.8773, allocations: 160.6 kB / 0.5845 GB, free: 88.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005885/0.8832, allocations: 4.2 MB / 0.5886 GB, free: 84.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8832, allocations: 0 / 0.5886 GB, free: 84.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002498/0.8857, allocations: 1.582 MB / 0.5901 GB, free: 83.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.8871, allocations: 264.1 kB / 0.5904 GB, free: 82.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007487/0.8946, allocations: 6.678 MB / 0.5969 GB, free: 76.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.8961, allocations: 2.291 MB / 0.5991 GB, free: 73.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002365/0.8985, allocations: 1.408 MB / 0.6005 GB, free: 72.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.8988, allocations: 163.4 kB / 0.6007 GB, free: 72.34 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.8988, allocations: 4 kB / 0.6007 GB, free: 72.33 MB / 462.1 MB Notification: Performance of Templates: time 0.04636/0.9452, allocations: 31.97 MB / 0.6319 GB, free: 40.53 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.39092569402419]