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.001091/0.001091, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001157/0.001157, allocations: 161.1 kB / 24.91 MB, free: 8.719 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 0.913/0.913, allocations: 177 MB / 205.2 MB, free: 5.039 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.694e-06/1.694e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.152e-05, allocations: 2.312 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01975/0.01977, allocations: 9.665 MB / 283.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008077/0.02784, allocations: 3.824 MB / 286.9 MB, free: 3.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.02925, allocations: 71.62 kB / 287 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003431/0.03268, allocations: 2.075 MB / 289 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1088/0.1415, allocations: 1.74 MB / 290.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.1428, allocations: 0.6727 MB / 291.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004042/0.1468, allocations: 3.755 MB / 295.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.1498, allocations: 2.527 MB / 297.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.153, allocations: 1.937 MB / 299.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.1552, allocations: 1.751 MB / 301.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006227/0.1558, allocations: 256.9 kB / 301.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.1573, allocations: 0.9654 MB / 302.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.1585, allocations: 1.67 MB / 304.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.1597, allocations: 1.03 MB / 305.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.163, allocations: 3.801 MB / 309.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.163, allocations: 0 / 309.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.163, allocations: 0.6875 kB / 309.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.1631, allocations: 0 / 309.1 MB, free: 10.53 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.003718/0.1668, allocations: 3.751 MB / 312.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1668, allocations: 15.52 kB / 312.9 MB, free: 7.668 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.169, allocations: 0.9407 MB / 313.8 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.1705, allocations: 1.47 MB / 315.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.1706, allocations: 190.1 kB / 315.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.1709, allocations: 253.5 kB / 315.7 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/0.1746, allocations: 4.237 MB / 320 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/0.1746, allocations: 39.25 kB / 320 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.1748, allocations: 126.3 kB / 320.1 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001439/0.1763, allocations: 1.466 MB / 321.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/0.1799, allocations: 2.099 MB / 323.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02034/0.2002, allocations: 27.43 MB / 351.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.2031, allocations: 1.309 MB / 352.4 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.2034, allocations: 273.8 kB / 352.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003824/0.2073, allocations: 2.989 MB / 355.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.2073, allocations: 47.06 kB / 355.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=103): time 3.306e-06/0.2073, allocations: 4 kB / 355.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.005904/0.2132, allocations: 2.669 MB / 358.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.2133, allocations: 141 kB / 358.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.2157, allocations: 2.895 MB / 361.4 MB, free: 7.742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-05/0.2158, allocations: 39.27 kB / 361.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.2169, allocations: 2.765 MB / 364.2 MB, free: 5.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.2173, allocations: 460.6 kB / 364.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007793/0.218, allocations: 1.017 MB / 365.7 MB, free: 3.535 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.2181, allocations: 305.1 kB / 366 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008982/0.219, allocations: 0.6113 MB / 366.6 MB, free: 2.617 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.2215, allocations: 4.019 MB / 370.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/0.2253, allocations: 5.118 MB / 375.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.166e-05/0.2254, allocations: 36 kB / 375.8 MB, free: 5.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004416/0.2298, allocations: 3.582 MB / 379.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.2299, allocations: 60 kB / 379.4 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/0.23, allocations: 128 kB / 379.6 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.2301, allocations: 164 kB / 379.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.2321, allocations: 1.216 MB / 380.9 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/0.2322, allocations: 251 kB / 381.2 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.2341, allocations: 243.9 kB / 381.4 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.2344, allocations: 296 kB / 381.7 MB, free: 76 kB / 330.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.0009217/0.2353, allocations: 0.5601 MB / 382.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.2356, allocations: 171.8 kB / 382.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.2362, allocations: 0.4971 MB / 382.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.2363, allocations: 16 kB / 383 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.2363, allocations: 4 kB / 383 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2363, allocations: 3.984 kB / 383 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.2394, allocations: 2.194 MB / 385.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.2394, allocations: 4 kB / 385.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/0.24, allocations: 119.8 kB / 385.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.2402, allocations: 51.62 kB / 385.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.2402, allocations: 12.16 kB / 385.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009706/0.2412, allocations: 1.429 MB / 386.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2412, allocations: 7.875 kB / 386.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.2423, allocations: 1.211 MB / 388 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.2426, allocations: 265.9 kB / 388.2 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.2428, allocations: 16.06 kB / 388.3 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.2432, allocations: 20 kB / 388.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.2433, allocations: 55.83 kB / 388.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.2433, allocations: 24 kB / 388.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009182/0.2442, allocations: 1.032 MB / 389.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2442, allocations: 0 / 389.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002483/0.2467, allocations: 0.7811 MB / 390.2 MB, free: 7.371 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.00029/0.247, allocations: 140.2 kB / 390.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.2491, allocations: 1.943 MB / 392.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001564/0.2493, allocations: 92.16 kB / 392.3 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006715/0.2499, allocations: 338.1 kB / 392.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.2514, allocations: 0.5047 MB / 393.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/0.2583, allocations: 5.736 MB / 398.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.2594, allocations: 0.9972 MB / 399.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001018/0.2604, allocations: 423.1 kB / 400.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/0.261, allocations: 469.2 kB / 400.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of SimCode: time 1.943e-06/0.261, allocations: 0 / 400.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Templates: time 0.03414/0.2952, allocations: 21.85 MB / 422.6 MB, free: 7.062 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 -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.411173145286739]