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.001343/0.001343, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.001445/0.001445, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.001958/0.001958, allocations: 67.89 kB / 373.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 53.32 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2157/0.3225, allocations: 10.24 MB / 437.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008003/0.3305, allocations: 3.817 MB / 441.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.3322, allocations: 58.16 kB / 441.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00372/0.3359, allocations: 1.963 MB / 443.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.3406, allocations: 1.676 MB / 444.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.3421, allocations: 0.6133 MB / 445.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00477/0.3468, allocations: 3.355 MB / 448.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.3496, allocations: 2.198 MB / 451.1 MB, free: 116 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.3518, allocations: 1.239 MB / 452.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.3548, allocations: 1.81 MB / 454.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006606/0.3555, allocations: 254.2 kB / 454.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.3577, allocations: 1.052 MB / 455.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.3594, allocations: 1.595 MB / 457 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.3614, allocations: 1.807 MB / 458.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007577/0.369, allocations: 5.807 MB / 464.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.369, allocations: 1.406 kB / 464.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.369, allocations: 0 / 464.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001737/0.3692, allocations: 0 / 464.6 MB, free: 8.168 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.01006/0.3792, allocations: 4.101 MB / 468.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3793, allocations: 9 kB / 468.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006804/0.3861, allocations: 1.796 MB / 470.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.3913, allocations: 1.928 MB / 472.5 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.3915, allocations: 191.9 kB / 472.7 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009725/0.3925, allocations: 253.8 kB / 472.9 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.4106, allocations: 8.446 MB / 481.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.4108, allocations: 39.64 kB / 481.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005446/0.4113, allocations: 123.9 kB / 481.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003829/0.4151, allocations: 1.703 MB / 483.2 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/0.4314, allocations: 7.107 MB / 490.3 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04556/0.477, allocations: 34.08 MB / 0.5121 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00808/0.4851, allocations: 3.185 MB / 0.5152 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.4872, allocations: 1.359 MB / 0.5165 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007153/0.4943, allocations: 4.458 MB / 0.5209 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4944, allocations: 51.06 kB / 0.5209 GB, free: 4.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.306e-06/0.4944, allocations: 0 / 0.5209 GB, free: 4.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03095/0.5253, allocations: 11.73 MB / 0.5324 GB, free: 8.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.5254, allocations: 145.2 kB / 0.5325 GB, free: 8.211 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005516/0.5309, allocations: 3.718 MB / 0.5362 GB, free: 4.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.5311, allocations: 41.7 kB / 0.5362 GB, free: 4.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.5333, allocations: 2.869 MB / 0.539 GB, free: 1.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006464/0.534, allocations: 0.5429 MB / 0.5395 GB, free: 1.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.5355, allocations: 1.084 MB / 0.5406 GB, free: 15.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5356, allocations: 301.1 kB / 0.5409 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.5384, allocations: 1.709 MB / 0.5426 GB, free: 13.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005703/0.5441, allocations: 5.143 MB / 0.5476 GB, free: 7.023 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009778/0.5539, allocations: 7.421 MB / 0.5548 GB, free: 13.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.554, allocations: 32 kB / 0.5549 GB, free: 13.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01331/0.5673, allocations: 6.75 MB / 0.5614 GB, free: 7.105 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.404e-05/0.5674, allocations: 56 kB / 0.5615 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/0.5675, allocations: 124 kB / 0.5616 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/0.5682, allocations: 325.4 kB / 0.5619 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004092/0.5723, allocations: 1.248 MB / 0.5631 GB, free: 5.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.5752, allocations: 2.493 MB / 0.5656 GB, free: 2.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/0.5791, allocations: 291.7 kB / 0.5659 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005639/0.5796, allocations: 332 kB / 0.5662 GB, free: 2.129 MB / 478.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.002995/0.5826, allocations: 1.787 MB / 0.5679 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005821/0.5832, allocations: 329.6 kB / 0.5682 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/0.5882, allocations: 2.359 MB / 0.5705 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-05/0.5883, allocations: 12 kB / 0.5705 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.5883, allocations: 4 kB / 0.5706 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.5883, allocations: 7.984 kB / 0.5706 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.6012, allocations: 5.926 MB / 0.5763 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.6013, allocations: 4 kB / 0.5763 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000909/0.6022, allocations: 167.8 kB / 0.5765 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/0.6045, allocations: 0.7157 MB / 0.5772 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.6046, allocations: 21.88 kB / 0.5772 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006781/0.6114, allocations: 4.823 MB / 0.5819 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6114, allocations: 4.031 kB / 0.5819 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007546/0.6189, allocations: 4.339 MB / 0.5862 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.6199, allocations: 378.8 kB / 0.5865 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/0.6203, allocations: 31.94 kB / 0.5866 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.6214, allocations: 64.47 kB / 0.5866 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.6216, allocations: 68.56 kB / 0.5867 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.6218, allocations: 35.91 kB / 0.5867 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004054/0.6258, allocations: 2.315 MB / 0.589 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6258, allocations: 0 / 0.589 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00502/0.6308, allocations: 0.8085 MB / 0.5898 GB, free: 9.668 MB / 0.4981 GB 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.0004622/0.6313, allocations: 147 kB / 0.5899 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007465/0.6388, allocations: 3.902 MB / 0.5937 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.6388, allocations: 3.938 kB / 0.5937 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.6405, allocations: 1.037 MB / 0.5947 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.6432, allocations: 389.4 kB / 0.5951 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.657, allocations: 7.379 MB / 0.6023 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003294/0.6603, allocations: 2.789 MB / 0.6051 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003881/0.6642, allocations: 1.656 MB / 0.6067 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/0.6649, allocations: 211.4 kB / 0.6069 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of SimCode: time 1.402e-06/0.6649, allocations: 3.938 kB / 0.6069 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.2743/0.9392, allocations: 28.26 MB / 0.6345 GB, free: 160.5 MB / 0.5137 GB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/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: 6.24171238578856]