Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 120.4 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 55.91 kB / 358.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1129, allocations: 49.43 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01415/0.1271, allocations: 10.22 MB / 418.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008019/0.1352, allocations: 3.802 MB / 422.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.1374, allocations: 55.81 kB / 422.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004399/0.1419, allocations: 1.935 MB / 424.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004667/0.1466, allocations: 1.657 MB / 425.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.1485, allocations: 0.616 MB / 426.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006146/0.1546, allocations: 3.329 MB / 429.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1987/0.3534, allocations: 2.566 MB / 432.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.3558, allocations: 1.249 MB / 433.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/0.3588, allocations: 1.665 MB / 435.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.3601, allocations: 252.2 kB / 435.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.3634, allocations: 1.031 MB / 436.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002744/0.3661, allocations: 1.56 MB / 438 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00409/0.3703, allocations: 1.832 MB / 439.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.3805, allocations: 5.85 MB / 445.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3806, allocations: 4.594 kB / 445.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3806, allocations: 0 / 445.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003185/0.3809, allocations: 0 / 445.7 MB, free: 3.145 MB / 350.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.01395/0.3949, allocations: 4.118 MB / 449.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3949, allocations: 14.08 kB / 449.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007545/0.4025, allocations: 1.795 MB / 451.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/0.4076, allocations: 1.962 MB / 453.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.4079, allocations: 194.6 kB / 453.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/0.4095, allocations: 249.6 kB / 454 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.43, allocations: 8.447 MB / 462.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.4302, allocations: 38.19 kB / 462.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/0.4315, allocations: 128.1 kB / 462.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003132/0.4346, allocations: 1.691 MB / 464.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/0.4501, allocations: 7.097 MB / 471.4 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05156/0.5017, allocations: 34.09 MB / 0.4937 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008339/0.51, allocations: 3.278 MB / 0.4969 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/0.5126, allocations: 1.46 MB / 0.4983 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008079/0.5207, allocations: 4.373 MB / 0.5026 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.5208, allocations: 47.12 kB / 0.5026 GB, free: 10.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.627e-06/0.5208, allocations: 0 / 0.5026 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.03473/0.5555, allocations: 11.71 MB / 0.5141 GB, free: 15.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.5557, allocations: 137.2 kB / 0.5142 GB, free: 14.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00622/0.5619, allocations: 3.726 MB / 0.5178 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003191/0.5623, allocations: 41.7 kB / 0.5179 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002415/0.5647, allocations: 2.859 MB / 0.5207 GB, free: 8.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007775/0.5655, allocations: 0.5437 MB / 0.5212 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/0.5671, allocations: 1.091 MB / 0.5223 GB, free: 6.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5672, allocations: 313.1 kB / 0.5226 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0028/0.5701, allocations: 1.708 MB / 0.5242 GB, free: 4.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006062/0.5761, allocations: 5.126 MB / 0.5292 GB, free: 13.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.5863, allocations: 7.417 MB / 0.5365 GB, free: 5.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/0.5865, allocations: 36 kB / 0.5365 GB, free: 5.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01487/0.6013, allocations: 6.736 MB / 0.5431 GB, free: 14.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.67e-05/0.6015, allocations: 63.94 kB / 0.5431 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.6016, allocations: 120 kB / 0.5433 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007125/0.6024, allocations: 321.3 kB / 0.5436 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/0.6069, allocations: 1.244 MB / 0.5448 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.6101, allocations: 2.497 MB / 0.5472 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004364/0.6145, allocations: 295.6 kB / 0.5475 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/0.6157, allocations: 339.8 kB / 0.5478 GB, free: 9.348 MB / 462.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.004537/0.6202, allocations: 1.775 MB / 0.5496 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000881/0.6211, allocations: 321.8 kB / 0.5499 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005911/0.6271, allocations: 2.37 MB / 0.5522 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.196e-05/0.6271, allocations: 16 kB / 0.5522 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.6272, allocations: 4 kB / 0.5522 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.6272, allocations: 3.984 kB / 0.5522 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.6415, allocations: 5.909 MB / 0.558 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.6415, allocations: 7.922 kB / 0.558 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000889/0.6424, allocations: 179.8 kB / 0.5582 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/0.6448, allocations: 0.7131 MB / 0.5589 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.645, allocations: 23.98 kB / 0.5589 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007293/0.6523, allocations: 4.809 MB / 0.5636 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6523, allocations: 0 / 0.5636 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007883/0.6602, allocations: 4.34 MB / 0.5678 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.6614, allocations: 382.8 kB / 0.5682 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004392/0.6619, allocations: 16 kB / 0.5682 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.663, allocations: 67.84 kB / 0.5683 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.6632, allocations: 76.56 kB / 0.5683 GB, free: 4.098 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6633, allocations: 35.94 kB / 0.5684 GB, free: 4.062 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004455/0.6678, allocations: 2.319 MB / 0.5706 GB, free: 1.758 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6678, allocations: 0 / 0.5706 GB, free: 1.758 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00504/0.6729, allocations: 0.8262 MB / 0.5714 GB, free: 0.9336 MB / 478.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.0005164/0.6734, allocations: 159.5 kB / 0.5716 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007759/0.6812, allocations: 4.046 MB / 0.5755 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.6812, allocations: 0 / 0.5755 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.6831, allocations: 1.107 MB / 0.5766 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.686, allocations: 395.3 kB / 0.577 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.7009, allocations: 7.763 MB / 0.5846 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/0.7043, allocations: 2.78 MB / 0.5873 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.7054, allocations: 251.4 kB / 0.5875 GB, free: 400 kB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7054, allocations: 0 / 0.5875 GB, free: 400 kB / 494.1 MB Notification: Performance of Templates: time 0.3098/1.015, allocations: 64.48 MB / 0.6505 GB, free: 159.8 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 12.347520767012611]