Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 163.9 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.2 MB / 204.9 MB, free: 9.035 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 51.08 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08607/0.08761, allocations: 53.33 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01135/0.09896, allocations: 8.984 MB / 387.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00727/0.1062, allocations: 3.612 MB / 391.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009561/0.1072, allocations: 67.69 kB / 391.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003655/0.1108, allocations: 1.904 MB / 393.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.1143, allocations: 1.685 MB / 395.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1155, allocations: 0.6121 MB / 395.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004044/0.1196, allocations: 3.354 MB / 399.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/0.122, allocations: 2.102 MB / 401.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.1235, allocations: 1.265 MB / 402.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.1257, allocations: 1.713 MB / 404.2 MB, free: 6.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004332/0.1262, allocations: 260 kB / 404.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.1278, allocations: 0.9205 MB / 405.4 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.1293, allocations: 1.589 MB / 407 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.1308, allocations: 1.335 MB / 408.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006665/0.1375, allocations: 5.824 MB / 414.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1375, allocations: 0 / 414.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1375, allocations: 0 / 414.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.127e-05/0.1376, allocations: 0 / 414.1 MB, free: 12.27 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.007185/0.1448, allocations: 4.022 MB / 418.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1448, allocations: 15.97 kB / 418.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006563/0.1514, allocations: 1.835 MB / 420 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/0.1552, allocations: 1.876 MB / 421.9 MB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.1554, allocations: 192.8 kB / 422.1 MB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000461/0.1558, allocations: 255.8 kB / 422.3 MB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.1695, allocations: 8.46 MB / 430.8 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.1696, allocations: 43.64 kB / 430.8 MB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/0.1699, allocations: 123.9 kB / 430.9 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00313/0.1731, allocations: 1.699 MB / 432.6 MB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.1873, allocations: 7.082 MB / 439.7 MB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04164/0.229, allocations: 32.15 MB / 471.9 MB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.183/0.412, allocations: 2.821 MB / 474.7 MB, free: 83.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.4137, allocations: 1.366 MB / 476.1 MB, free: 83.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005407/0.4191, allocations: 3.332 MB / 479.4 MB, free: 81.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.4191, allocations: 47.86 kB / 479.4 MB, free: 81.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.015e-06/0.4191, allocations: 0 / 479.4 MB, free: 81.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02603/0.4451, allocations: 11.8 MB / 491.2 MB, free: 77.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.4452, allocations: 140.6 kB / 491.4 MB, free: 77.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.4481, allocations: 3.424 MB / 494.8 MB, free: 76.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.4482, allocations: 48.5 kB / 494.8 MB, free: 76.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009111/0.4491, allocations: 2.881 MB / 497.7 MB, free: 74.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.4494, allocations: 0.5457 MB / 498.3 MB, free: 73.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000918/0.4503, allocations: 1.082 MB / 499.3 MB, free: 72.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.987e-05/0.4503, allocations: 301.1 kB / 499.6 MB, free: 72.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.4522, allocations: 1.712 MB / 0.4896 GB, free: 70.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/0.4548, allocations: 5.127 MB / 0.4946 GB, free: 63.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004982/0.4598, allocations: 7.427 MB / 0.5019 GB, free: 54.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-05/0.4598, allocations: 36 kB / 0.5019 GB, free: 54.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007719/0.4675, allocations: 6.715 MB / 0.5085 GB, free: 47.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.476e-05/0.4676, allocations: 56.94 kB / 0.5085 GB, free: 47.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-05/0.4677, allocations: 120 kB / 0.5086 GB, free: 47.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/0.4682, allocations: 320.7 kB / 0.5089 GB, free: 47.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/0.4713, allocations: 1.248 MB / 0.5102 GB, free: 46.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.4731, allocations: 2.357 MB / 0.5125 GB, free: 43.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.476, allocations: 287.6 kB / 0.5127 GB, free: 43.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/0.4763, allocations: 340.8 kB / 0.5131 GB, free: 42.97 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.001786/0.4781, allocations: 1.792 MB / 0.5148 GB, free: 41.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/0.4785, allocations: 292.5 kB / 0.5151 GB, free: 40.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.4824, allocations: 2.32 MB / 0.5173 GB, free: 38.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.4824, allocations: 12 kB / 0.5174 GB, free: 38.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4824, allocations: 11.98 kB / 0.5174 GB, free: 38.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4824, allocations: 3.984 kB / 0.5174 GB, free: 38.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008404/0.4908, allocations: 5.11 MB / 0.5224 GB, free: 33.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.4908, allocations: 3.938 kB / 0.5224 GB, free: 33.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007659/0.4916, allocations: 175.8 kB / 0.5225 GB, free: 33.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.4935, allocations: 0.7146 MB / 0.5232 GB, free: 32.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.4936, allocations: 24 kB / 0.5233 GB, free: 32.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/0.4981, allocations: 4.653 MB / 0.5278 GB, free: 27.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4981, allocations: 4 kB / 0.5278 GB, free: 27.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/0.5037, allocations: 4.301 MB / 0.532 GB, free: 23.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/0.5042, allocations: 254 kB / 0.5322 GB, free: 23.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/0.5044, allocations: 19.94 kB / 0.5323 GB, free: 23.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009417/0.5054, allocations: 67.91 kB / 0.5323 GB, free: 23.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.5055, allocations: 72.47 kB / 0.5324 GB, free: 22.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/0.5056, allocations: 39.66 kB / 0.5324 GB, free: 22.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002062/0.5077, allocations: 1.963 MB / 0.5344 GB, free: 20.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5077, allocations: 0 / 0.5344 GB, free: 20.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003612/0.5113, allocations: 0.8007 MB / 0.5351 GB, free: 20.17 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.0002801/0.5116, allocations: 146.3 kB / 0.5353 GB, free: 20.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004514/0.5161, allocations: 3.911 MB / 0.5391 GB, free: 16.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5161, allocations: 4 kB / 0.5391 GB, free: 16.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.5173, allocations: 1.037 MB / 0.5401 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.519, allocations: 335.4 kB / 0.5404 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008915/0.5279, allocations: 7.366 MB / 0.5476 GB, free: 7.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002146/0.53, allocations: 2.239 MB / 0.5498 GB, free: 5.098 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002969/0.533, allocations: 1.603 MB / 0.5514 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.5335, allocations: 200.5 kB / 0.5516 GB, free: 3.293 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5335, allocations: 0 / 0.5516 GB, free: 3.293 MB / 430.1 MB Notification: Performance of Templates: time 0.0517/0.5852, allocations: 24.35 MB / 0.5753 GB, free: 11.42 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.81413762003649]