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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00091/0.0009101, allocations: 95.59 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002201/0.0002202, allocations: 4 kB / 306.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1017, allocations: 51.5 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2046/0.3063, allocations: 36.08 MB / 394.2 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02316/0.3295, allocations: 9.063 MB / 403.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008875/0.3384, allocations: 180.1 kB / 403.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007711/0.3462, allocations: 1.769 MB / 405.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01886/0.3651, allocations: 5.232 MB / 410.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.3693, allocations: 0.5573 MB / 411 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005493/0.3748, allocations: 2.15 MB / 413.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007325/0.3822, allocations: 4.153 MB / 417.3 MB, free: 456 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.3849, allocations: 0.9927 MB / 418.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.3876, allocations: 1.265 MB / 419.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009068/0.3885, allocations: 136 kB / 419.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.391, allocations: 0.8621 MB / 420.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002097/0.3931, allocations: 1.488 MB / 422 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.3946, allocations: 0.8038 MB / 422.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006784/0.4014, allocations: 5.102 MB / 427.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.4014, allocations: 0 / 427.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4014, allocations: 0 / 427.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002404/0.4017, allocations: 4 kB / 427.9 MB, free: 5.758 MB / 334.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.00899/0.4107, allocations: 3.812 MB / 431.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.4107, allocations: 8.031 kB / 431.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008882/0.4196, allocations: 2.272 MB / 434 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00518/0.4249, allocations: 2.059 MB / 436.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000391/0.4253, allocations: 250.2 kB / 436.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002331/0.4277, allocations: 391.7 kB / 436.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/0.4515, allocations: 10.23 MB / 446.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002019/0.4517, allocations: 39.62 kB / 447 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/0.4529, allocations: 151.9 kB / 447.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002992/0.4559, allocations: 1.857 MB / 449 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/0.4743, allocations: 8.491 MB / 457.5 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05477/0.5291, allocations: 39.46 MB / 496.9 MB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.5404, allocations: 4.074 MB / 0.4892 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01372/0.5541, allocations: 7.761 MB / 0.4968 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.5542, allocations: 51.55 kB / 0.4969 GB, free: 2.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 5.33e-06/0.5543, allocations: 7.938 kB / 0.4969 GB, free: 2.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03458/0.5888, allocations: 12.84 MB / 0.5094 GB, free: 5.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001547/0.5904, allocations: 1.608 MB / 0.511 GB, free: 3.344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006263/0.5967, allocations: 3.906 MB / 0.5148 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004233/0.5972, allocations: 45.7 kB / 0.5148 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002372/0.5996, allocations: 3.122 MB / 0.5179 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008948/0.6005, allocations: 0.6522 MB / 0.5185 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.6007, allocations: 120 kB / 0.5186 GB, free: 11.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003527/0.6011, allocations: 0.5703 MB / 0.5192 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/0.6043, allocations: 2.042 MB / 0.5212 GB, free: 8.828 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006108/0.6105, allocations: 5.957 MB / 0.527 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1927/0.8032, allocations: 3.393 MB / 0.5303 GB, free: 139.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-05/0.8033, allocations: 39.97 kB / 0.5304 GB, free: 139.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02332/0.8267, allocations: 9.853 MB / 0.54 GB, free: 137.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.8268, allocations: 65.38 kB / 0.5401 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01185/0.8387, allocations: 3.912 MB / 0.5439 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01173/0.8504, allocations: 2.752 MB / 0.5466 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003848/0.8543, allocations: 1.363 MB / 0.5479 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/0.8681, allocations: 11.16 MB / 0.5588 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004972/0.8731, allocations: 412.1 kB / 0.5592 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/0.8742, allocations: 389.2 kB / 0.5596 GB, free: 129.2 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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.003992/0.8782, allocations: 2.011 MB / 0.5615 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005703/0.8788, allocations: 327.2 kB / 0.5618 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/0.8795, allocations: 436.7 kB / 0.5622 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005158/0.8847, allocations: 2.76 MB / 0.5649 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/0.8847, allocations: 7.953 kB / 0.5649 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/0.8848, allocations: 3.984 kB / 0.565 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.8992, allocations: 8.648 MB / 0.5734 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.8993, allocations: 7.984 kB / 0.5734 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/0.9001, allocations: 183.7 kB / 0.5736 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004175/0.9043, allocations: 1.47 MB / 0.575 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.9044, allocations: 39.97 kB / 0.5751 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009752/0.9142, allocations: 9.4 MB / 0.5842 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006924/0.9149, allocations: 1.474 MB / 0.5857 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007771/0.9227, allocations: 5.477 MB / 0.591 GB, free: 96.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.9239, allocations: 384.6 kB / 0.5914 GB, free: 96.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/0.9243, allocations: 31.98 kB / 0.5914 GB, free: 96.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.9256, allocations: 127.9 kB / 0.5915 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/0.926, allocations: 114.2 kB / 0.5916 GB, free: 96.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.9261, allocations: 51.97 kB / 0.5917 GB, free: 95.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002954/0.929, allocations: 2.412 MB / 0.5941 GB, free: 93.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.929, allocations: 0 / 0.5941 GB, free: 93.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005282/0.9343, allocations: 1.104 MB / 0.5951 GB, free: 92.48 MB / 446.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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004864/0.9348, allocations: 177.2 kB / 0.5953 GB, free: 92.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008597/0.9434, allocations: 5.697 MB / 0.6009 GB, free: 86.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9435, allocations: 8.062 kB / 0.6009 GB, free: 86.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.9471, allocations: 2.318 MB / 0.6031 GB, free: 84.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.9492, allocations: 361.9 kB / 0.6035 GB, free: 83.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.9637, allocations: 10.68 MB / 0.6139 GB, free: 73.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002718/0.9665, allocations: 3.216 MB / 0.6171 GB, free: 69.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00382/0.9704, allocations: 1.8 MB / 0.6188 GB, free: 68.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.9708, allocations: 223.4 kB / 0.619 GB, free: 67.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.9708, allocations: 0 / 0.619 GB, free: 67.8 MB / 446.1 MB Notification: Performance of Templates: time 0.05637/1.027, allocations: 39.87 MB / 0.658 GB, free: 28.12 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches