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.001416/0.001416, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001516/0.001516, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.459/1.459, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 1.533e-06/1.533e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.209e-05, allocations: 6.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01317/0.01319, allocations: 9.376 MB / 281.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008577/0.02177, allocations: 3.76 MB / 285.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.0234, allocations: 75.62 kB / 285.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005895/0.0293, allocations: 2.682 MB / 288.2 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.03467, allocations: 1.843 MB / 290.1 MB, free: 0 / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1232/0.1579, allocations: 0.7265 MB / 290.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005765/0.1636, allocations: 4.089 MB / 294.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005461/0.1691, allocations: 3.059 MB / 297.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/0.1749, allocations: 2.235 MB / 300.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003738/0.1787, allocations: 2.058 MB / 302.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.1799, allocations: 321.2 kB / 302.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.1826, allocations: 1.11 MB / 303.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002252/0.1848, allocations: 1.926 MB / 305.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003589/0.1884, allocations: 1.223 MB / 306.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.1986, allocations: 6.674 MB / 313.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1986, allocations: 3.594 kB / 313.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1986, allocations: 0 / 313.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002874/0.1989, allocations: 4 kB / 313.5 MB, free: 6.539 MB / 266.7 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.0125/0.2114, allocations: 4.594 MB / 318.1 MB, free: 2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2114, allocations: 8.031 kB / 318.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/0.2257, allocations: 2.544 MB / 320.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008187/0.2339, allocations: 1.961 MB / 322.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005813/0.2344, allocations: 242.8 kB / 322.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002756/0.2372, allocations: 413.9 kB / 323.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0385/0.2757, allocations: 10.18 MB / 333.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002707/0.276, allocations: 36.81 kB / 333.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/0.2774, allocations: 162.1 kB / 333.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006351/0.2838, allocations: 1.854 MB / 335.5 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03627/0.3201, allocations: 8.361 MB / 343.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08977/0.4098, allocations: 37.09 MB / 380.9 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.4209, allocations: 3.613 MB / 384.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.4231, allocations: 1.343 MB / 385.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.4339, allocations: 5.643 MB / 391.5 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.434, allocations: 46.84 kB / 391.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 4.077e-06/0.434, allocations: 0 / 391.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.03717/0.4712, allocations: 12.68 MB / 404.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00168/0.4729, allocations: 1.561 MB / 405.8 MB, free: 9.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007245/0.4801, allocations: 3.721 MB / 409.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002901/0.4804, allocations: 49.7 kB / 409.6 MB, free: 5.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00309/0.4835, allocations: 3.227 MB / 412.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009944/0.4845, allocations: 0.6653 MB / 413.5 MB, free: 1.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/0.4864, allocations: 1.253 MB / 414.7 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4866, allocations: 301.1 kB / 415 MB, free: 284 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/0.4902, allocations: 2.082 MB / 417.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007729/0.4979, allocations: 6.017 MB / 423.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.145/0.643, allocations: 8.676 MB / 431.8 MB, free: 112.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001794/0.6431, allocations: 39.12 kB / 431.8 MB, free: 112.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.024/0.6671, allocations: 10.22 MB / 442.1 MB, free: 109.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.6673, allocations: 62.38 kB / 442.1 MB, free: 109.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01109/0.6784, allocations: 3.895 MB / 446 MB, free: 108.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/0.6909, allocations: 2.988 MB / 449 MB, free: 108.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/0.695, allocations: 1.377 MB / 450.4 MB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/0.7093, allocations: 11.11 MB / 461.5 MB, free: 99.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/0.7142, allocations: 477.3 kB / 461.9 MB, free: 98.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009404/0.7152, allocations: 388 kB / 462.3 MB, free: 98.57 MB / 378.7 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.003117/0.7183, allocations: 2.02 MB / 464.3 MB, free: 96.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006909/0.719, allocations: 352.5 kB / 464.7 MB, free: 96.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/0.7198, allocations: 401.5 kB / 465.1 MB, free: 96.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005332/0.7251, allocations: 2.718 MB / 467.8 MB, free: 93.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.7252, allocations: 4 kB / 467.8 MB, free: 93.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.7252, allocations: 7.969 kB / 467.8 MB, free: 93.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.7403, allocations: 7.581 MB / 475.4 MB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.7403, allocations: 0 / 475.4 MB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/0.7413, allocations: 187.7 kB / 475.6 MB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005395/0.7467, allocations: 1.718 MB / 477.3 MB, free: 83.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002626/0.7469, allocations: 43.52 kB / 477.3 MB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.7577, allocations: 9.391 MB / 486.7 MB, free: 74.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000672/0.7584, allocations: 1.417 MB / 488.1 MB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008574/0.767, allocations: 5.372 MB / 493.5 MB, free: 67.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00078/0.7678, allocations: 295.6 kB / 493.8 MB, free: 67.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005352/0.7683, allocations: 31.98 kB / 493.8 MB, free: 67.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.7699, allocations: 163.7 kB / 494 MB, free: 66.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/0.7703, allocations: 112.7 kB / 494.1 MB, free: 66.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.7704, allocations: 47.97 kB / 494.2 MB, free: 66.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003099/0.7735, allocations: 2.117 MB / 496.3 MB, free: 64.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7735, allocations: 0 / 496.3 MB, free: 64.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005459/0.779, allocations: 1.151 MB / 497.4 MB, free: 63.56 MB / 378.7 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.0005299/0.7795, allocations: 177.8 kB / 497.6 MB, free: 63.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008535/0.788, allocations: 5.45 MB / 0.4913 GB, free: 57.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.788, allocations: 0 / 0.4913 GB, free: 57.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003863/0.7919, allocations: 2.088 MB / 0.4933 GB, free: 55.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.7943, allocations: 366 kB / 0.4936 GB, free: 55.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.8073, allocations: 9.102 MB / 0.5025 GB, free: 46.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/0.8104, allocations: 2.584 MB / 0.5051 GB, free: 43.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003612/0.814, allocations: 1.774 MB / 0.5068 GB, free: 41.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/0.8147, allocations: 212.4 kB / 0.507 GB, free: 41.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.8147, allocations: 0 / 0.507 GB, free: 41.71 MB / 378.7 MB Notification: Performance of Templates: time 0.05817/0.8728, allocations: 36.63 MB / 0.5428 GB, free: 5.629 MB / 378.7 MB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/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: 6.743912262027152]