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.002026/0.002026, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 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.002394/0.002394, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.584/1.584, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.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.001549/0.001549, allocations: 51.92 kB / 373.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09816, allocations: 53.33 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2041/0.3023, allocations: 10.23 MB / 437 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007168/0.3094, allocations: 3.82 MB / 440.9 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.3109, allocations: 66.62 kB / 440.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003777/0.3147, allocations: 1.97 MB / 442.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004538/0.3192, allocations: 1.672 MB / 444.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.3209, allocations: 0.6089 MB / 445.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.3257, allocations: 3.356 MB / 448.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002743/0.3285, allocations: 2.198 MB / 450.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.3308, allocations: 1.252 MB / 452 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.3336, allocations: 1.812 MB / 453.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005567/0.3341, allocations: 252.9 kB / 454 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.3363, allocations: 1.06 MB / 455.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001763/0.3381, allocations: 1.587 MB / 456.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.3403, allocations: 1.815 MB / 458.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008454/0.3488, allocations: 5.8 MB / 464.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3488, allocations: 0 / 464.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3488, allocations: 0 / 464.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002182/0.349, allocations: 0 / 464.3 MB, free: 7.918 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.01121/0.3602, allocations: 4.106 MB / 468.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3602, allocations: 7.781 kB / 468.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007075/0.3673, allocations: 1.797 MB / 470.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004885/0.3722, allocations: 1.926 MB / 472.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.3724, allocations: 191.8 kB / 472.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006804/0.3731, allocations: 254.7 kB / 472.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.3898, allocations: 8.447 MB / 481 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.3899, allocations: 40.34 kB / 481.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005494/0.3905, allocations: 127.8 kB / 481.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004802/0.3953, allocations: 1.703 MB / 482.9 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02386/0.4191, allocations: 7.105 MB / 490 MB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07172/0.4908, allocations: 34.08 MB / 0.5118 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008165/0.499, allocations: 3.186 MB / 0.5149 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.5011, allocations: 1.357 MB / 0.5162 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007037/0.5081, allocations: 4.452 MB / 0.5206 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.5081, allocations: 60.06 kB / 0.5206 GB, free: 3.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.697e-06/0.5081, allocations: 0 / 0.5206 GB, free: 3.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03133/0.5395, allocations: 11.73 MB / 0.5321 GB, free: 8.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.5396, allocations: 149.2 kB / 0.5322 GB, free: 7.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005511/0.5451, allocations: 3.714 MB / 0.5359 GB, free: 4.219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.5453, allocations: 45.64 kB / 0.5359 GB, free: 4.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002308/0.5476, allocations: 2.85 MB / 0.5387 GB, free: 1.289 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006779/0.5483, allocations: 0.5429 MB / 0.5392 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/0.5498, allocations: 1.088 MB / 0.5403 GB, free: 15.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.55, allocations: 309.1 kB / 0.5406 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/0.5528, allocations: 1.709 MB / 0.5422 GB, free: 13.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005717/0.5585, allocations: 5.131 MB / 0.5473 GB, free: 6.758 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009859/0.5684, allocations: 7.429 MB / 0.5545 GB, free: 13.63 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.544e-05/0.5685, allocations: 36 kB / 0.5545 GB, free: 13.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01353/0.582, allocations: 6.745 MB / 0.5611 GB, free: 6.844 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.4e-05/0.5821, allocations: 59.94 kB / 0.5612 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001553/0.5822, allocations: 124 kB / 0.5613 GB, free: 6.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007176/0.5829, allocations: 321.5 kB / 0.5616 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003939/0.5869, allocations: 1.248 MB / 0.5628 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.5899, allocations: 2.494 MB / 0.5653 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003773/0.5937, allocations: 287.8 kB / 0.5655 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006474/0.5943, allocations: 336 kB / 0.5659 GB, free: 1.859 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.003381/0.5977, allocations: 1.787 MB / 0.5676 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000722/0.5984, allocations: 325.9 kB / 0.5679 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005256/0.6037, allocations: 2.36 MB / 0.5702 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.6037, allocations: 12 kB / 0.5702 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6037, allocations: 4.875 kB / 0.5702 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.6037, allocations: 11.98 kB / 0.5702 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.6159, allocations: 5.906 MB / 0.576 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.6159, allocations: 4 kB / 0.576 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008661/0.6168, allocations: 175.7 kB / 0.5762 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/0.6191, allocations: 0.7186 MB / 0.5769 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.982e-05/0.6192, allocations: 24.11 kB / 0.5769 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007093/0.6263, allocations: 4.82 MB / 0.5816 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6263, allocations: 0 / 0.5816 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00806/0.6344, allocations: 4.346 MB / 0.5859 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.6355, allocations: 379.3 kB / 0.5862 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.6359, allocations: 27.98 kB / 0.5863 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.637, allocations: 71.91 kB / 0.5863 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.6372, allocations: 64.52 kB / 0.5864 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6373, allocations: 31.98 kB / 0.5864 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004284/0.6416, allocations: 2.322 MB / 0.5887 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6416, allocations: 0 / 0.5887 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005169/0.6468, allocations: 0.8007 MB / 0.5895 GB, free: 9.414 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.0005838/0.6473, allocations: 159.5 kB / 0.5896 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007654/0.655, allocations: 3.899 MB / 0.5934 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.655, allocations: 0 / 0.5934 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.6568, allocations: 1.041 MB / 0.5944 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/0.6596, allocations: 392.8 kB / 0.5948 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.6749, allocations: 7.368 MB / 0.602 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003478/0.6784, allocations: 2.786 MB / 0.6047 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004056/0.6825, allocations: 1.66 MB / 0.6063 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007754/0.6833, allocations: 215.4 kB / 0.6066 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of SimCode: time 1.502e-06/0.6833, allocations: 0 / 0.6066 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of Templates: time 0.2642/0.9475, allocations: 28.27 MB / 0.6342 GB, free: 156.6 MB / 0.5137 GB " [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 -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/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_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: 6.473793383687735]