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.0009702/0.0009702, allocations: 85.91 kB / 21.43 MB, free: 3.062 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.001031/0.001031, allocations: 164.1 kB / 24.82 MB, free: 9.23 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 1.04/1.04, allocations: 177 MB / 205.1 MB, free: 5.465 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.663e-06/1.663e-06, allocations: 0 / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.746e-05, allocations: 5.266 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01869/0.01871, allocations: 9.666 MB / 283 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.03104, allocations: 3.685 MB / 286.7 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003995/0.03504, allocations: 67.69 kB / 286.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.03781, allocations: 2.055 MB / 288.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1218/0.1596, allocations: 1.736 MB / 290.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.161, allocations: 0.6653 MB / 291.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003551/0.1645, allocations: 3.751 MB / 295 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.1673, allocations: 2.455 MB / 297.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.1698, allocations: 1.941 MB / 299.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.1718, allocations: 1.833 MB / 301.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003781/0.1722, allocations: 256.1 kB / 301.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.1733, allocations: 0.9662 MB / 302.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007993/0.1741, allocations: 1.672 MB / 304.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000663/0.1748, allocations: 1.031 MB / 305.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.1769, allocations: 3.803 MB / 308.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1769, allocations: 3.188 kB / 308.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1769, allocations: 0 / 308.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.192e-05/0.177, allocations: 0 / 308.9 MB, free: 10.71 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.003169/0.1801, allocations: 4.25 MB / 313.2 MB, free: 7.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1802, allocations: 11.98 kB / 313.2 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.1824, allocations: 1.284 MB / 314.5 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.1836, allocations: 1.602 MB / 316.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.233e-05/0.1837, allocations: 192.7 kB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.1839, allocations: 255 kB / 316.5 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.1873, allocations: 4.777 MB / 321.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-05/0.1873, allocations: 37.2 kB / 321.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.1875, allocations: 126.3 kB / 321.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001138/0.1887, allocations: 1.465 MB / 322.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/0.1919, allocations: 2.082 MB / 325 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/0.2121, allocations: 38.44 MB / 363.4 MB, free: 4.973 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.2148, allocations: 1.33 MB / 364.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.2151, allocations: 345.7 kB / 365.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003401/0.2185, allocations: 3.248 MB / 368.3 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.2186, allocations: 45.94 kB / 368.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.775e-06/0.2186, allocations: 3.188 kB / 368.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.006427/0.225, allocations: 3.109 MB / 371.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2251, allocations: 137 kB / 371.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.2276, allocations: 3.245 MB / 374.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.2276, allocations: 40.28 kB / 374.9 MB, free: 9.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.229, allocations: 3.099 MB / 378 MB, free: 6.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.2293, allocations: 492.6 kB / 378.5 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009289/0.2303, allocations: 1.187 MB / 379.7 MB, free: 5.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2304, allocations: 480.8 kB / 380.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.231, allocations: 449.3 kB / 380.6 MB, free: 4.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/0.2341, allocations: 5.709 MB / 386.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004328/0.2384, allocations: 6.766 MB / 393.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.407e-05/0.2385, allocations: 36 kB / 393.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004359/0.2428, allocations: 4.225 MB / 397.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.2429, allocations: 60 kB / 397.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.403e-05/0.243, allocations: 127.3 kB / 397.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.872e-05/0.2431, allocations: 167.9 kB / 397.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.2449, allocations: 1.213 MB / 398.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/0.2451, allocations: 247.5 kB / 399.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.2469, allocations: 243.7 kB / 399.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/0.2471, allocations: 292 kB / 399.7 MB, free: 12.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001148/0.2483, allocations: 0.6069 MB / 400.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/0.2486, allocations: 314 kB / 400.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007652/0.2494, allocations: 0.5586 MB / 401.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.2494, allocations: 16 kB / 401.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2494, allocations: 0 / 401.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.2494, allocations: 3.984 kB / 401.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.2529, allocations: 2.386 MB / 403.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.2529, allocations: 0 / 403.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.2532, allocations: 123.8 kB / 403.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/0.2534, allocations: 51.78 kB / 403.7 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.2534, allocations: 23.98 kB / 403.7 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.2546, allocations: 1.787 MB / 405.5 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2546, allocations: 0 / 405.5 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.2557, allocations: 1.459 MB / 407 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.2559, allocations: 269.9 kB / 407.2 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.2561, allocations: 12 kB / 407.2 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.2565, allocations: 19.98 kB / 407.3 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.2565, allocations: 55.91 kB / 407.3 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.2566, allocations: 20.14 kB / 407.3 MB, free: 4.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.2577, allocations: 1.281 MB / 408.6 MB, free: 3.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2577, allocations: 0 / 408.6 MB, free: 3.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002345/0.26, allocations: 0.7928 MB / 409.4 MB, free: 2.398 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/0.2603, allocations: 167 kB / 409.6 MB, free: 2.227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.2624, allocations: 2.097 MB / 411.7 MB, free: 152 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2624, allocations: 0 / 411.7 MB, free: 152 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.2628, allocations: 448 kB / 412.1 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2639, allocations: 330.7 kB / 412.4 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.2705, allocations: 5.783 MB / 418.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.2713, allocations: 0.9969 MB / 419.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001164/0.2724, allocations: 423.1 kB / 419.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/0.273, allocations: 0.4981 MB / 420.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.273, allocations: 0 / 420.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of Templates: time 0.03421/0.3072, allocations: 21.91 MB / 442 MB, free: 1.941 MB / 394.7 MB " [Timeout remaining time 660] 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: 3.6984803900122643]