Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 200.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009321/0.0009321, allocations: 98.52 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.989e-05, allocations: 0 / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 51.49 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5722, allocations: 98.76 MB / 493.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.5725, allocations: 81.08 kB / 494 MB, free: 10.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4759/1.048, allocations: 95.3 MB / 0.5755 GB, free: 77.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.048, allocations: 0.8125 kB / 0.5755 GB, free: 77.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000264/1.049, allocations: 85.75 kB / 0.5756 GB, free: 77.62 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01675/1.065, allocations: 4.807 MB / 0.5803 GB, free: 76.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.066, allocations: 6.344 kB / 0.5803 GB, free: 76.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/1.078, allocations: 2.745 MB / 0.583 GB, free: 76.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/1.09, allocations: 4.686 MB / 0.5875 GB, free: 76.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/1.09, allocations: 151.1 kB / 0.5877 GB, free: 76.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/1.092, allocations: 282.3 kB / 0.5879 GB, free: 76.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01227/1.105, allocations: 6.926 MB / 0.5947 GB, free: 76.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/1.124, allocations: 10.39 MB / 0.6049 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002985/1.124, allocations: 62.09 kB / 0.6049 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009659/1.125, allocations: 37.78 kB / 0.605 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002476/1.128, allocations: 1.205 MB / 0.6061 GB, free: 72.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05509/1.183, allocations: 52.55 MB / 0.6575 GB, free: 37.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/1.186, allocations: 2.779 MB / 0.6602 GB, free: 36.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/1.188, allocations: 1.522 MB / 0.6617 GB, free: 35.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009819/1.189, allocations: 1.21 MB / 0.6628 GB, free: 34.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.189, allocations: 53.45 kB / 0.6629 GB, free: 34.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=187): time 4.228e-06/1.189, allocations: 3.188 kB / 0.6629 GB, free: 34.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=203): time 0.02426/1.213, allocations: 11.95 MB / 0.6746 GB, free: 29.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/1.213, allocations: 156 kB / 0.6747 GB, free: 29.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004516/1.218, allocations: 3.197 MB / 0.6778 GB, free: 27.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003616/1.218, allocations: 25.7 kB / 0.6779 GB, free: 27.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001537/1.22, allocations: 3.456 MB / 0.6812 GB, free: 25.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007512/1.221, allocations: 0.7878 MB / 0.682 GB, free: 24.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/1.221, allocations: 0 / 0.682 GB, free: 24.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002854/1.221, allocations: 0.5993 MB / 0.6826 GB, free: 24.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/1.224, allocations: 2.041 MB / 0.6846 GB, free: 23.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/1.228, allocations: 6.245 MB / 0.6907 GB, free: 16.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004481/1.232, allocations: 3.507 MB / 0.6941 GB, free: 15.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/1.232, allocations: 44.88 kB / 0.6941 GB, free: 15.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01458/1.247, allocations: 8.091 MB / 0.702 GB, free: 12.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.247, allocations: 70.47 kB / 0.7021 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004517/1.252, allocations: 2.658 MB / 0.7047 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/1.255, allocations: 1.08 MB / 0.7058 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005229/1.26, allocations: 1.646 MB / 0.7074 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/1.264, allocations: 4.231 MB / 0.7115 GB, free: 24.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006067/1.27, allocations: 379.7 kB / 0.7119 GB, free: 24.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/1.271, allocations: 425.4 kB / 0.7123 GB, free: 24.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 688 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 861 * 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: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002087/1.273, allocations: 494.1 kB / 0.7127 GB, free: 24.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009211/1.274, allocations: 339.6 kB / 0.7131 GB, free: 23.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006125/1.28, allocations: 3.035 MB / 0.716 GB, free: 21.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004201/1.285, allocations: 2.529 MB / 0.7185 GB, free: 19.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.285, allocations: 7.953 kB / 0.7185 GB, free: 19.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/1.285, allocations: 14.41 kB / 0.7185 GB, free: 19.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/1.301, allocations: 9.383 MB / 0.7277 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/1.301, allocations: 12 kB / 0.7277 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/1.303, allocations: 361.7 kB / 0.728 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/1.306, allocations: 0.9681 MB / 0.729 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/1.306, allocations: 33.8 kB / 0.729 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/1.311, allocations: 4.476 MB / 0.7334 GB, free: 6.859 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009143/1.312, allocations: 1.397 MB / 0.7348 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2755/1.587, allocations: 7.352 MB / 0.7419 GB, free: 81.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.589, allocations: 406.5 kB / 0.7423 GB, free: 81.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008253/1.59, allocations: 26.94 kB / 0.7423 GB, free: 81.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.592, allocations: 148.3 kB / 0.7425 GB, free: 81.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/1.592, allocations: 168.1 kB / 0.7426 GB, free: 81.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/1.592, allocations: 69.5 kB / 0.7427 GB, free: 81.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003604/1.596, allocations: 2.103 MB / 0.7448 GB, free: 81.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.596, allocations: 0 / 0.7448 GB, free: 81.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008192/1.604, allocations: 1.011 MB / 0.7458 GB, free: 81.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 14 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 170 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006742/1.605, allocations: 190.6 kB / 0.7459 GB, free: 81.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009536/1.614, allocations: 5.451 MB / 0.7513 GB, free: 80.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.614, allocations: 2.625 kB / 0.7513 GB, free: 80.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003601/1.618, allocations: 2.094 MB / 0.7533 GB, free: 80.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.621, allocations: 362.3 kB / 0.7537 GB, free: 80.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/1.637, allocations: 8.72 MB / 0.7622 GB, free: 78.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004192/1.642, allocations: 3.542 MB / 0.7656 GB, free: 77.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005454/1.647, allocations: 2.092 MB / 0.7677 GB, free: 77.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007827/1.648, allocations: 259.3 kB / 0.7679 GB, free: 77.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.423e-06/1.648, allocations: 0 / 0.7679 GB, free: 77.3 MB / 458.7 MB Notification: Performance of Templates: time 0.06829/1.716, allocations: 32.75 MB / 0.7999 GB, free: 75.59 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches