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.001295/0.001295, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.521/1.521, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008107/0.0008107, allocations: 92.11 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002402/0.0002402, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2362, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09699/0.3332, allocations: 76.17 MB / 452 MB, free: 4.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3335, allocations: 67.95 kB / 452 MB, free: 4.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.3444, allocations: 4.149 MB / 456.2 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3444, allocations: 0 / 456.2 MB, free: 292 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3445, allocations: 12 kB / 456.2 MB, free: 280 kB / 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.0007207/0.3452, allocations: 499.1 kB / 456.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.3453, allocations: 11.97 kB / 456.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.3453, allocations: 27.72 kB / 456.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.3457, allocations: 243.2 kB / 457 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3457, allocations: 20.56 kB / 457 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.3458, allocations: 27.91 kB / 457 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.3462, allocations: 231.5 kB / 457.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3463, allocations: 4 kB / 457.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.3463, allocations: 8 kB / 457.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3463, allocations: 8 kB / 457.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.3466, allocations: 159.8 kB / 457.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3479, allocations: 0.805 MB / 458.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.3484, allocations: 291.3 kB / 458.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3484, allocations: 8 kB / 458.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.3485, allocations: 42.52 kB / 458.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.3485, allocations: 0 / 458.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002712/0.3512, allocations: 1.939 MB / 460.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.3513, allocations: 114.7 kB / 460.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.3515, allocations: 178.5 kB / 460.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3516, allocations: 33.7 kB / 460.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3517, allocations: 132.8 kB / 460.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.3518, allocations: 165.6 kB / 461.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.3519, allocations: 7.938 kB / 461.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.352, allocations: 346.8 kB / 461.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3522, allocations: 84.84 kB / 461.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.3524, allocations: 162.3 kB / 461.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.3525, allocations: 112.5 kB / 461.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3526, allocations: 4 kB / 461.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004686/0.353, allocations: 336.9 kB / 462.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3531, allocations: 16.59 kB / 462.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3531, allocations: 4 kB / 462.2 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3531, allocations: 4 kB / 462.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.3534, allocations: 91.89 kB / 462.3 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/0.3535, allocations: 4 kB / 462.3 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3536, allocations: 12 kB / 462.3 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.3536, allocations: 16 kB / 462.3 MB, free: 9.66 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 () * Number of clocked 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 0.000154/0.3538, allocations: 153.7 kB / 462.4 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.3539, allocations: 27.72 kB / 462.5 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.731e-05/0.354, allocations: 41.86 kB / 462.5 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.354, allocations: 4 kB / 462.5 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.354, allocations: 0 / 462.5 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.354, allocations: 7.984 kB / 462.5 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.3553, allocations: 1.039 MB / 463.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.3554, allocations: 12.03 kB / 463.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.3558, allocations: 95.77 kB / 463.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3558, allocations: 8 kB / 463.7 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.3558, allocations: 8 kB / 463.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3558, allocations: 4 kB / 463.7 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3558, allocations: 4 kB / 463.7 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.3567, allocations: 0.8453 MB / 464.5 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.3568, allocations: 108.8 kB / 464.6 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.3568, allocations: 12.06 kB / 464.6 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.357, allocations: 8 kB / 464.7 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.3571, allocations: 31.91 kB / 464.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3571, allocations: 16 kB / 464.7 MB, free: 7.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.3572, allocations: 136.5 kB / 464.8 MB, free: 6.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3572, allocations: 96 / 464.8 MB, free: 6.875 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.3576, allocations: 75.94 kB / 464.9 MB, free: 6.801 MB / 346.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 () * Number of clocked 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.0001672/0.3578, allocations: 127 kB / 465 MB, free: 6.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.3582, allocations: 258.1 kB / 465.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3582, allocations: 4 kB / 465.3 MB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.3584, allocations: 147.9 kB / 465.4 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.3589, allocations: 63.83 kB / 465.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.3604, allocations: 1.081 MB / 466.6 MB, free: 5.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3607, allocations: 0.7764 MB / 467.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.3608, allocations: 38.95 kB / 467.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.3609, allocations: 27.44 kB / 467.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3609, allocations: 0 / 467.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of Templates: time 0.005479/0.3664, allocations: 2.645 MB / 470.1 MB, free: 1.582 MB / 346.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