Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001796/0.001796, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002293/0.002293, allocations: 212.7 kB / 24.48 MB, free: 3.977 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.669/1.669, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 51.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3866, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01324/0.3998, allocations: 9.372 MB / 441.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.4106, allocations: 3.76 MB / 445.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.4129, allocations: 71.62 kB / 445.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005813/0.4187, allocations: 2.511 MB / 448 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005987/0.4247, allocations: 1.786 MB / 449.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.4268, allocations: 0.6863 MB / 450.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007166/0.434, allocations: 3.708 MB / 454.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00465/0.4386, allocations: 2.729 MB / 457 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003355/0.442, allocations: 1.499 MB / 458.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.4463, allocations: 2.114 MB / 460.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.4477, allocations: 316 kB / 460.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.4511, allocations: 1.057 MB / 461.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002855/0.454, allocations: 1.854 MB / 463.8 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003334/0.4573, allocations: 1.58 MB / 465.4 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.4684, allocations: 6.695 MB / 472.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4685, allocations: 4 kB / 472.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4685, allocations: 0 / 472.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003579/0.4688, allocations: 0 / 472.1 MB, free: 14.8 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01313/0.4819, allocations: 4.572 MB / 476.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.482, allocations: 8.031 kB / 476.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007625/0.4896, allocations: 1.967 MB / 478.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006646/0.4963, allocations: 1.953 MB / 480.6 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/0.4967, allocations: 250.2 kB / 480.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.4983, allocations: 391.8 kB / 481.2 MB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.5204, allocations: 10.19 MB / 491.4 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.5205, allocations: 35.69 kB / 491.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004622/0.521, allocations: 159.8 kB / 491.6 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003066/0.524, allocations: 1.86 MB / 493.4 MB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02152/0.5456, allocations: 8.351 MB / 0.49 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07026/0.6158, allocations: 36.91 MB / 0.5261 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.6283, allocations: 3.439 MB / 0.5294 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.6311, allocations: 1.337 MB / 0.5307 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3301/0.9612, allocations: 5.529 MB / 0.5361 GB, free: 101 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.9613, allocations: 46.81 kB / 0.5362 GB, free: 101 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.94e-06/0.9613, allocations: 2.75 kB / 0.5362 GB, free: 101 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03119/0.9925, allocations: 12.31 MB / 0.5482 GB, free: 97.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009864/0.9934, allocations: 1.557 MB / 0.5497 GB, free: 95.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/0.9976, allocations: 3.656 MB / 0.5533 GB, free: 94.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.998, allocations: 49.41 kB / 0.5533 GB, free: 94.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.9994, allocations: 3.259 MB / 0.5565 GB, free: 91.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006211/1, allocations: 0.6777 MB / 0.5572 GB, free: 91.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/1.001, allocations: 1.269 MB / 0.5584 GB, free: 90.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/1.001, allocations: 305.1 kB / 0.5587 GB, free: 89.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002457/1.004, allocations: 2.052 MB / 0.5607 GB, free: 88.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003723/1.008, allocations: 5.985 MB / 0.5666 GB, free: 80.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007655/1.015, allocations: 8.645 MB / 0.575 GB, free: 69.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/1.015, allocations: 40 kB / 0.575 GB, free: 69.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0226/1.038, allocations: 9.813 MB / 0.5846 GB, free: 59.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.038, allocations: 64.94 kB / 0.5847 GB, free: 59.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01093/1.049, allocations: 3.852 MB / 0.5885 GB, free: 55.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01119/1.06, allocations: 2.713 MB / 0.5911 GB, free: 52.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004087/1.064, allocations: 1.372 MB / 0.5924 GB, free: 51.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/1.079, allocations: 11.06 MB / 0.6032 GB, free: 40.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00694/1.085, allocations: 407.5 kB / 0.6036 GB, free: 39.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/1.087, allocations: 395.5 kB / 0.604 GB, free: 39.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.005462/1.093, allocations: 2.005 MB / 0.606 GB, free: 37.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.094, allocations: 309.9 kB / 0.6063 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/1.095, allocations: 409.5 kB / 0.6066 GB, free: 36.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005949/1.101, allocations: 2.71 MB / 0.6093 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.575e-05/1.101, allocations: 7.938 kB / 0.6093 GB, free: 34.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.002e-05/1.101, allocations: 7.984 kB / 0.6093 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.12, allocations: 7.468 MB / 0.6166 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/1.12, allocations: 4 kB / 0.6166 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/1.121, allocations: 191.7 kB / 0.6168 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004388/1.126, allocations: 1.451 MB / 0.6182 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002501/1.126, allocations: 39.97 kB / 0.6182 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/1.137, allocations: 9.341 MB / 0.6274 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000749/1.137, allocations: 1.421 MB / 0.6288 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008614/1.146, allocations: 5.341 MB / 0.634 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/1.147, allocations: 277.8 kB / 0.6342 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007454/1.148, allocations: 24 kB / 0.6343 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.15, allocations: 132.3 kB / 0.6344 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/1.15, allocations: 108.9 kB / 0.6345 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/1.15, allocations: 55.98 kB / 0.6345 GB, free: 7.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003585/1.154, allocations: 2.062 MB / 0.6366 GB, free: 5.586 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/1.154, allocations: 0 / 0.6366 GB, free: 5.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005582/1.159, allocations: 1.078 MB / 0.6376 GB, free: 4.512 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004492/1.16, allocations: 163 kB / 0.6378 GB, free: 4.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009025/1.169, allocations: 5.405 MB / 0.643 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.169, allocations: 0 / 0.643 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004705/1.173, allocations: 2.083 MB / 0.6451 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.176, allocations: 348.1 kB / 0.6454 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/1.199, allocations: 9.151 MB / 0.6543 GB, free: 3.262 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005798/1.205, allocations: 2.584 MB / 0.6569 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005329/1.21, allocations: 1.767 MB / 0.6586 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007723/1.211, allocations: 207.3 kB / 0.6588 GB, free: 14.67 MB / 478.1 MB Notification: Performance of SimCode: time 3.527e-06/1.211, allocations: 4 kB / 0.6588 GB, free: 14.67 MB / 478.1 MB Notification: Performance of Templates: time 0.1022/1.313, allocations: 41.8 MB / 0.6996 GB, free: 5.383 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: 7.759794422003324]