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.001015/0.001015, allocations: 91.5 kB / 21.19 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.0009555/0.0009555, allocations: 156.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 0.9189/0.9189, 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.663e-06/1.663e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.784e-05, allocations: 9.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.008116/0.008133, allocations: 9.955 MB / 282.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005474/0.01361, allocations: 3.728 MB / 286.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007483/0.01436, allocations: 67.69 kB / 286.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002351/0.01671, allocations: 2.091 MB / 288.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1024/0.1191, allocations: 1.737 MB / 290.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1203, allocations: 0.6595 MB / 291.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003534/0.1239, allocations: 3.746 MB / 294.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.1262, allocations: 2.461 MB / 297.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.1284, allocations: 1.932 MB / 299.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.1302, allocations: 1.839 MB / 301.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003853/0.1306, allocations: 256.5 kB / 301.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.1318, allocations: 0.971 MB / 302.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008426/0.1327, allocations: 1.674 MB / 304 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006776/0.1334, allocations: 1.027 MB / 305.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.1357, allocations: 3.808 MB / 308.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1357, allocations: 0 / 308.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1357, allocations: 0 / 308.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.717e-05/0.1357, allocations: 3.438 kB / 308.9 MB, free: 10.45 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.003606/0.1393, allocations: 4.375 MB / 313.2 MB, free: 7.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1394, allocations: 11.98 kB / 313.3 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/0.1426, allocations: 2.188 MB / 315.4 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.144, allocations: 1.751 MB / 317.2 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.1441, allocations: 198.8 kB / 317.4 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.1443, allocations: 247 kB / 317.6 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004879/0.1492, allocations: 5.259 MB / 322.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.336e-05/0.1493, allocations: 48.28 kB / 322.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.1495, allocations: 120.4 kB / 323.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001753/0.1512, allocations: 1.646 MB / 324.7 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004548/0.1558, allocations: 2.656 MB / 327.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02053/0.1763, allocations: 38.78 MB / 366.1 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.1792, allocations: 1.475 MB / 367.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.1797, allocations: 405 kB / 368 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00366/0.1833, allocations: 3.387 MB / 371.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1834, allocations: 45.88 kB / 371.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.514e-06/0.1834, allocations: 0 / 371.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.0079/0.1913, allocations: 5.632 MB / 377.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1913, allocations: 137 kB / 377.2 MB, free: 5.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.1939, allocations: 3.258 MB / 380.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.194, allocations: 41.7 kB / 380.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.1956, allocations: 3.069 MB / 383.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.1959, allocations: 480.5 kB / 384 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008993/0.1968, allocations: 1.167 MB / 385.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.1969, allocations: 480.8 kB / 385.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007521/0.1977, allocations: 498.2 kB / 386.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.2008, allocations: 5.732 MB / 391.9 MB, free: 4.852 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/0.2053, allocations: 6.879 MB / 398.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-05/0.2053, allocations: 36 kB / 398.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004907/0.2102, allocations: 4.507 MB / 403.3 MB, free: 7.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.2103, allocations: 60 kB / 403.4 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.339e-05/0.2104, allocations: 124 kB / 403.5 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.2105, allocations: 168.1 kB / 403.7 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.2126, allocations: 1.248 MB / 404.9 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001147/0.2127, allocations: 247 kB / 405.1 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.2142, allocations: 314.6 kB / 405.5 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.2144, allocations: 335.9 kB / 405.8 MB, free: 4.586 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.0006956/0.2151, allocations: 0.6108 MB / 406.4 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.2154, allocations: 314 kB / 406.7 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.2161, allocations: 0.5977 MB / 407.3 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.2161, allocations: 12 kB / 407.3 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2161, allocations: 0 / 407.3 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2161, allocations: 7.984 kB / 407.3 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.22, allocations: 3.239 MB / 410.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.22, allocations: 8.156 kB / 410.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.2203, allocations: 143.8 kB / 410.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.2205, allocations: 47.64 kB / 410.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.2205, allocations: 20 kB / 410.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000899/0.2214, allocations: 1.826 MB / 412.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2214, allocations: 0 / 412.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.2231, allocations: 1.554 MB / 414.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.2234, allocations: 270 kB / 414.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.2236, allocations: 16 kB / 414.4 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006816/0.2243, allocations: 67.89 kB / 414.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2244, allocations: 58.42 kB / 414.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.2244, allocations: 32.06 kB / 414.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001928/0.2264, allocations: 1.375 MB / 416 MB, free: 10.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2264, allocations: 0 / 416 MB, free: 10.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002907/0.2293, allocations: 0.7773 MB / 416.7 MB, free: 9.367 MB / 378.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.0003181/0.2296, allocations: 175.1 kB / 416.9 MB, free: 9.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.2324, allocations: 2.218 MB / 419.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2324, allocations: 0 / 419.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.233, allocations: 470.4 kB / 419.6 MB, free: 6.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.2344, allocations: 345.8 kB / 419.9 MB, free: 6.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/0.2418, allocations: 5.774 MB / 425.7 MB, free: 320 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/0.2428, allocations: 0.9971 MB / 426.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002626/0.2454, allocations: 1.411 MB / 428.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.2458, allocations: 196.5 kB / 428.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.173e-06/0.2458, allocations: 0 / 428.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of Templates: time 0.1314/0.3772, allocations: 20.33 MB / 448.6 MB, free: 130.6 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.4700681171379983]