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.001857/0.001857, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002147/0.002147, allocations: 160.8 kB / 24.5 MB, free: 3.711 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.396/1.396, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 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 0.001966/0.001966, allocations: 61.28 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.0951, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01177/0.1069, allocations: 8.993 MB / 387.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00727/0.1141, allocations: 3.612 MB / 391.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.1152, allocations: 67.69 kB / 391.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003695/0.1189, allocations: 1.896 MB / 393.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.1223, allocations: 1.681 MB / 395.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1236, allocations: 0.616 MB / 395.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004057/0.1277, allocations: 3.354 MB / 399.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.1301, allocations: 2.106 MB / 401.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.1315, allocations: 1.257 MB / 402.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.1338, allocations: 1.721 MB / 404.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004181/0.1342, allocations: 256 kB / 404.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.1358, allocations: 0.9166 MB / 405.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.1373, allocations: 1.585 MB / 407 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.1388, allocations: 1.347 MB / 408.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005987/0.1448, allocations: 5.816 MB / 414.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1448, allocations: 0 / 414.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1448, allocations: 4 kB / 414.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.766e-05/0.1448, allocations: 0 / 414.1 MB, free: 12.08 MB / 382.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.006694/0.1515, allocations: 4.026 MB / 418.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1516, allocations: 11.98 kB / 418.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006449/0.158, allocations: 1.831 MB / 420 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.1617, allocations: 1.876 MB / 421.9 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.1619, allocations: 192.8 kB / 422.1 MB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004502/0.1623, allocations: 255.8 kB / 422.3 MB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/0.1757, allocations: 8.46 MB / 430.8 MB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.411e-05/0.1758, allocations: 47.58 kB / 430.8 MB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003166/0.1761, allocations: 123.9 kB / 430.9 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002985/0.1791, allocations: 1.699 MB / 432.6 MB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.1926, allocations: 7.082 MB / 439.7 MB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03855/0.2312, allocations: 32.15 MB / 471.9 MB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1806/0.4118, allocations: 2.814 MB / 474.7 MB, free: 83.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.4135, allocations: 1.365 MB / 476.1 MB, free: 82.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005395/0.4189, allocations: 3.334 MB / 479.4 MB, free: 81.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.4189, allocations: 48.2 kB / 479.4 MB, free: 81.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.306e-06/0.4189, allocations: 0 / 479.4 MB, free: 81.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02482/0.4437, allocations: 11.81 MB / 491.2 MB, free: 77.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.4438, allocations: 140.6 kB / 491.4 MB, free: 77.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.4467, allocations: 3.426 MB / 494.8 MB, free: 75.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.4467, allocations: 41.58 kB / 494.9 MB, free: 75.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009133/0.4476, allocations: 2.882 MB / 497.7 MB, free: 73.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.4479, allocations: 0.5419 MB / 498.3 MB, free: 73.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008912/0.4488, allocations: 1.087 MB / 499.4 MB, free: 72.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.4488, allocations: 301.1 kB / 499.7 MB, free: 71.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.4506, allocations: 1.709 MB / 0.4896 GB, free: 70.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.4532, allocations: 5.139 MB / 0.4946 GB, free: 63.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004764/0.458, allocations: 7.419 MB / 0.5019 GB, free: 54.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.68e-05/0.458, allocations: 32 kB / 0.5019 GB, free: 54.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0073/0.4653, allocations: 6.719 MB / 0.5085 GB, free: 47.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.4653, allocations: 56 kB / 0.5085 GB, free: 47.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/0.4654, allocations: 124 kB / 0.5086 GB, free: 47.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.4659, allocations: 321.3 kB / 0.5089 GB, free: 46.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/0.469, allocations: 1.248 MB / 0.5102 GB, free: 45.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.4708, allocations: 2.358 MB / 0.5125 GB, free: 43.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.4734, allocations: 291.5 kB / 0.5127 GB, free: 42.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.4737, allocations: 332 kB / 0.5131 GB, free: 42.63 MB / 430.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.001752/0.4755, allocations: 1.782 MB / 0.5148 GB, free: 40.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.4758, allocations: 294.1 kB / 0.5151 GB, free: 40.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.4795, allocations: 2.328 MB / 0.5174 GB, free: 38.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.4796, allocations: 12 kB / 0.5174 GB, free: 38.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4796, allocations: 4.875 kB / 0.5174 GB, free: 38.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.4796, allocations: 7.984 kB / 0.5174 GB, free: 38.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/0.4872, allocations: 5.122 MB / 0.5224 GB, free: 33.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.4872, allocations: 4 kB / 0.5224 GB, free: 33.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007079/0.4879, allocations: 171.8 kB / 0.5226 GB, free: 32.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.4898, allocations: 0.7126 MB / 0.5232 GB, free: 32.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.4899, allocations: 28.03 kB / 0.5233 GB, free: 32.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004409/0.4943, allocations: 4.642 MB / 0.5278 GB, free: 27.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4943, allocations: 7.969 kB / 0.5278 GB, free: 27.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005109/0.4994, allocations: 4.308 MB / 0.532 GB, free: 23.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.4997, allocations: 254 kB / 0.5323 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.5, allocations: 27.19 kB / 0.5323 GB, free: 22.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/0.5009, allocations: 63.91 kB / 0.5324 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.5011, allocations: 80.3 kB / 0.5324 GB, free: 22.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/0.5011, allocations: 32 kB / 0.5325 GB, free: 22.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00189/0.503, allocations: 1.963 MB / 0.5344 GB, free: 20.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.503, allocations: 0 / 0.5344 GB, free: 20.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003237/0.5063, allocations: 0.7966 MB / 0.5352 GB, free: 19.84 MB / 430.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.0002462/0.5065, allocations: 147.1 kB / 0.5353 GB, free: 19.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.5106, allocations: 3.901 MB / 0.5391 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5106, allocations: 4 kB / 0.5391 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.5117, allocations: 1.045 MB / 0.5401 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.5132, allocations: 353 kB / 0.5405 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008082/0.5213, allocations: 7.361 MB / 0.5477 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/0.5234, allocations: 2.236 MB / 0.5498 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002889/0.5263, allocations: 1.607 MB / 0.5514 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.5267, allocations: 188.5 kB / 0.5516 GB, free: 2.957 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5267, allocations: 8 kB / 0.5516 GB, free: 2.949 MB / 430.1 MB Notification: Performance of Templates: time 0.05045/0.5772, allocations: 24.32 MB / 0.5753 GB, free: 11.07 MB / 462.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/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: 5.753320283954963]