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.00187/0.00187, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002374/0.002374, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.002055/0.002055, allocations: 71.8 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2737, allocations: 53.4 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01173/0.2854, allocations: 8.987 MB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007678/0.2931, allocations: 3.611 MB / 444.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.2942, allocations: 71.62 kB / 444.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003821/0.298, allocations: 1.904 MB / 446.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.3022, allocations: 1.673 MB / 447.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.3037, allocations: 0.616 MB / 448.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004686/0.3084, allocations: 3.357 MB / 451.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.311, allocations: 2.106 MB / 454 MB, free: 60 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.3128, allocations: 1.25 MB / 455.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.3153, allocations: 1.717 MB / 456.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000563/0.3159, allocations: 252 kB / 457.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.3178, allocations: 0.9206 MB / 458.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.3194, allocations: 1.601 MB / 459.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.321, allocations: 1.335 MB / 461 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0068/0.3278, allocations: 5.819 MB / 466.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3279, allocations: 0 / 466.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3279, allocations: 4 kB / 466.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001417/0.328, allocations: 0 / 466.8 MB, free: 3.121 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.008139/0.3361, allocations: 4.026 MB / 470.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3362, allocations: 11.98 kB / 470.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006757/0.3429, allocations: 1.792 MB / 472.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005046/0.348, allocations: 1.876 MB / 474.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.3482, allocations: 196.8 kB / 474.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008177/0.349, allocations: 255.8 kB / 475 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.3657, allocations: 8.476 MB / 483.5 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.3658, allocations: 39.64 kB / 483.5 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007519/0.3666, allocations: 131.8 kB / 483.6 MB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003272/0.3698, allocations: 1.692 MB / 485.3 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.3851, allocations: 7.09 MB / 492.4 MB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04507/0.4302, allocations: 32.06 MB / 0.5122 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007989/0.4382, allocations: 2.73 MB / 0.5149 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.4404, allocations: 1.368 MB / 0.5162 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008481/0.4489, allocations: 3.293 MB / 0.5194 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/0.449, allocations: 55.09 kB / 0.5195 GB, free: 196 kB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.128e-06/0.449, allocations: 0 / 0.5195 GB, free: 196 kB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03193/0.4809, allocations: 11.52 MB / 0.5307 GB, free: 4.598 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.481, allocations: 145.1 kB / 0.5309 GB, free: 4.426 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/0.4863, allocations: 3.427 MB / 0.5342 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.4865, allocations: 41.7 kB / 0.5342 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2025/0.6889, allocations: 2.876 MB / 0.537 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006125/0.6895, allocations: 0.5389 MB / 0.5376 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/0.691, allocations: 1.091 MB / 0.5386 GB, free: 100.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.691, allocations: 307.7 kB / 0.5389 GB, free: 100.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.6935, allocations: 1.706 MB / 0.5406 GB, free: 99.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003544/0.697, allocations: 5.133 MB / 0.5456 GB, free: 94.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005741/0.7028, allocations: 7.436 MB / 0.5529 GB, free: 88.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.479e-05/0.7028, allocations: 34.03 kB / 0.5529 GB, free: 88.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008355/0.7112, allocations: 6.701 MB / 0.5595 GB, free: 84.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.7113, allocations: 60 kB / 0.5595 GB, free: 84.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.121e-05/0.7114, allocations: 120 kB / 0.5596 GB, free: 84.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/0.7119, allocations: 322.2 kB / 0.5599 GB, free: 83.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/0.715, allocations: 1.248 MB / 0.5611 GB, free: 82.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.7169, allocations: 2.357 MB / 0.5634 GB, free: 80.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/0.7198, allocations: 289.3 kB / 0.5637 GB, free: 80.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/0.7202, allocations: 334.3 kB / 0.564 GB, free: 79.93 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.002048/0.7223, allocations: 1.782 MB / 0.5658 GB, free: 78.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/0.7227, allocations: 294.1 kB / 0.5661 GB, free: 78.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.7265, allocations: 2.32 MB / 0.5683 GB, free: 76.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.7265, allocations: 20.8 kB / 0.5684 GB, free: 76.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.7265, allocations: 4 kB / 0.5684 GB, free: 76.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.7265, allocations: 3.984 kB / 0.5684 GB, free: 76.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008622/0.7351, allocations: 5.102 MB / 0.5733 GB, free: 71.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.7351, allocations: 3.984 kB / 0.5733 GB, free: 71.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007683/0.7359, allocations: 171.7 kB / 0.5735 GB, free: 70.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/0.7378, allocations: 0.7164 MB / 0.5742 GB, free: 70.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-05/0.7379, allocations: 24 kB / 0.5742 GB, free: 70.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.7425, allocations: 4.638 MB / 0.5788 GB, free: 65.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7425, allocations: 0 / 0.5788 GB, free: 65.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/0.748, allocations: 4.306 MB / 0.583 GB, free: 61.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000672/0.7487, allocations: 258.8 kB / 0.5832 GB, free: 60.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.7489, allocations: 31.08 kB / 0.5832 GB, free: 60.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009504/0.7499, allocations: 67.91 kB / 0.5833 GB, free: 60.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.75, allocations: 72.45 kB / 0.5834 GB, free: 60.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.083e-05/0.7501, allocations: 36 kB / 0.5834 GB, free: 60.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002178/0.7523, allocations: 1.963 MB / 0.5853 GB, free: 58.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7523, allocations: 0 / 0.5853 GB, free: 58.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003756/0.7561, allocations: 0.7974 MB / 0.5861 GB, free: 57.96 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.0003009/0.7564, allocations: 145.3 kB / 0.5862 GB, free: 57.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00471/0.7611, allocations: 3.907 MB / 0.5901 GB, free: 53.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7611, allocations: 0 / 0.5901 GB, free: 53.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.7622, allocations: 1.034 MB / 0.5911 GB, free: 52.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.7639, allocations: 352.4 kB / 0.5914 GB, free: 52.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008988/0.7729, allocations: 7.369 MB / 0.5986 GB, free: 45.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002032/0.7749, allocations: 2.232 MB / 0.6008 GB, free: 42.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002856/0.7778, allocations: 1.608 MB / 0.6024 GB, free: 41.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.7782, allocations: 195.4 kB / 0.6025 GB, free: 41.08 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7782, allocations: 0 / 0.6025 GB, free: 41.08 MB / 446.1 MB Notification: Performance of Templates: time 0.04355/0.8218, allocations: 27.97 MB / 0.6299 GB, free: 13.56 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.175455767661333]