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.001607/0.001607, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002207/0.002207, allocations: 213.2 kB / 22.99 MB, free: 5.609 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.444/1.444, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.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 0.001909/0.001909, allocations: 63.89 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2709, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01369/0.2846, allocations: 10.28 MB / 440.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008685/0.2933, allocations: 3.83 MB / 443.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.2952, allocations: 55.81 kB / 444 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.2995, allocations: 1.978 MB / 445.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00494/0.3045, allocations: 1.665 MB / 447.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.3061, allocations: 0.6121 MB / 448.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005041/0.3112, allocations: 3.364 MB / 451.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.3139, allocations: 1.913 MB / 453.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.316, allocations: 1.238 MB / 454.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.3186, allocations: 1.806 MB / 456.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005395/0.3191, allocations: 256 kB / 456.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.3211, allocations: 1.057 MB / 457.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.3227, allocations: 1.597 MB / 459.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.3247, allocations: 1.813 MB / 461.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006879/0.3316, allocations: 5.793 MB / 467.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3316, allocations: 0 / 467.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3316, allocations: 0 / 467.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001343/0.3318, allocations: 0 / 467.1 MB, free: 2.105 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.007739/0.3395, allocations: 4.102 MB / 471.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3395, allocations: 11.88 kB / 471.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006302/0.3458, allocations: 1.8 MB / 473 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/0.35, allocations: 1.932 MB / 474.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.3501, allocations: 188.8 kB / 475.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005483/0.3507, allocations: 255.8 kB / 475.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.3651, allocations: 8.447 MB / 483.8 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.3652, allocations: 35.7 kB / 483.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/0.3656, allocations: 123.9 kB / 483.9 MB, free: 440 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/0.3684, allocations: 1.699 MB / 485.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.3826, allocations: 7.114 MB / 492.7 MB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04196/0.4246, allocations: 34.08 MB / 0.5145 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/0.432, allocations: 3.178 MB / 0.5176 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.434, allocations: 1.368 MB / 0.5189 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007012/0.441, allocations: 4.454 MB / 0.5233 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.4411, allocations: 55.05 kB / 0.5233 GB, free: 11.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.178e-06/0.4411, allocations: 0 / 0.5233 GB, free: 11.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.2353/0.6764, allocations: 11.72 MB / 0.5348 GB, free: 102.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.6764, allocations: 144.5 kB / 0.5349 GB, free: 102.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004858/0.6813, allocations: 3.712 MB / 0.5385 GB, free: 101.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.6815, allocations: 45.61 kB / 0.5386 GB, free: 101.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.6828, allocations: 2.858 MB / 0.5414 GB, free: 99.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.6832, allocations: 0.54 MB / 0.5419 GB, free: 99.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.6843, allocations: 1.09 MB / 0.543 GB, free: 98.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.839e-05/0.6843, allocations: 301.1 kB / 0.5432 GB, free: 98.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.6862, allocations: 1.713 MB / 0.5449 GB, free: 97.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/0.6891, allocations: 5.138 MB / 0.5499 GB, free: 92.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005543/0.6947, allocations: 7.428 MB / 0.5572 GB, free: 86.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.495e-05/0.6947, allocations: 34.84 kB / 0.5572 GB, free: 86.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008059/0.7028, allocations: 6.742 MB / 0.5638 GB, free: 81.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.7029, allocations: 56 kB / 0.5639 GB, free: 81.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.518e-05/0.7029, allocations: 124 kB / 0.564 GB, free: 81.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.7034, allocations: 325.3 kB / 0.5643 GB, free: 80.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/0.7063, allocations: 1.248 MB / 0.5655 GB, free: 79.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.7081, allocations: 2.496 MB / 0.5679 GB, free: 77.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/0.711, allocations: 288.1 kB / 0.5682 GB, free: 76.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/0.7113, allocations: 340.4 kB / 0.5685 GB, free: 76.41 MB / 446.1 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.001763/0.7131, allocations: 1.786 MB / 0.5703 GB, free: 74.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.7135, allocations: 325.8 kB / 0.5706 GB, free: 74.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.7171, allocations: 2.363 MB / 0.5729 GB, free: 71.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.7171, allocations: 12 kB / 0.5729 GB, free: 71.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.7171, allocations: 7.938 kB / 0.5729 GB, free: 71.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.7171, allocations: 7.984 kB / 0.5729 GB, free: 71.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008293/0.7254, allocations: 5.903 MB / 0.5787 GB, free: 65.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.7254, allocations: 4 kB / 0.5787 GB, free: 65.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/0.7262, allocations: 183.8 kB / 0.5789 GB, free: 65.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.728, allocations: 0.7107 MB / 0.5796 GB, free: 65.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-05/0.7281, allocations: 20 kB / 0.5796 GB, free: 65.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/0.7326, allocations: 4.815 MB / 0.5843 GB, free: 60.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7326, allocations: 0 / 0.5843 GB, free: 60.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005442/0.738, allocations: 4.353 MB / 0.5885 GB, free: 55.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000836/0.7389, allocations: 378.8 kB / 0.5889 GB, free: 55.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.7392, allocations: 20 kB / 0.5889 GB, free: 55.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000959/0.7401, allocations: 71.97 kB / 0.589 GB, free: 55.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.7403, allocations: 72.44 kB / 0.5891 GB, free: 55.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/0.7404, allocations: 39.38 kB / 0.5891 GB, free: 55.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002491/0.7429, allocations: 2.315 MB / 0.5914 GB, free: 52.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7429, allocations: 0 / 0.5914 GB, free: 52.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003466/0.7464, allocations: 0.8085 MB / 0.5921 GB, free: 52.03 MB / 446.1 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.0003234/0.7467, allocations: 150.6 kB / 0.5923 GB, free: 51.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004668/0.7514, allocations: 3.907 MB / 0.5961 GB, free: 47.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7514, allocations: 0 / 0.5961 GB, free: 47.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.7525, allocations: 1.042 MB / 0.5971 GB, free: 46.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.7545, allocations: 391.9 kB / 0.5975 GB, free: 46.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009086/0.7635, allocations: 7.439 MB / 0.6048 GB, free: 39.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/0.7655, allocations: 2.777 MB / 0.6075 GB, free: 36.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003008/0.7685, allocations: 1.66 MB / 0.6091 GB, free: 34.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/0.769, allocations: 211.3 kB / 0.6093 GB, free: 34.42 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.769, allocations: 4 kB / 0.6093 GB, free: 34.41 MB / 446.1 MB Notification: Performance of Templates: time 0.04833/0.8173, allocations: 29.49 MB / 0.6381 GB, free: 5.102 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.003258149139583]