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.00131/0.00131, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001153/0.001153, allocations: 168.1 kB / 25.69 MB, free: 8.457 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.8853/0.8853, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.923e-06/1.923e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.184e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01096/0.01098, allocations: 10.12 MB / 261.7 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008586/0.01957, allocations: 3.981 MB / 265.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.0209, allocations: 75.62 kB / 265.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.02506, allocations: 2.776 MB / 268.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.02927, allocations: 1.874 MB / 270.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.03069, allocations: 0.7445 MB / 271.1 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00486/0.03555, allocations: 4.054 MB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003994/0.03954, allocations: 3.163 MB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/0.04305, allocations: 2.268 MB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/0.04623, allocations: 2.038 MB / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008123/0.04704, allocations: 320 kB / 282.9 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.04922, allocations: 1.116 MB / 284.1 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002024/0.05124, allocations: 1.975 MB / 286 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.05341, allocations: 1.246 MB / 287.3 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005521/0.05893, allocations: 4.398 MB / 291.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.05893, allocations: 0 / 291.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.05893, allocations: 0 / 291.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.667e-05/0.05903, allocations: 0 / 291.7 MB, free: 14.89 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.006296/0.06533, allocations: 4.304 MB / 296 MB, free: 10.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.06537, allocations: 11.98 kB / 296 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004284/0.06965, allocations: 1.078 MB / 297.1 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.07256, allocations: 1.561 MB / 298.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.07275, allocations: 254.4 kB / 298.9 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007913/0.07354, allocations: 387.6 kB / 299.3 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008444/0.08199, allocations: 5.15 MB / 304.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.827e-05/0.08208, allocations: 35.69 kB / 304.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004037/0.08249, allocations: 167.8 kB / 304.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002547/0.08503, allocations: 1.685 MB / 306.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005503/0.09054, allocations: 2.689 MB / 309 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02123/0.1118, allocations: 31.05 MB / 340 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/0.1159, allocations: 2.203 MB / 342.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/0.1164, allocations: 402 kB / 342.6 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004157/0.1205, allocations: 3.868 MB / 346.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1205, allocations: 51.5 kB / 346.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 3.095e-06/0.1205, allocations: 0 / 346.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01077/0.1313, allocations: 5.251 MB / 351.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09759/0.2289, allocations: 1.47 MB / 353.3 MB, free: 96.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.2315, allocations: 3.065 MB / 356.3 MB, free: 96.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.2317, allocations: 44.7 kB / 356.4 MB, free: 96.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006884/0.2324, allocations: 3.088 MB / 359.5 MB, free: 94.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.2328, allocations: 0.6699 MB / 360.1 MB, free: 94.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007806/0.2335, allocations: 1.181 MB / 361.3 MB, free: 94.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.006e-05/0.2336, allocations: 306.3 kB / 361.6 MB, free: 93.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.2346, allocations: 0.8114 MB / 362.4 MB, free: 93.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.2364, allocations: 4.598 MB / 367 MB, free: 88.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.2394, allocations: 6.059 MB / 373.1 MB, free: 83.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.713e-05/0.2394, allocations: 46.94 kB / 373.1 MB, free: 83.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.006311/0.2458, allocations: 4.956 MB / 378.1 MB, free: 80.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.2458, allocations: 71.03 kB / 378.2 MB, free: 80.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003397/0.2492, allocations: 1.284 MB / 379.4 MB, free: 79.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003949/0.2531, allocations: 1.087 MB / 380.5 MB, free: 78.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.2548, allocations: 1.329 MB / 381.9 MB, free: 77.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.2574, allocations: 3.849 MB / 385.7 MB, free: 73.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.2592, allocations: 279.7 kB / 386 MB, free: 72.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.2594, allocations: 344 kB / 386.3 MB, free: 72.58 MB / 330.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.0007635/0.2602, allocations: 0.6329 MB / 387 MB, free: 71.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.2604, allocations: 203.7 kB / 387.2 MB, free: 71.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.2623, allocations: 1.394 MB / 388.5 MB, free: 70.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001499/0.2638, allocations: 0.9698 MB / 389.5 MB, free: 69.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.2638, allocations: 4 kB / 389.5 MB, free: 69.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2638, allocations: 11.97 kB / 389.5 MB, free: 69.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/0.2685, allocations: 4.167 MB / 393.7 MB, free: 65.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2685, allocations: 0 / 393.7 MB, free: 65.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.2689, allocations: 155.8 kB / 393.8 MB, free: 64.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/0.2708, allocations: 1.035 MB / 394.9 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.2709, allocations: 27.98 kB / 394.9 MB, free: 63.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.2725, allocations: 3.564 MB / 398.5 MB, free: 60.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002749/0.2728, allocations: 1.37 MB / 399.8 MB, free: 58.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.275, allocations: 2.157 MB / 402 MB, free: 56.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.2752, allocations: 273.8 kB / 402.3 MB, free: 56.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.2754, allocations: 35.92 kB / 402.3 MB, free: 56.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.2759, allocations: 32 kB / 402.3 MB, free: 56.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.2761, allocations: 88.8 kB / 402.4 MB, free: 55.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.2761, allocations: 43.97 kB / 402.5 MB, free: 55.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000617/0.2767, allocations: 1.079 MB / 403.5 MB, free: 54.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2767, allocations: 0 / 403.5 MB, free: 54.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002224/0.2789, allocations: 1.113 MB / 404.7 MB, free: 53.69 MB / 330.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.0002601/0.2792, allocations: 168.1 kB / 404.8 MB, free: 53.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.2817, allocations: 2.95 MB / 407.8 MB, free: 50.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001156/0.2818, allocations: 96.16 kB / 407.9 MB, free: 50.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.2829, allocations: 0.9267 MB / 408.8 MB, free: 49.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.284, allocations: 0.5384 MB / 409.3 MB, free: 48.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/0.2897, allocations: 7.139 MB / 416.5 MB, free: 41.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.2904, allocations: 1.154 MB / 417.6 MB, free: 40.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008301/0.2912, allocations: 463 kB / 418.1 MB, free: 40.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/0.2918, allocations: 0.4966 MB / 418.6 MB, free: 39.6 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2918, allocations: 0 / 418.6 MB, free: 39.6 MB / 330.7 MB Notification: Performance of Templates: time 0.03988/0.3317, allocations: 35.81 MB / 454.4 MB, free: 3.766 MB / 330.7 MB " [Timeout remaining time 660] 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: 3.781338771805167]