Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001006/0.001006, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001653/0.001653, allocations: 160.5 kB / 24.55 MB, free: 20 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.004/1.004, allocations: 177 MB / 204.8 MB, free: 5.586 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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.418e-05, allocations: 2.312 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.009151/0.009175, allocations: 9.965 MB / 282.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006521/0.0157, allocations: 3.72 MB / 286.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.017, allocations: 67.69 kB / 286.7 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.0196, allocations: 2.094 MB / 288.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1326/0.1522, allocations: 1.734 MB / 290.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1538, allocations: 0.6623 MB / 291.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004295/0.1581, allocations: 3.748 MB / 294.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003276/0.1613, allocations: 2.452 MB / 297.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.1642, allocations: 1.903 MB / 299.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.1667, allocations: 1.864 MB / 301.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007316/0.1674, allocations: 259.9 kB / 301.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.1691, allocations: 0.9703 MB / 302.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.1704, allocations: 1.674 MB / 304 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.1719, allocations: 1.041 MB / 305.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.1759, allocations: 3.81 MB / 308.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1759, allocations: 0 / 308.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1759, allocations: 0 / 308.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000162/0.1761, allocations: 0 / 308.9 MB, free: 10.44 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005214/0.1813, allocations: 4.369 MB / 313.2 MB, free: 7.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1813, allocations: 11.98 kB / 313.2 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/0.1849, allocations: 2.188 MB / 315.4 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.1868, allocations: 1.733 MB / 317.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.1868, allocations: 190 kB / 317.4 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.1871, allocations: 258.1 kB / 317.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005882/0.193, allocations: 5.271 MB / 322.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.147e-05/0.1931, allocations: 39.45 kB / 322.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/0.1933, allocations: 124.3 kB / 323 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.195, allocations: 1.7 MB / 324.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005755/0.2008, allocations: 2.765 MB / 327.5 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02747/0.2283, allocations: 38.62 MB / 366.1 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.2322, allocations: 1.614 MB / 367.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007485/0.2329, allocations: 494.8 kB / 368.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003954/0.2369, allocations: 3.165 MB / 371.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.2369, allocations: 52.67 kB / 371.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 4.168e-06/0.2369, allocations: 4 kB / 371.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.01518/0.2521, allocations: 8.487 MB / 379.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.2522, allocations: 143.8 kB / 380.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/0.2556, allocations: 3.183 MB / 383.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/0.2557, allocations: 41.7 kB / 383.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.2574, allocations: 3.003 MB / 386.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.2578, allocations: 0.558 MB / 386.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009897/0.2588, allocations: 1.16 MB / 388 MB, free: 11.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2589, allocations: 480.8 kB / 388.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009503/0.2599, allocations: 0.553 MB / 389 MB, free: 10.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003549/0.2634, allocations: 5.631 MB / 394.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005619/0.269, allocations: 6.819 MB / 401.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.914e-05/0.2691, allocations: 39.94 kB / 401.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00712/0.2763, allocations: 4.665 MB / 406.2 MB, free: 4.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/0.2763, allocations: 59.98 kB / 406.2 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.2764, allocations: 124 kB / 406.4 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.277, allocations: 340 kB / 406.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.2792, allocations: 1.251 MB / 408 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.2814, allocations: 2.421 MB / 410.4 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.2835, allocations: 311.6 kB / 410.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003625/0.2839, allocations: 339.9 kB / 411 MB, free: 15.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001237/0.2851, allocations: 0.6103 MB / 411.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/0.2855, allocations: 318.1 kB / 411.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.2876, allocations: 1.311 MB / 413.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.2876, allocations: 20 kB / 413.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2876, allocations: 3.938 kB / 413.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2876, allocations: 11.97 kB / 413.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/0.2942, allocations: 4.202 MB / 417.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.2942, allocations: 0 / 417.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/0.2947, allocations: 179.9 kB / 417.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.2958, allocations: 447.8 kB / 418.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.968e-05/0.2958, allocations: 20 kB / 418.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.2984, allocations: 2.919 MB / 421 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2984, allocations: 3.938 kB / 421 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.3013, allocations: 2.284 MB / 423.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.3017, allocations: 278 kB / 423.6 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.3018, allocations: 20.06 kB / 423.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.3024, allocations: 91.86 kB / 423.7 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.3025, allocations: 76.45 kB / 423.8 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.3026, allocations: 32 kB / 423.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001805/0.3044, allocations: 1.35 MB / 425.2 MB, free: 1.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3044, allocations: 0 / 425.2 MB, free: 1.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002817/0.3072, allocations: 0.8779 MB / 426 MB, free: 184 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003497/0.3076, allocations: 170 kB / 426.2 MB, free: 8 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003551/0.3111, allocations: 2.548 MB / 428.7 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3111, allocations: 4 kB / 428.7 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.3118, allocations: 0.6208 MB / 429.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.313, allocations: 347.6 kB / 429.7 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008637/0.3217, allocations: 5.941 MB / 435.7 MB, free: 6.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008648/0.3225, allocations: 1.006 MB / 436.7 MB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002187/0.3247, allocations: 1.404 MB / 438.1 MB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.3252, allocations: 196.4 kB / 438.3 MB, free: 3.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.944e-06/0.3252, allocations: 4 kB / 438.3 MB, free: 3.836 MB / 394.7 MB Notification: Performance of Templates: time 0.1714/0.4966, allocations: 25.74 MB / 464 MB, free: 124.4 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.13260452542454]