Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009681/0.0009681, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009066/0.0009066, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.937/0.937, allocations: 177 MB / 204.8 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.205e-05, allocations: 6.312 kB / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007877/0.007899, allocations: 10.42 MB / 283.3 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005917/0.01382, allocations: 3.877 MB / 287.2 MB, free: 2.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009637/0.01478, allocations: 71.69 kB / 287.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.01763, allocations: 2.784 MB / 290.1 MB, free: 80 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1107/0.1283, allocations: 1.842 MB / 291.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1293, allocations: 0.7307 MB / 292.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003466/0.1328, allocations: 4.105 MB / 296.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.1355, allocations: 3.067 MB / 299.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.1377, allocations: 2.246 MB / 302.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.1397, allocations: 2.121 MB / 304.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003592/0.14, allocations: 318.4 kB / 304.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1413, allocations: 1.1 MB / 305.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008496/0.1421, allocations: 1.945 MB / 307.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.1433, allocations: 1.23 MB / 308.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00305/0.1464, allocations: 4.347 MB / 313.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1464, allocations: 0 / 313.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1464, allocations: 0 / 313.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001439/0.1465, allocations: 0 / 313.1 MB, free: 7.273 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.004605/0.1511, allocations: 4.972 MB / 318.1 MB, free: 2.348 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1511, allocations: 11.98 kB / 318.1 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/0.1549, allocations: 2.461 MB / 320.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.1568, allocations: 1.852 MB / 322.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.1569, allocations: 240.8 kB / 322.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004831/0.1574, allocations: 393 kB / 323 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006959/0.1644, allocations: 6.488 MB / 329.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.281e-05/0.1644, allocations: 48.75 kB / 329.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002753/0.1647, allocations: 159.9 kB / 329.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00172/0.1664, allocations: 1.859 MB / 331.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006867/0.1733, allocations: 3.565 MB / 335.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02574/0.199, allocations: 43.86 MB / 379 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/0.204, allocations: 2.66 MB / 381.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006687/0.2046, allocations: 0.5761 MB / 382.2 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004481/0.2091, allocations: 4.365 MB / 386.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.2092, allocations: 50.39 kB / 386.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 3.517e-06/0.2092, allocations: 0 / 386.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.01924/0.2284, allocations: 9.625 MB / 396.3 MB, free: 2.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001309/0.2297, allocations: 2.042 MB / 398.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00524/0.235, allocations: 3.409 MB / 401.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004235/0.2354, allocations: 47.19 kB / 401.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00254/0.2379, allocations: 3.394 MB / 405.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009277/0.2388, allocations: 0.6954 MB / 405.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001854/0.2407, allocations: 1.347 MB / 407.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2408, allocations: 476.8 kB / 407.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.2426, allocations: 0.7071 MB / 408.4 MB, free: 6.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/0.248, allocations: 6.527 MB / 414.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008254/0.2563, allocations: 8 MB / 422.9 MB, free: 2.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/0.2564, allocations: 40 kB / 423 MB, free: 2.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01758/0.274, allocations: 7.157 MB / 430.1 MB, free: 11.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.733e-05/0.2741, allocations: 64 kB / 430.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00566/0.2797, allocations: 2.556 MB / 432.7 MB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006329/0.2861, allocations: 2.45 MB / 435.2 MB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/0.2887, allocations: 1.38 MB / 436.6 MB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1719/0.4606, allocations: 8.386 MB / 444.9 MB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.4635, allocations: 457.8 kB / 445.4 MB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000463/0.464, allocations: 387.3 kB / 445.8 MB, free: 115.7 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.001116/0.4651, allocations: 0.6791 MB / 446.4 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.4655, allocations: 360.9 kB / 446.8 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.4658, allocations: 347.6 kB / 447.1 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002803/0.4686, allocations: 1.493 MB / 448.6 MB, free: 115.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.4686, allocations: 5.828 kB / 448.6 MB, free: 115.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4686, allocations: 7.328 kB / 448.6 MB, free: 115.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008284/0.4769, allocations: 6.239 MB / 454.9 MB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4769, allocations: 1.375 kB / 454.9 MB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.4774, allocations: 187.7 kB / 455.1 MB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/0.4799, allocations: 1.182 MB / 456.3 MB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/0.48, allocations: 35.3 kB / 456.3 MB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/0.4848, allocations: 7.833 MB / 464.1 MB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004131/0.4852, allocations: 1.907 MB / 466 MB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.4889, allocations: 2.951 MB / 469 MB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.4893, allocations: 289.2 kB / 469.3 MB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.4894, allocations: 29.67 kB / 469.3 MB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/0.4903, allocations: 160.4 kB / 469.4 MB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/0.4905, allocations: 114.1 kB / 469.6 MB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-05/0.4906, allocations: 41.12 kB / 469.6 MB, free: 106.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001776/0.4924, allocations: 1.422 MB / 471 MB, free: 106.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4924, allocations: 0 / 471 MB, free: 106.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004061/0.4965, allocations: 1.144 MB / 472.2 MB, free: 106.4 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.0003701/0.4968, allocations: 187.2 kB / 472.3 MB, free: 106.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005411/0.5023, allocations: 3.942 MB / 476.3 MB, free: 105.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.5023, allocations: 3.812 kB / 476.3 MB, free: 105.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.5044, allocations: 1.692 MB / 478 MB, free: 104.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.5059, allocations: 379.1 kB / 478.4 MB, free: 104.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/0.5151, allocations: 7.412 MB / 485.8 MB, free: 98.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009823/0.5161, allocations: 1.176 MB / 486.9 MB, free: 97.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002573/0.5187, allocations: 1.555 MB / 488.5 MB, free: 96.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.5191, allocations: 208.5 kB / 488.7 MB, free: 96.01 MB / 394.7 MB Notification: Performance of SimCode: time 1.784e-06/0.5191, allocations: 0 / 488.7 MB, free: 96.01 MB / 394.7 MB Notification: Performance of Templates: time 0.04934/0.5684, allocations: 38.31 MB / 0.5147 GB, free: 58.27 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.9750387291423976]