Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 201 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007983/0.0007983, allocations: 102.6 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2177, allocations: 51.28 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.3351, allocations: 102 MB / 0.4994 GB, free: 5.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.3354, allocations: 91.95 kB / 0.4994 GB, free: 5.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3388/0.6742, allocations: 75.91 MB / 0.5736 GB, free: 38.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6742, allocations: 0 / 0.5736 GB, free: 38.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000127/0.6743, allocations: 75.94 kB / 0.5736 GB, free: 38.63 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.009178/0.6835, allocations: 3.577 MB / 0.5771 GB, free: 34.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.6836, allocations: 8.031 kB / 0.5772 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008951/0.6925, allocations: 2.188 MB / 0.5793 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005882/0.6984, allocations: 2.626 MB / 0.5819 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.6988, allocations: 287.7 kB / 0.5821 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002274/0.7011, allocations: 360.3 kB / 0.5825 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.7225, allocations: 10.41 MB / 0.5926 GB, free: 18.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.7227, allocations: 59.59 kB / 0.5927 GB, free: 18.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/0.724, allocations: 187.8 kB / 0.5929 GB, free: 17.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001312/0.7253, allocations: 0.9976 MB / 0.5938 GB, free: 16.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/0.7413, allocations: 8.66 MB / 0.6023 GB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04879/0.7901, allocations: 44.66 MB / 0.6459 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009345/0.7995, allocations: 3.854 MB / 0.6497 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002587/0.8021, allocations: 1.794 MB / 0.6514 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.8142, allocations: 7.559 MB / 0.6588 GB, free: 12.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.8142, allocations: 51.5 kB / 0.6589 GB, free: 12.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 4.508e-06/0.8143, allocations: 0 / 0.6589 GB, free: 12.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=166): time 0.3172/1.131, allocations: 17.09 MB / 0.6756 GB, free: 109.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/1.132, allocations: 150.6 kB / 0.6757 GB, free: 109.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006959/1.139, allocations: 3.476 MB / 0.6791 GB, free: 109 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003244/1.139, allocations: 50.11 kB / 0.6791 GB, free: 109 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002087/1.141, allocations: 2.737 MB / 0.6818 GB, free: 107.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008134/1.142, allocations: 0.6465 MB / 0.6824 GB, free: 107.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/1.142, allocations: 109.4 kB / 0.6825 GB, free: 107.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003312/1.143, allocations: 0.5444 MB / 0.6831 GB, free: 107 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004369/1.147, allocations: 1.935 MB / 0.685 GB, free: 107 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005837/1.153, allocations: 5.353 MB / 0.6902 GB, free: 102.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/1.164, allocations: 7.89 MB / 0.6979 GB, free: 98.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.165, allocations: 37.94 kB / 0.6979 GB, free: 98.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02281/1.187, allocations: 8.133 MB / 0.7059 GB, free: 96.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.188, allocations: 57.28 kB / 0.7059 GB, free: 96.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/1.188, allocations: 125.8 kB / 0.7061 GB, free: 96.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005955/1.194, allocations: 1.294 MB / 0.7073 GB, free: 96.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006564/1.2, allocations: 1.269 MB / 0.7086 GB, free: 96.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/1.213, allocations: 6.118 MB / 0.7145 GB, free: 93.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007514/1.221, allocations: 348.9 kB / 0.7149 GB, free: 93.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.222, allocations: 338.6 kB / 0.7152 GB, free: 93.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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],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 (679): * Single equations (assignments): 675 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005891/1.228, allocations: 1.812 MB / 0.717 GB, free: 92.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/1.229, allocations: 302.7 kB / 0.7172 GB, free: 92.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.24, allocations: 3.351 MB / 0.7205 GB, free: 91.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/1.24, allocations: 24.97 kB / 0.7205 GB, free: 91.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/1.241, allocations: 3.969 kB / 0.7205 GB, free: 91.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/1.241, allocations: 11.39 kB / 0.7206 GB, free: 91.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02224/1.263, allocations: 7.593 MB / 0.728 GB, free: 88.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/1.263, allocations: 0 / 0.728 GB, free: 88.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.265, allocations: 237.1 kB / 0.7282 GB, free: 88.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005553/1.27, allocations: 1.117 MB / 0.7293 GB, free: 88.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/1.271, allocations: 30.56 kB / 0.7293 GB, free: 88.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/1.282, allocations: 5.766 MB / 0.7349 GB, free: 83.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-06/1.282, allocations: 8 kB / 0.735 GB, free: 83.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/1.296, allocations: 5.667 MB / 0.7405 GB, free: 79.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.297, allocations: 357.5 kB / 0.7408 GB, free: 78.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.298, allocations: 27.94 kB / 0.7409 GB, free: 78.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/1.301, allocations: 111.1 kB / 0.741 GB, free: 78.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/1.301, allocations: 85.34 kB / 0.741 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/1.302, allocations: 47.28 kB / 0.7411 GB, free: 78.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004233/1.306, allocations: 2.157 MB / 0.7432 GB, free: 76.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.306, allocations: 0 / 0.7432 GB, free: 76.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005983/1.312, allocations: 0.928 MB / 0.7441 GB, free: 76 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005333/1.312, allocations: 177.9 kB / 0.7443 GB, free: 75.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007056/1.319, allocations: 4.738 MB / 0.7489 GB, free: 71.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.319, allocations: 3.938 kB / 0.7489 GB, free: 71.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/1.321, allocations: 1.53 MB / 0.7504 GB, free: 70.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.325, allocations: 335.7 kB / 0.7507 GB, free: 70.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/1.34, allocations: 9.49 MB / 0.76 GB, free: 61.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003606/1.344, allocations: 2.855 MB / 0.7628 GB, free: 59.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004212/1.348, allocations: 1.703 MB / 0.7644 GB, free: 58.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/1.349, allocations: 210.6 kB / 0.7646 GB, free: 57.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/1.349, allocations: 0 / 0.7646 GB, free: 57.91 MB / 442.7 MB Notification: Performance of Templates: time 0.05213/1.401, allocations: 31.86 MB / 0.7957 GB, free: 28.19 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches