Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 92.58 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 183.1 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.112/1.112, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002087/0.0002088, allocations: 11.94 kB / 302.1 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07127/0.07149, allocations: 50.41 MB / 352.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.001931/0.07346, allocations: 2.1 MB / 354.6 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003393/0.07381, allocations: 239.1 kB / 354.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.07391, allocations: 7.938 kB / 354.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.653e-05/0.07401, allocations: 27.77 kB / 354.9 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.07414, allocations: 71.39 kB / 354.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.07428, allocations: 51.95 kB / 355 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.07451, allocations: 282.7 kB / 355.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.07467, allocations: 78.23 kB / 355.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.07475, allocations: 95.59 kB / 355.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.07488, allocations: 107.5 kB / 355.5 MB, free: 396 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.07492, allocations: 12 kB / 355.5 MB, free: 384 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-05/0.07495, allocations: 19.94 kB / 355.6 MB, free: 364 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.07499, allocations: 43.78 kB / 355.6 MB, free: 320 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.07509, allocations: 141.1 kB / 355.7 MB, free: 172 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.07527, allocations: 207.6 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.07528, allocations: 0 / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.07528, allocations: 0 / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.07529, allocations: 0 / 355.9 MB, free: 15.96 MB / 302.1 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.0005559/0.07585, allocations: 0.4953 MB / 356.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.07589, allocations: 15.97 kB / 356.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.07594, allocations: 32.5 kB / 356.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.07615, allocations: 245.5 kB / 356.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.07617, allocations: 16.94 kB / 356.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.07622, allocations: 24.38 kB / 356.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.07656, allocations: 251.9 kB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.07658, allocations: 8.094 kB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.07661, allocations: 11.94 kB / 357 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.07662, allocations: 8 kB / 357 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.07686, allocations: 154.8 kB / 357.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.07769, allocations: 0.8009 MB / 358 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.07812, allocations: 303.6 kB / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.07833, allocations: 129.9 kB / 358.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.07835, allocations: 4 kB / 358.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.07838, allocations: 46.5 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.564e-06/0.07839, allocations: 3.984 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002155/0.08055, allocations: 1.943 MB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.0806, allocations: 110.8 kB / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.08075, allocations: 191.1 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.08078, allocations: 37.7 kB / 360.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.08086, allocations: 136.8 kB / 360.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/0.08095, allocations: 161.6 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.08101, allocations: 45.69 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.0811, allocations: 338.8 kB / 361.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.08124, allocations: 89.77 kB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.08141, allocations: 154.3 kB / 361.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.08173, allocations: 276.6 kB / 361.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.08174, allocations: 0 / 361.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004157/0.08216, allocations: 345.2 kB / 362.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.08218, allocations: 11.94 kB / 362.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.08219, allocations: 4 kB / 362.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.08221, allocations: 4 kB / 362.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.0825, allocations: 99.83 kB / 362.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.08252, allocations: 4 kB / 362.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.08262, allocations: 15.94 kB / 362.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.08264, allocations: 12 kB / 362.4 MB, free: 8.93 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.08275, allocations: 153.7 kB / 362.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.08284, allocations: 31.72 kB / 362.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.08291, allocations: 41.8 kB / 362.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.08292, allocations: 8 kB / 362.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.08293, allocations: 0 / 362.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.08294, allocations: 0 / 362.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.08409, allocations: 1.062 MB / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.08411, allocations: 0 / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.08443, allocations: 91.84 kB / 363.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.08444, allocations: 7.938 kB / 363.8 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.08447, allocations: 12 kB / 363.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.08448, allocations: 15.97 kB / 363.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.08449, allocations: 0 / 363.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.08507, allocations: 0.729 MB / 364.6 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.08513, allocations: 100.8 kB / 364.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.08517, allocations: 20 kB / 364.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.08536, allocations: 4 kB / 364.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.0854, allocations: 35.91 kB / 364.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.08542, allocations: 16 kB / 364.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.223e-05/0.08551, allocations: 136.5 kB / 364.9 MB, free: 6.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08551, allocations: 0 / 364.9 MB, free: 6.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.08588, allocations: 75.94 kB / 364.9 MB, free: 6.25 MB / 302.1 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,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.144e-05/0.08598, allocations: 115.1 kB / 365 MB, free: 6.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.08632, allocations: 266.3 kB / 365.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.08633, allocations: 4 kB / 365.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.08649, allocations: 147.7 kB / 365.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.08715, allocations: 64.39 kB / 365.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.08832, allocations: 1.145 MB / 366.7 MB, free: 4.445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.08856, allocations: 0.7762 MB / 367.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.08864, allocations: 27.44 kB / 367.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08864, allocations: 4 kB / 367.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of Templates: time 0.004085/0.09273, allocations: 3.405 MB / 370.9 MB, free: 216 kB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches