Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001297/0.001297, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001309/0.001309, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.409/1.409, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2319, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01616/0.2481, allocations: 6.582 MB / 438.9 MB, free: 84 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.2583, allocations: 3.083 MB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006937/0.259, allocations: 39.81 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.2625, allocations: 1.004 MB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004989/0.2675, allocations: 1.386 MB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.2691, allocations: 455.2 kB / 444.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005414/0.2745, allocations: 2.664 MB / 447.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.2771, allocations: 1.331 MB / 448.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.2787, allocations: 0.8486 MB / 449.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.2817, allocations: 1.332 MB / 451 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004856/0.2822, allocations: 168 kB / 451.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.285, allocations: 0.9282 MB / 452.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.2867, allocations: 1.118 MB / 453.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.2883, allocations: 0.9431 MB / 454.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007721/0.296, allocations: 4.345 MB / 458.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.296, allocations: 0 / 458.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.296, allocations: 0 / 458.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.296, allocations: 0 / 458.5 MB, free: 12.38 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.009529/0.3055, allocations: 3.029 MB / 461.6 MB, free: 9.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3056, allocations: 8.031 kB / 461.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.3197, allocations: 1.809 MB / 463.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/0.3246, allocations: 1.329 MB / 464.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.3248, allocations: 127.3 kB / 464.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.3261, allocations: 255.8 kB / 465.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.3452, allocations: 6.705 MB / 471.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.3453, allocations: 31.7 kB / 471.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004773/0.3458, allocations: 87.89 kB / 471.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004202/0.35, allocations: 1.363 MB / 473.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/0.371, allocations: 6.036 MB / 479.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05313/0.4242, allocations: 24.03 MB / 0.4916 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.4358, allocations: 2.157 MB / 0.4937 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.4382, allocations: 0.9848 MB / 0.4946 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008583/0.4468, allocations: 2.726 MB / 0.4973 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.402e-05/0.4468, allocations: 54.98 kB / 0.4973 GB, free: 8.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 5.941e-06/0.4468, allocations: 0 / 0.4973 GB, free: 8.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.0512/0.498, allocations: 10.12 MB / 0.5072 GB, free: 14.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002209/0.5002, allocations: 1.549 MB / 0.5087 GB, free: 12.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00572/0.506, allocations: 2.605 MB / 0.5113 GB, free: 9.711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.5062, allocations: 49.55 kB / 0.5113 GB, free: 9.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002563/0.5088, allocations: 2.19 MB / 0.5135 GB, free: 7.445 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008518/0.5097, allocations: 0.5234 MB / 0.514 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/0.5117, allocations: 0.9214 MB / 0.5149 GB, free: 5.984 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.512, allocations: 357.9 kB / 0.5152 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004717/0.5167, allocations: 1.656 MB / 0.5168 GB, free: 3.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008137/0.5248, allocations: 4.46 MB / 0.5212 GB, free: 14.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/0.5385, allocations: 6.552 MB / 0.5276 GB, free: 6.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.679e-05/0.5386, allocations: 32 kB / 0.5276 GB, free: 6.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.03663/0.5752, allocations: 8.046 MB / 0.5355 GB, free: 14.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.5753, allocations: 48 kB / 0.5355 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02311/0.5984, allocations: 3.562 MB / 0.539 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02434/0.6228, allocations: 2.684 MB / 0.5416 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005929/0.6287, allocations: 1.01 MB / 0.5426 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2431/0.8719, allocations: 9.354 MB / 0.5517 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/0.8751, allocations: 336.5 kB / 0.5521 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003504/0.8755, allocations: 284.6 kB / 0.5523 GB, free: 109 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001635/0.8771, allocations: 1.421 MB / 0.5537 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.8774, allocations: 227.2 kB / 0.5539 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/0.8779, allocations: 305.6 kB / 0.5542 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005787/0.8837, allocations: 2.512 MB / 0.5567 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.8837, allocations: 5.5 kB / 0.5567 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.8837, allocations: 3.797 kB / 0.5567 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.8947, allocations: 6.186 MB / 0.5627 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.8947, allocations: 0 / 0.5627 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.8955, allocations: 184.7 kB / 0.5629 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004573/0.9, allocations: 1.43 MB / 0.5643 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.9001, allocations: 31.56 kB / 0.5643 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007947/0.9081, allocations: 7.611 MB / 0.5718 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006231/0.9087, allocations: 1.423 MB / 0.5732 GB, free: 99.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007171/0.9159, allocations: 4.838 MB / 0.5779 GB, free: 95.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.9162, allocations: 205.9 kB / 0.5781 GB, free: 95.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.9165, allocations: 31.89 kB / 0.5781 GB, free: 95.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.9176, allocations: 111.3 kB / 0.5782 GB, free: 95.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.9178, allocations: 83.48 kB / 0.5783 GB, free: 95.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/0.9179, allocations: 39.98 kB / 0.5783 GB, free: 95.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001532/0.9194, allocations: 1.483 MB / 0.5798 GB, free: 93.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.9194, allocations: 0 / 0.5798 GB, free: 93.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002956/0.9224, allocations: 0.7702 MB / 0.5805 GB, free: 93.11 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002791/0.9226, allocations: 162.7 kB / 0.5807 GB, free: 92.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005324/0.928, allocations: 4.197 MB / 0.5848 GB, free: 88.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.928, allocations: 4 kB / 0.5848 GB, free: 88.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002558/0.9305, allocations: 1.573 MB / 0.5863 GB, free: 87.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.9318, allocations: 239 kB / 0.5866 GB, free: 87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/0.9385, allocations: 6.637 MB / 0.593 GB, free: 80.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.94, allocations: 1.72 MB / 0.5947 GB, free: 78.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002311/0.9423, allocations: 1.383 MB / 0.5961 GB, free: 77.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.9426, allocations: 155.4 kB / 0.5962 GB, free: 77.07 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.9426, allocations: 4 kB / 0.5962 GB, free: 77.07 MB / 462.1 MB Notification: Performance of Templates: time 0.04086/0.9835, allocations: 31.19 MB / 0.6267 GB, free: 46.17 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.007905948004918]