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.001778/0.001778, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002089/0.002089, allocations: 165.3 kB / 24.27 MB, free: 152 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.62/1.62, 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.863e-06/1.863e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.257e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01418/0.01421, allocations: 10.35 MB / 282.7 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009075/0.02329, allocations: 3.857 MB / 286.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.02489, allocations: 75.62 kB / 286.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005689/0.03058, allocations: 2.764 MB / 289.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1202/0.1508, allocations: 1.833 MB / 291.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1523, allocations: 0.7344 MB / 291.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005932/0.1582, allocations: 4.096 MB / 296 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00401/0.1622, allocations: 3.073 MB / 299.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.1656, allocations: 2.239 MB / 301.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.1683, allocations: 2.118 MB / 303.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.1688, allocations: 318.1 kB / 303.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.1707, allocations: 1.11 MB / 304.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.1718, allocations: 1.95 MB / 306.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.173, allocations: 1.226 MB / 308.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005521/0.1785, allocations: 6.692 MB / 314.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1785, allocations: 0 / 314.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1785, allocations: 0 / 314.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001906/0.1787, allocations: 3.938 kB / 314.8 MB, free: 5.418 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.008086/0.1868, allocations: 5.388 MB / 320.2 MB, free: 68 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1869, allocations: 8.031 kB / 320.2 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009803/0.1967, allocations: 2.461 MB / 322.6 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008702/0.2054, allocations: 1.839 MB / 324.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004233/0.2058, allocations: 246.9 kB / 324.7 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002212/0.208, allocations: 393.4 kB / 325.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/0.234, allocations: 6.949 MB / 332 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001624/0.2341, allocations: 41.55 kB / 332.1 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006733/0.2348, allocations: 153.3 kB / 332.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004845/0.2396, allocations: 1.859 MB / 334.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/0.2602, allocations: 3.926 MB / 338 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06463/0.3248, allocations: 47.39 MB / 385.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.3379, allocations: 2.616 MB / 388 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.3401, allocations: 0.6054 MB / 388.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/0.3547, allocations: 4.465 MB / 393.1 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.389e-05/0.3547, allocations: 54.33 kB / 393.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 6.713e-06/0.3547, allocations: 0 / 393.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.04915/0.4039, allocations: 9.802 MB / 402.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002487/0.4064, allocations: 2.054 MB / 405 MB, free: 9.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007009/0.4134, allocations: 4.308 MB / 409.3 MB, free: 5.398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003038/0.4137, allocations: 48.75 kB / 409.4 MB, free: 5.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00353/0.4172, allocations: 3.58 MB / 412.9 MB, free: 1.781 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.4184, allocations: 0.7366 MB / 413.7 MB, free: 1.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002436/0.4208, allocations: 1.578 MB / 415.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.4211, allocations: 484.7 kB / 415.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.423, allocations: 0.7694 MB / 416.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008476/0.4315, allocations: 6.797 MB / 423.3 MB, free: 4.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/0.4434, allocations: 8.339 MB / 431.6 MB, free: 9.723 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001769/0.4436, allocations: 40 kB / 431.7 MB, free: 9.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02336/0.4669, allocations: 7.31 MB / 439 MB, free: 2.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.4671, allocations: 71.98 kB / 439 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1567/0.6237, allocations: 2.628 MB / 441.7 MB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01388/0.6376, allocations: 2.488 MB / 444.2 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004774/0.6424, allocations: 1.379 MB / 445.5 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.6559, allocations: 8.871 MB / 454.4 MB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006528/0.6624, allocations: 461.8 kB / 454.9 MB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/0.6639, allocations: 386.3 kB / 455.2 MB, free: 115.2 MB / 394.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.003488/0.6674, allocations: 0.7642 MB / 456 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.6684, allocations: 351.8 kB / 456.3 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.6696, allocations: 348.8 kB / 456.7 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004924/0.6746, allocations: 1.578 MB / 458.3 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.6746, allocations: 3.812 kB / 458.3 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.6746, allocations: 7.547 kB / 458.3 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/0.6913, allocations: 7.207 MB / 465.5 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.6913, allocations: 0 / 465.5 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008966/0.6922, allocations: 193.2 kB / 465.7 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005063/0.6972, allocations: 1.212 MB / 466.9 MB, free: 113.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/0.6974, allocations: 33.06 kB / 466.9 MB, free: 113.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009152/0.7066, allocations: 8.313 MB / 475.2 MB, free: 107.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008195/0.7074, allocations: 1.916 MB / 477.1 MB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006724/0.7141, allocations: 3.129 MB / 480.3 MB, free: 104 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.7151, allocations: 292.8 kB / 480.6 MB, free: 104 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006178/0.7157, allocations: 31.94 kB / 480.6 MB, free: 104 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.7174, allocations: 151.8 kB / 480.7 MB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/0.7177, allocations: 115.7 kB / 480.9 MB, free: 103.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.7178, allocations: 47.41 kB / 480.9 MB, free: 103.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002417/0.7203, allocations: 1.702 MB / 482.6 MB, free: 102.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7203, allocations: 0 / 482.6 MB, free: 102.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005017/0.7253, allocations: 1.148 MB / 483.7 MB, free: 101.9 MB / 394.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.0004484/0.7257, allocations: 184.2 kB / 483.9 MB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007913/0.7336, allocations: 4.263 MB / 488.2 MB, free: 97.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7336, allocations: 4.062 kB / 488.2 MB, free: 97.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003391/0.737, allocations: 1.77 MB / 490 MB, free: 95.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.7398, allocations: 359.3 kB / 490.3 MB, free: 95.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.7548, allocations: 7.514 MB / 497.8 MB, free: 87.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002928/0.7577, allocations: 2.346 MB / 0.4885 GB, free: 85.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003201/0.7609, allocations: 1.552 MB / 0.49 GB, free: 83.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.7614, allocations: 212.5 kB / 0.4902 GB, free: 83.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.943e-06/0.7614, allocations: 0 / 0.4902 GB, free: 83.58 MB / 394.7 MB Notification: Performance of Templates: time 0.06114/0.8225, allocations: 37.13 MB / 0.5264 GB, free: 47 MB / 394.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] 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.992241144995205]