Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 195.3 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 89.53 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.763e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.5232, allocations: 78.1 MB / 480.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5235, allocations: 68.61 kB / 480.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009986/0.5335, allocations: 4.276 MB / 484.5 MB, free: 7.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5335, allocations: 0 / 484.5 MB, free: 7.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.5335, allocations: 4 kB / 484.5 MB, free: 7.773 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000557/0.5341, allocations: 487.1 kB / 484.9 MB, free: 7.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.5342, allocations: 8.031 kB / 485 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.5342, allocations: 31.62 kB / 485 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.5345, allocations: 233 kB / 485.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.5346, allocations: 15.31 kB / 485.2 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.5346, allocations: 29.44 kB / 485.3 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.5351, allocations: 234.8 kB / 485.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5351, allocations: 7.906 kB / 485.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.5351, allocations: 7.062 kB / 485.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.5351, allocations: 8 kB / 485.5 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.5354, allocations: 150.3 kB / 485.7 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.5364, allocations: 0.8097 MB / 486.5 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.5368, allocations: 280.4 kB / 486.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.537, allocations: 134.7 kB / 486.9 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.537, allocations: 15.97 kB / 486.9 MB, free: 5.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.5371, allocations: 34.56 kB / 486.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.5371, allocations: 0 / 486.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002044/0.5391, allocations: 1.863 MB / 488.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.5392, allocations: 110.8 kB / 488.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.5393, allocations: 171.4 kB / 489.1 MB, free: 3.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.5394, allocations: 30.77 kB / 489.1 MB, free: 3.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.5395, allocations: 140 kB / 489.2 MB, free: 3.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.5396, allocations: 155.8 kB / 489.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.5396, allocations: 11.06 kB / 489.4 MB, free: 3.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.5397, allocations: 349 kB / 489.7 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.5398, allocations: 81.88 kB / 489.8 MB, free: 2.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.54, allocations: 153.5 kB / 490 MB, free: 2.531 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.5402, allocations: 113.3 kB / 490.1 MB, free: 2.461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5402, allocations: 4 kB / 490.1 MB, free: 2.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004416/0.5407, allocations: 334.3 kB / 490.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.5407, allocations: 8 kB / 490.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.5407, allocations: 1.562 kB / 490.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.5408, allocations: 6.344 kB / 490.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.5411, allocations: 95.16 kB / 490.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.5411, allocations: 4 kB / 490.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.5412, allocations: 11.75 kB / 490.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.5412, allocations: 11.88 kB / 490.5 MB, free: 2.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/0.5413, allocations: 129.7 kB / 490.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.5414, allocations: 35.69 kB / 490.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.234e-05/0.5415, allocations: 32.91 kB / 490.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.5415, allocations: 8 kB / 490.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5415, allocations: 3.938 kB / 490.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5416, allocations: 3.984 kB / 490.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.5428, allocations: 1.054 MB / 491.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5428, allocations: 4 kB / 491.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.5431, allocations: 95.83 kB / 491.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.5431, allocations: 4 kB / 491.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5432, allocations: 8 kB / 491.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.5432, allocations: 4 kB / 491.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5432, allocations: 4 kB / 491.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.544, allocations: 0.8444 MB / 492.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.5441, allocations: 104.8 kB / 492.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.5441, allocations: 12.06 kB / 492.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.5443, allocations: 8 kB / 492.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.5444, allocations: 40.39 kB / 492.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.5444, allocations: 12 kB / 492.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.5446, allocations: 136.5 kB / 493.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5446, allocations: 0 / 493.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004098/0.545, allocations: 76 kB / 493.1 MB, free: 15.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001953/0.5452, allocations: 120 kB / 493.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004902/0.5457, allocations: 256.8 kB / 493.5 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5457, allocations: 0 / 493.5 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.5459, allocations: 135.8 kB / 493.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.5465, allocations: 65.73 kB / 493.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5479, allocations: 0.7818 MB / 494.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.5483, allocations: 0.7781 MB / 495.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.5484, allocations: 34.95 kB / 495.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.5485, allocations: 27.44 kB / 495.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5485, allocations: 0 / 495.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.006145/0.5547, allocations: 2.683 MB / 498 MB, free: 10.5 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches