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.001755/0.001755, allocations: 81.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.002072/0.002072, allocations: 160.5 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.447/1.447, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 61.41 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1048, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01775/0.1225, allocations: 9.37 MB / 388.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1332, allocations: 3.776 MB / 392.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.135, allocations: 71.69 kB / 392.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007513/0.1425, allocations: 2.507 MB / 394.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.1488, allocations: 1.778 MB / 396.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.151, allocations: 0.6941 MB / 397.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00733/0.1584, allocations: 3.709 MB / 400.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004972/0.1633, allocations: 2.718 MB / 403.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.1664, allocations: 1.487 MB / 405 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004132/0.1705, allocations: 1.985 MB / 407 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007156/0.1712, allocations: 312 kB / 407.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.1734, allocations: 1.045 MB / 408.4 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.1753, allocations: 1.854 MB / 410.2 MB, free: 8 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.1776, allocations: 1.573 MB / 411.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008747/0.1863, allocations: 6.703 MB / 418.5 MB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1863, allocations: 0 / 418.5 MB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1863, allocations: 0 / 418.5 MB, free: 7.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001649/0.1865, allocations: 0 / 418.5 MB, free: 7.695 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.008745/0.1952, allocations: 4.592 MB / 423.1 MB, free: 3.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.1953, allocations: 15.98 kB / 423.1 MB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007775/0.2031, allocations: 2.061 MB / 425.2 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004211/0.2073, allocations: 1.961 MB / 427.1 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.2075, allocations: 246.2 kB / 427.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008047/0.2083, allocations: 387.7 kB / 427.7 MB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02537/0.2337, allocations: 10.21 MB / 438 MB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001717/0.2338, allocations: 39.62 kB / 438 MB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008485/0.2347, allocations: 155.9 kB / 438.1 MB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004905/0.2396, allocations: 1.849 MB / 440 MB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02439/0.264, allocations: 8.365 MB / 448.4 MB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.243/0.507, allocations: 37.01 MB / 485.4 MB, free: 55.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.5177, allocations: 3.596 MB / 489 MB, free: 55.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.5194, allocations: 1.334 MB / 490.3 MB, free: 55.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008357/0.5278, allocations: 5.557 MB / 495.9 MB, free: 53.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.5278, allocations: 54.56 kB / 495.9 MB, free: 53.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.258e-06/0.5278, allocations: 3.719 kB / 495.9 MB, free: 53.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.0275/0.5553, allocations: 12.54 MB / 0.4965 GB, free: 48.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009019/0.5562, allocations: 1.557 MB / 0.4981 GB, free: 47.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003704/0.5599, allocations: 3.655 MB / 0.5016 GB, free: 44.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.56, allocations: 45.7 kB / 0.5017 GB, free: 44.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.5611, allocations: 3.271 MB / 0.5049 GB, free: 40.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.5615, allocations: 0.6698 MB / 0.5055 GB, free: 40.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.5626, allocations: 1.269 MB / 0.5068 GB, free: 38.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.087e-05/0.5626, allocations: 301.1 kB / 0.507 GB, free: 38.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.565, allocations: 2.062 MB / 0.5091 GB, free: 36.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/0.5685, allocations: 5.994 MB / 0.5149 GB, free: 28.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006402/0.5749, allocations: 8.653 MB / 0.5234 GB, free: 18.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-05/0.575, allocations: 40 kB / 0.5234 GB, free: 18.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01945/0.5944, allocations: 9.844 MB / 0.533 GB, free: 8.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/0.5945, allocations: 64 kB / 0.5331 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01062/0.6051, allocations: 3.845 MB / 0.5368 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/0.6164, allocations: 2.722 MB / 0.5395 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/0.62, allocations: 1.376 MB / 0.5408 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/0.6384, allocations: 11.06 MB / 0.5516 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/0.643, allocations: 432.1 kB / 0.552 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005744/0.6435, allocations: 388 kB / 0.5524 GB, free: 4.109 MB / 446.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.003237/0.6468, allocations: 2.012 MB / 0.5544 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005978/0.6474, allocations: 309.9 kB / 0.5547 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006794/0.648, allocations: 409.5 kB / 0.5551 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00652/0.6546, allocations: 2.707 MB / 0.5577 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.6546, allocations: 0 / 0.5577 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-05/0.6546, allocations: 11.97 kB / 0.5577 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.67, allocations: 7.506 MB / 0.5651 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.67, allocations: 0 / 0.5651 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008903/0.6709, allocations: 187.7 kB / 0.5652 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004829/0.6757, allocations: 1.455 MB / 0.5667 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.6758, allocations: 35.98 kB / 0.5667 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.6898, allocations: 9.348 MB / 0.5758 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001193/0.691, allocations: 1.411 MB / 0.5772 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00992/0.7009, allocations: 5.331 MB / 0.5824 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/0.7016, allocations: 281.3 kB / 0.5827 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.7018, allocations: 36.11 kB / 0.5827 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.7031, allocations: 135.8 kB / 0.5828 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.7034, allocations: 120.6 kB / 0.5829 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.7035, allocations: 43.98 kB / 0.583 GB, free: 4.234 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00317/0.7067, allocations: 2.062 MB / 0.585 GB, free: 2.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7067, allocations: 0 / 0.585 GB, free: 2.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004523/0.7112, allocations: 1.066 MB / 0.586 GB, free: 1.117 MB / 478.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.0004062/0.7116, allocations: 159 kB / 0.5862 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009985/0.7216, allocations: 5.411 MB / 0.5915 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7216, allocations: 0 / 0.5915 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00452/0.7262, allocations: 2.079 MB / 0.5935 GB, free: 9.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.7281, allocations: 350.7 kB / 0.5938 GB, free: 9.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.743, allocations: 9.145 MB / 0.6028 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003504/0.7465, allocations: 2.584 MB / 0.6053 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003926/0.7504, allocations: 1.77 MB / 0.607 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.7509, allocations: 212.5 kB / 0.6072 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.7509, allocations: 0 / 0.6072 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.06986/0.8208, allocations: 35.03 MB / 0.6414 GB, free: 8.727 MB / 0.5294 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.563025620998815]