Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.413e-05/2.415e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5075, allocations: 76.08 MB / 446.1 MB, free: 1.168 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5079, allocations: 67.53 kB / 446.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01208/0.52, allocations: 4.156 MB / 450.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.52, allocations: 0 / 450.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.5201, allocations: 4 kB / 450.3 MB, free: 13.65 MB / 330.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.0006605/0.5207, allocations: 480.6 kB / 450.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.5208, allocations: 12.03 kB / 450.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.5209, allocations: 31.25 kB / 450.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.5211, allocations: 234.5 kB / 451.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.5212, allocations: 20 kB / 451.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.5212, allocations: 22.69 kB / 451.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.5216, allocations: 234.2 kB / 451.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5216, allocations: 7.906 kB / 451.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.5217, allocations: 17.92 kB / 451.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5217, allocations: 4 kB / 451.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.5219, allocations: 154.3 kB / 451.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.5231, allocations: 0.8027 MB / 452.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.5236, allocations: 285.1 kB / 452.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.5238, allocations: 130.8 kB / 452.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.5239, allocations: 7.953 kB / 452.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.5239, allocations: 46.38 kB / 452.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.5239, allocations: 0 / 452.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.002424/0.5263, allocations: 1.864 MB / 454.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.5264, allocations: 114.8 kB / 454.7 MB, free: 9.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.5266, allocations: 172.7 kB / 454.9 MB, free: 9.184 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.5266, allocations: 37.45 kB / 455 MB, free: 9.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.5267, allocations: 135.7 kB / 455.1 MB, free: 9.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.5268, allocations: 163.6 kB / 455.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.5269, allocations: 6.562 kB / 455.3 MB, free: 8.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.527, allocations: 342.9 kB / 455.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.5271, allocations: 83.06 kB / 455.7 MB, free: 8.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.5273, allocations: 159 kB / 455.8 MB, free: 8.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.5275, allocations: 110.3 kB / 455.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5275, allocations: 0 / 455.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004322/0.5279, allocations: 331.5 kB / 456.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.528, allocations: 4 kB / 456.3 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.528, allocations: 4.094 kB / 456.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.528, allocations: 4 kB / 456.3 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.5283, allocations: 94.95 kB / 456.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5284, allocations: 7.938 kB / 456.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.5285, allocations: 13.38 kB / 456.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.5285, allocations: 15.25 kB / 456.4 MB, free: 7.922 MB / 330.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 9.319e-05/0.5286, allocations: 126.3 kB / 456.5 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.5287, allocations: 27.62 kB / 456.5 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.5288, allocations: 40.02 kB / 456.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.5288, allocations: 12 kB / 456.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5288, allocations: 0 / 456.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5288, allocations: 3.984 kB / 456.6 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.5301, allocations: 1.06 MB / 457.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5301, allocations: 0 / 457.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.5305, allocations: 87.91 kB / 457.7 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.5305, allocations: 4 kB / 457.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.5306, allocations: 19.98 kB / 457.8 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.5306, allocations: 7.938 kB / 457.8 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5306, allocations: 4 kB / 457.8 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/0.5314, allocations: 0.8299 MB / 458.6 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.5315, allocations: 112.9 kB / 458.7 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.5316, allocations: 11.98 kB / 458.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.5318, allocations: 8 kB / 458.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.5318, allocations: 35.91 kB / 458.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.5319, allocations: 15.98 kB / 458.8 MB, free: 5.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.532, allocations: 140.2 kB / 458.9 MB, free: 5.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.532, allocations: 0 / 458.9 MB, free: 5.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.5324, allocations: 76 kB / 459 MB, free: 5.129 MB / 330.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.000156/0.5326, allocations: 115.1 kB / 459.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.533, allocations: 247.8 kB / 459.4 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.533, allocations: 0 / 459.4 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.5332, allocations: 143.9 kB / 459.5 MB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.5337, allocations: 52.95 kB / 459.5 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.5349, allocations: 0.8024 MB / 460.4 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.5353, allocations: 0.7803 MB / 461.1 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.5354, allocations: 30.95 kB / 461.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.5355, allocations: 31.44 kB / 461.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5355, allocations: 0 / 461.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of Templates: time 0.005898/0.5414, allocations: 2.7 MB / 463.9 MB, free: 148 kB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches