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.001398/0.001398, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001504/0.001504, allocations: 195 kB / 23.71 MB, free: 4.406 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.504/1.504, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.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.001666/0.001666, allocations: 43.94 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.246, allocations: 52.17 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01218/0.2582, allocations: 9.032 MB / 432.1 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009165/0.2673, allocations: 3.591 MB / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.2692, allocations: 67.69 kB / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004675/0.2739, allocations: 1.904 MB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.2795, allocations: 1.7 MB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.2812, allocations: 0.6277 MB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005302/0.2866, allocations: 3.326 MB / 443.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/0.29, allocations: 2.114 MB / 445.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.2923, allocations: 1.269 MB / 446.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.2951, allocations: 1.713 MB / 448.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007601/0.2959, allocations: 260 kB / 448.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.2981, allocations: 0.9361 MB / 449.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002008/0.3001, allocations: 1.612 MB / 451.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.3028, allocations: 1.343 MB / 452.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008076/0.3109, allocations: 5.875 MB / 458.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3109, allocations: 0 / 458.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3109, allocations: 0 / 458.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001984/0.3111, allocations: 3.938 kB / 458.4 MB, free: 10.95 MB / 366.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.009423/0.3205, allocations: 4.042 MB / 462.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3205, allocations: 15.97 kB / 462.5 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006735/0.3273, allocations: 1.796 MB / 464.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/0.3323, allocations: 1.907 MB / 466.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.3325, allocations: 184.8 kB / 466.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006715/0.3332, allocations: 251.9 kB / 466.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.349, allocations: 8.46 MB / 475.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.3491, allocations: 31.75 kB / 475.1 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003898/0.3495, allocations: 127.8 kB / 475.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003109/0.3526, allocations: 1.695 MB / 476.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.3674, allocations: 7.082 MB / 484 MB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04329/0.4107, allocations: 32.06 MB / 0.504 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0077/0.4184, allocations: 2.724 MB / 0.5066 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.4206, allocations: 1.359 MB / 0.508 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006673/0.4273, allocations: 3.293 MB / 0.5112 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/0.4273, allocations: 55.09 kB / 0.5112 GB, free: 8.012 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.258e-06/0.4273, allocations: 0 / 0.5112 GB, free: 8.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02934/0.4567, allocations: 11.49 MB / 0.5224 GB, free: 12.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.4568, allocations: 145.4 kB / 0.5226 GB, free: 12.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004718/0.4615, allocations: 3.431 MB / 0.5259 GB, free: 8.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.4617, allocations: 45.7 kB / 0.526 GB, free: 8.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.464, allocations: 2.886 MB / 0.5288 GB, free: 5.875 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006403/0.4646, allocations: 0.5467 MB / 0.5293 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/0.4661, allocations: 1.084 MB / 0.5304 GB, free: 4.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4662, allocations: 301.1 kB / 0.5307 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/0.4688, allocations: 1.705 MB / 0.5323 GB, free: 2.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2051/0.6738, allocations: 5.122 MB / 0.5373 GB, free: 103.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007533/0.6814, allocations: 7.425 MB / 0.5446 GB, free: 97.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002309/0.6816, allocations: 34.22 kB / 0.5446 GB, free: 97.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009852/0.6915, allocations: 6.705 MB / 0.5512 GB, free: 94.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/0.6915, allocations: 55.28 kB / 0.5512 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.6916, allocations: 122.4 kB / 0.5513 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.6922, allocations: 316.6 kB / 0.5516 GB, free: 94.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/0.6953, allocations: 1.251 MB / 0.5529 GB, free: 94.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.6973, allocations: 2.354 MB / 0.5552 GB, free: 92.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/0.7015, allocations: 289.4 kB / 0.5554 GB, free: 92.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006524/0.7022, allocations: 335.5 kB / 0.5558 GB, free: 92.07 MB / 446.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.002593/0.7048, allocations: 1.785 MB / 0.5575 GB, free: 90.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.7053, allocations: 285.2 kB / 0.5578 GB, free: 90.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.7093, allocations: 2.322 MB / 0.56 GB, free: 88.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.7093, allocations: 12 kB / 0.5601 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.7093, allocations: 4 kB / 0.5601 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.7093, allocations: 11.62 kB / 0.5601 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.7194, allocations: 5.092 MB / 0.565 GB, free: 84.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.7194, allocations: 0 / 0.565 GB, free: 84.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007515/0.7201, allocations: 171.9 kB / 0.5652 GB, free: 84.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.722, allocations: 0.7154 MB / 0.5659 GB, free: 83.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.7222, allocations: 23.94 kB / 0.5659 GB, free: 83.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.7268, allocations: 4.646 MB / 0.5705 GB, free: 78.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7268, allocations: 4.062 kB / 0.5705 GB, free: 78.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005446/0.7323, allocations: 4.292 MB / 0.5747 GB, free: 74.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007526/0.733, allocations: 257.4 kB / 0.5749 GB, free: 74.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/0.7333, allocations: 19.83 kB / 0.5749 GB, free: 74.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/0.7343, allocations: 67.91 kB / 0.575 GB, free: 74.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.7345, allocations: 72.47 kB / 0.5751 GB, free: 74.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.524e-05/0.7346, allocations: 36.05 kB / 0.5751 GB, free: 74.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002319/0.7369, allocations: 1.967 MB / 0.577 GB, free: 72.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7369, allocations: 0 / 0.577 GB, free: 72.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003965/0.7409, allocations: 0.8095 MB / 0.5778 GB, free: 71.46 MB / 446.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.0003443/0.7412, allocations: 154.9 kB / 0.578 GB, free: 71.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005202/0.7464, allocations: 3.903 MB / 0.5818 GB, free: 67.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7464, allocations: 4 kB / 0.5818 GB, free: 67.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.7476, allocations: 1.029 MB / 0.5828 GB, free: 66.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.7496, allocations: 333.6 kB / 0.5831 GB, free: 66.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.76, allocations: 7.392 MB / 0.5903 GB, free: 58.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002108/0.7621, allocations: 2.229 MB / 0.5925 GB, free: 56.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003066/0.7651, allocations: 1.618 MB / 0.5941 GB, free: 54.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.7657, allocations: 195.4 kB / 0.5943 GB, free: 54.57 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.7657, allocations: 0 / 0.5943 GB, free: 54.57 MB / 446.1 MB Notification: Performance of Templates: time 0.04618/0.8118, allocations: 28.16 MB / 0.6218 GB, free: 26.88 MB / 446.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.204241080209613]