Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 156.9 kB / 24.48 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 173.4 MB / 201.1 MB, free: 12.67 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 50.42 kB / 319.4 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08847, allocations: 52.16 MB / 371.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01145/0.09992, allocations: 9.393 MB / 381 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007865/0.1078, allocations: 3.756 MB / 384.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.1091, allocations: 71.69 kB / 384.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005012/0.1141, allocations: 2.527 MB / 387.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.1185, allocations: 1.809 MB / 389.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.12, allocations: 0.6941 MB / 389.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004865/0.1249, allocations: 3.685 MB / 393.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003331/0.1282, allocations: 2.718 MB / 396.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.1304, allocations: 1.503 MB / 397.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.1333, allocations: 1.985 MB / 399.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006312/0.134, allocations: 316 kB / 400 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.136, allocations: 1.073 MB / 401.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.1378, allocations: 1.866 MB / 403 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.1397, allocations: 1.596 MB / 404.6 MB, free: 6.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00776/0.1475, allocations: 6.762 MB / 411.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1475, allocations: 0 / 411.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1475, allocations: 0 / 411.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001905/0.1476, allocations: 0 / 411.3 MB, free: 15.37 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.008696/0.1563, allocations: 4.627 MB / 416 MB, free: 10.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1564, allocations: 8.922 kB / 416 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007178/0.1636, allocations: 2.01 MB / 418 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/0.168, allocations: 1.969 MB / 419.9 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.1682, allocations: 254.1 kB / 420.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008828/0.1691, allocations: 391.7 kB / 420.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.1862, allocations: 10.15 MB / 430.7 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.601e-05/0.1863, allocations: 39.67 kB / 430.8 MB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/0.1867, allocations: 159.9 kB / 430.9 MB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00294/0.1896, allocations: 1.849 MB / 432.8 MB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.2058, allocations: 8.319 MB / 441.1 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2268/0.4327, allocations: 37.02 MB / 478.1 MB, free: 63.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.443, allocations: 3.553 MB / 481.7 MB, free: 63.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.4448, allocations: 1.337 MB / 483 MB, free: 63.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008367/0.4531, allocations: 5.552 MB / 488.5 MB, free: 62.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.4531, allocations: 47.28 kB / 488.6 MB, free: 62.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 3.838e-06/0.4531, allocations: 0 / 488.6 MB, free: 62.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.02725/0.4804, allocations: 12.43 MB / 0.4893 GB, free: 58.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008404/0.4812, allocations: 1.557 MB / 0.4908 GB, free: 56.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.4851, allocations: 3.669 MB / 0.4944 GB, free: 53.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.4853, allocations: 49.7 kB / 0.4944 GB, free: 53.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.4866, allocations: 3.268 MB / 0.4976 GB, free: 50.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/0.487, allocations: 0.6725 MB / 0.4983 GB, free: 49.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.4881, allocations: 1.274 MB / 0.4995 GB, free: 48.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.4881, allocations: 301.1 kB / 0.4998 GB, free: 48.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/0.4904, allocations: 2.038 MB / 0.5018 GB, free: 46.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/0.4937, allocations: 5.983 MB / 0.5076 GB, free: 38.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006109/0.4999, allocations: 8.643 MB / 0.5161 GB, free: 27.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.261e-05/0.4999, allocations: 41.59 kB / 0.5161 GB, free: 27.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01815/0.5181, allocations: 9.7 MB / 0.5256 GB, free: 18.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.466e-05/0.5181, allocations: 67.94 kB / 0.5257 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0105/0.5286, allocations: 3.729 MB / 0.5293 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/0.5397, allocations: 2.606 MB / 0.5318 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.5434, allocations: 1.376 MB / 0.5332 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008182/0.5515, allocations: 7.403 MB / 0.5404 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004527/0.5561, allocations: 423.5 kB / 0.5408 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007047/0.5568, allocations: 388 kB / 0.5412 GB, free: 1.871 MB / 430.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.002427/0.5592, allocations: 2.015 MB / 0.5432 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005691/0.5598, allocations: 317.9 kB / 0.5435 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006851/0.5666, allocations: 3.063 MB / 0.5464 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005886/0.5725, allocations: 2.664 MB / 0.5491 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.5725, allocations: 4 kB / 0.5491 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.5725, allocations: 3.984 kB / 0.5491 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.5875, allocations: 7.453 MB / 0.5563 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.5875, allocations: 0 / 0.5563 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008781/0.5884, allocations: 199.7 kB / 0.5565 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004731/0.5931, allocations: 1.428 MB / 0.5579 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.5932, allocations: 39.97 kB / 0.558 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006988/0.6002, allocations: 5.748 MB / 0.5636 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001183/0.6014, allocations: 1.417 MB / 0.565 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009748/0.6111, allocations: 5.277 MB / 0.5701 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008528/0.612, allocations: 273.8 kB / 0.5704 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.6123, allocations: 31.98 kB / 0.5704 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.6136, allocations: 131.8 kB / 0.5705 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.6139, allocations: 92.8 kB / 0.5706 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.614, allocations: 51.92 kB / 0.5707 GB, free: 3.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003251/0.6172, allocations: 2.062 MB / 0.5727 GB, free: 1.102 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6172, allocations: 0 / 0.5727 GB, free: 1.102 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004853/0.6221, allocations: 1.023 MB / 0.5737 GB, free: 80 kB / 462.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.0003991/0.6225, allocations: 170.7 kB / 0.5738 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009803/0.6323, allocations: 5.135 MB / 0.5789 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6323, allocations: 0 / 0.5789 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004114/0.6364, allocations: 1.799 MB / 0.5806 GB, free: 8.945 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.6388, allocations: 343.5 kB / 0.5809 GB, free: 8.613 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.6553, allocations: 9.123 MB / 0.5898 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00374/0.6591, allocations: 2.56 MB / 0.5924 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004028/0.6631, allocations: 1.774 MB / 0.5941 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.6636, allocations: 212.5 kB / 0.5943 GB, free: 10.84 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6636, allocations: 0 / 0.5943 GB, free: 10.84 MB / 494.1 MB Notification: Performance of Templates: time 0.06518/0.7287, allocations: 31.05 MB / 0.6246 GB, free: 12.27 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.258138210978359]