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.0008903/0.0008903, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001123/0.001123, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.045/1.045, allocations: 177 MB / 205.2 MB, free: 5.074 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.513e-06/1.513e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.54e-05, allocations: 5.406 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.00788/0.007905, allocations: 9.713 MB / 283.2 MB, free: 7.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.01287, allocations: 3.828 MB / 287 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005195/0.01338, allocations: 63.69 kB / 287 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.01534, allocations: 2.051 MB / 289.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1217/0.137, allocations: 1.709 MB / 290.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1383, allocations: 0.6649 MB / 291.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003594/0.1419, allocations: 3.751 MB / 295.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.1444, allocations: 2.414 MB / 297.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.1466, allocations: 1.901 MB / 299.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.1483, allocations: 1.753 MB / 301.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003301/0.1487, allocations: 257 kB / 301.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1498, allocations: 0.9962 MB / 302.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007752/0.1506, allocations: 1.667 MB / 304.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007028/0.1513, allocations: 1.026 MB / 305.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.1535, allocations: 3.808 MB / 309 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1535, allocations: 0.5 kB / 309 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1535, allocations: 0.6875 kB / 309 MB, free: 10.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.41e-05/0.1536, allocations: 0 / 309 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.002835/0.1564, allocations: 3.75 MB / 312.8 MB, free: 7.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.1564, allocations: 12.92 kB / 312.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.1584, allocations: 0.9432 MB / 313.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.1596, allocations: 1.471 MB / 315.2 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.1597, allocations: 192.7 kB / 315.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/0.1599, allocations: 252.5 kB / 315.6 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.163, allocations: 4.237 MB / 319.9 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.659e-05/0.163, allocations: 41.09 kB / 319.9 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.1632, allocations: 126.8 kB / 320 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001161/0.1644, allocations: 1.466 MB / 321.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.1675, allocations: 2.099 MB / 323.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.1833, allocations: 27.42 MB / 351 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.1857, allocations: 1.298 MB / 352.3 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.186, allocations: 285.5 kB / 352.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/0.1891, allocations: 2.986 MB / 355.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1891, allocations: 46.44 kB / 355.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=103): time 2.124e-06/0.1891, allocations: 4 kB / 355.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.005272/0.1944, allocations: 2.672 MB / 358.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1945, allocations: 137 kB / 358.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.1963, allocations: 2.895 MB / 361.3 MB, free: 7.676 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.1963, allocations: 40.83 kB / 361.4 MB, free: 7.633 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.1974, allocations: 2.757 MB / 364.1 MB, free: 4.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.1976, allocations: 468.5 kB / 364.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00069/0.1983, allocations: 1.013 MB / 365.6 MB, free: 3.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.1984, allocations: 309.1 kB / 365.9 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007967/0.1992, allocations: 0.6113 MB / 366.5 MB, free: 2.559 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.2015, allocations: 4.013 MB / 370.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.2047, allocations: 5.123 MB / 375.7 MB, free: 5.992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-05/0.2048, allocations: 36 kB / 375.7 MB, free: 5.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003581/0.2083, allocations: 3.59 MB / 379.3 MB, free: 2.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.2084, allocations: 64.03 kB / 379.4 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.888e-05/0.2085, allocations: 124 kB / 379.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.2086, allocations: 168 kB / 379.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.2105, allocations: 1.275 MB / 380.9 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001155/0.2106, allocations: 243.1 kB / 381.1 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.212, allocations: 239.7 kB / 381.4 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.2122, allocations: 296 kB / 381.7 MB, free: 15.97 MB / 346.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.0007166/0.2129, allocations: 0.5639 MB / 382.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.2131, allocations: 171.7 kB / 382.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.2137, allocations: 0.4932 MB / 382.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.2137, allocations: 12 kB / 382.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2137, allocations: 8 kB / 382.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2137, allocations: 3.984 kB / 382.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.2162, allocations: 2.194 MB / 385.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2162, allocations: 0 / 385.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.2165, allocations: 135.8 kB / 385.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001551/0.2166, allocations: 47.67 kB / 385.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.2167, allocations: 20.16 kB / 385.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.2177, allocations: 1.422 MB / 386.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2177, allocations: 7.938 kB / 386.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.2186, allocations: 1.211 MB / 388 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.2188, allocations: 266 kB / 388.2 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.2189, allocations: 12 kB / 388.2 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.2193, allocations: 19.98 kB / 388.2 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.2194, allocations: 55.89 kB / 388.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.2194, allocations: 24 kB / 388.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000733/0.2201, allocations: 1.032 MB / 389.4 MB, free: 8.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2201, allocations: 3.938 kB / 389.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001946/0.2221, allocations: 0.7889 MB / 390.1 MB, free: 7.262 MB / 346.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.0002385/0.2223, allocations: 136.3 kB / 390.3 MB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.2238, allocations: 1.946 MB / 392.2 MB, free: 5.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001281/0.224, allocations: 94.09 kB / 392.3 MB, free: 5.082 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.2243, allocations: 340.7 kB / 392.6 MB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.2255, allocations: 0.4939 MB / 393.1 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005119/0.2306, allocations: 5.748 MB / 398.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.2314, allocations: 0.9894 MB / 399.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009036/0.2323, allocations: 423.1 kB / 400.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.2328, allocations: 473.2 kB / 400.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2328, allocations: 0 / 400.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of Templates: time 0.03207/0.2649, allocations: 21.85 MB / 422.6 MB, free: 6.961 MB / 378.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 -s gbode -gbm=radauIIA3 -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.4339063987135887]