Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001763/0.001763, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001964/0.001964, allocations: 168.1 kB / 25.33 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8779/0.8779, allocations: 158.6 MB / 187.2 MB, free: 2.551 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.828e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.008466/0.008494, allocations: 10.45 MB / 261.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006325/0.01482, allocations: 3.866 MB / 265.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.01586, allocations: 71.62 kB / 265.4 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.01865, allocations: 2.78 MB / 268.2 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.02144, allocations: 1.874 MB / 270.1 MB, free: 472 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.02251, allocations: 0.7366 MB / 270.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003382/0.02589, allocations: 4.049 MB / 274.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.0283, allocations: 3.077 MB / 278 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.03025, allocations: 2.261 MB / 280.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.03228, allocations: 2.135 MB / 282.4 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004153/0.0327, allocations: 316 kB / 282.7 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.0341, allocations: 1.119 MB / 283.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.03521, allocations: 1.971 MB / 285.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.03639, allocations: 1.254 MB / 287 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.03983, allocations: 4.386 MB / 291.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.03984, allocations: 4 kB / 291.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.03984, allocations: 0 / 291.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.51e-05/0.03991, allocations: 0 / 291.4 MB, free: 11.04 MB / 282.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.005264/0.04518, allocations: 5.009 MB / 296.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.04522, allocations: 15.98 kB / 296.4 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00393/0.04915, allocations: 2.401 MB / 298.8 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.05127, allocations: 1.835 MB / 300.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.05141, allocations: 246.4 kB / 300.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004988/0.05191, allocations: 391.6 kB / 301.3 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1329/0.1848, allocations: 6.46 MB / 307.7 MB, free: 48.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.053e-05/0.1849, allocations: 36.72 kB / 307.8 MB, free: 48.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.1852, allocations: 160.8 kB / 307.9 MB, free: 48.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/0.1871, allocations: 1.858 MB / 309.8 MB, free: 48.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007478/0.1946, allocations: 3.563 MB / 313.4 MB, free: 48.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02128/0.2159, allocations: 43.86 MB / 357.2 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/0.2205, allocations: 2.638 MB / 359.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.2211, allocations: 0.5776 MB / 360.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004358/0.2255, allocations: 4.378 MB / 364.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.2255, allocations: 56.19 kB / 364.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=152): time 3.937e-06/0.2255, allocations: 3.984 kB / 364.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=159): time 0.01662/0.2421, allocations: 9.627 MB / 374.5 MB, free: 5.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001178/0.2433, allocations: 2.035 MB / 376.5 MB, free: 3.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/0.2466, allocations: 3.431 MB / 380 MB, free: 352 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.2467, allocations: 59.59 kB / 380 MB, free: 292 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/0.2484, allocations: 3.393 MB / 383.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000504/0.2489, allocations: 0.6926 MB / 384.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.2501, allocations: 1.351 MB / 385.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2502, allocations: 484.7 kB / 385.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.2513, allocations: 0.7031 MB / 386.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/0.2554, allocations: 6.529 MB / 393.2 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005755/0.2611, allocations: 7.997 MB / 401.2 MB, free: 5.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.424e-05/0.2612, allocations: 40 kB / 401.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01107/0.2722, allocations: 7.096 MB / 408.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.2723, allocations: 64 kB / 408.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005634/0.2779, allocations: 2.487 MB / 410.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006181/0.2841, allocations: 2.346 MB / 413.2 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.2868, allocations: 1.372 MB / 414.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/0.2921, allocations: 5.777 MB / 420.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/0.295, allocations: 467.3 kB / 420.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/0.2955, allocations: 384 kB / 421.2 MB, free: 1.492 MB / 346.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.001299/0.2968, allocations: 0.6763 MB / 421.8 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/0.2972, allocations: 353.9 kB / 422.2 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/0.3002, allocations: 1.903 MB / 424.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002633/0.3028, allocations: 1.506 MB / 425.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3028, allocations: 4 kB / 425.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.3028, allocations: 3.984 kB / 425.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00889/0.3117, allocations: 6.245 MB / 431.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3117, allocations: 0 / 431.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.3122, allocations: 195.7 kB / 432 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/0.3148, allocations: 1.167 MB / 433.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.403e-05/0.3149, allocations: 35.97 kB / 433.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1304/0.4452, allocations: 5.251 MB / 438.5 MB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006897/0.4459, allocations: 1.892 MB / 440.4 MB, free: 106.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005002/0.4509, allocations: 2.947 MB / 443.3 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006164/0.4515, allocations: 297.2 kB / 443.6 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.4518, allocations: 31.52 kB / 443.7 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/0.4526, allocations: 158.3 kB / 443.8 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.4528, allocations: 97.98 kB / 443.9 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.232e-05/0.4529, allocations: 49.81 kB / 444 MB, free: 105.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002133/0.4551, allocations: 1.429 MB / 445.4 MB, free: 105.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4551, allocations: 1.219 kB / 445.4 MB, free: 105.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0036/0.4587, allocations: 1.111 MB / 446.5 MB, free: 105.7 MB / 362.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.0003738/0.459, allocations: 186.1 kB / 446.7 MB, free: 105.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00489/0.4639, allocations: 3.657 MB / 450.3 MB, free: 105.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4639, allocations: 0 / 450.3 MB, free: 105.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.4659, allocations: 1.372 MB / 451.7 MB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.467, allocations: 369.3 kB / 452.1 MB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008373/0.4754, allocations: 7.412 MB / 459.5 MB, free: 101.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/0.4763, allocations: 1.159 MB / 460.6 MB, free: 101.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002034/0.4783, allocations: 1.549 MB / 462.2 MB, free: 101.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.4786, allocations: 211.8 kB / 462.4 MB, free: 101.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4786, allocations: 0 / 462.4 MB, free: 101.2 MB / 362.7 MB Notification: Performance of Templates: time 0.04137/0.52, allocations: 33.18 MB / 495.6 MB, free: 71.28 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4212480005808175]