Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009586/0.0009587, allocations: 192.9 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 229.5 MB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007364/0.0007364, allocations: 95.62 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002235/0.0002235, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1939, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.001885/0.1959, allocations: 2.035 MB / 414.1 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003636/0.1963, allocations: 247.4 kB / 414.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1964, allocations: 4 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.1965, allocations: 32.55 kB / 414.4 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1966, allocations: 69.56 kB / 414.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.1968, allocations: 55.94 kB / 414.5 MB, free: 23.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.197, allocations: 278.7 kB / 414.8 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1971, allocations: 78.23 kB / 414.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.1972, allocations: 91.59 kB / 414.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1973, allocations: 107.5 kB / 415 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.1974, allocations: 12 kB / 415 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.251e-05/0.1974, allocations: 12 kB / 415 MB, free: 22.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.1975, allocations: 51.77 kB / 415.1 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.1975, allocations: 145 kB / 415.2 MB, free: 22.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1977, allocations: 268.5 kB / 415.5 MB, free: 22.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1977, allocations: 0 / 415.5 MB, free: 22.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1978, allocations: 0 / 415.5 MB, free: 22.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1978, allocations: 0 / 415.5 MB, free: 22.44 MB / 298.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.0005411/0.1983, allocations: 0.5069 MB / 416 MB, free: 21.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1984, allocations: 8.031 kB / 416 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.1984, allocations: 32.56 kB / 416 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1986, allocations: 240.6 kB / 416.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1986, allocations: 20.88 kB / 416.3 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.1987, allocations: 24.38 kB / 416.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.199, allocations: 244 kB / 416.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.199, allocations: 4.094 kB / 416.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1991, allocations: 15.94 kB / 416.6 MB, free: 21.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1991, allocations: 4 kB / 416.6 MB, free: 21.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.1993, allocations: 167.8 kB / 416.8 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.2001, allocations: 0.8008 MB / 417.6 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.2005, allocations: 287.7 kB / 417.8 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.2007, allocations: 138.4 kB / 418 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2007, allocations: 4.219 kB / 418 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.2007, allocations: 46.48 kB / 418 MB, free: 19.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.422e-06/0.2007, allocations: 0 / 418 MB, free: 19.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001952/0.2027, allocations: 1.942 MB / 420 MB, free: 17.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.2027, allocations: 106.8 kB / 420.1 MB, free: 17.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2029, allocations: 194.8 kB / 420.3 MB, free: 17.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2029, allocations: 33.7 kB / 420.3 MB, free: 17.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.203, allocations: 140.8 kB / 420.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.2031, allocations: 166.5 kB / 420.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.2031, allocations: 8 kB / 420.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.977e-05/0.2032, allocations: 338.8 kB / 420.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2033, allocations: 84.84 kB / 421 MB, free: 16.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2035, allocations: 162.3 kB / 421.2 MB, free: 16.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.2038, allocations: 267.2 kB / 421.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2038, allocations: 0 / 421.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004585/0.2043, allocations: 349.2 kB / 421.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2043, allocations: 12.03 kB / 421.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2044, allocations: 4 kB / 421.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.2044, allocations: 7.938 kB / 421.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.2048, allocations: 83.91 kB / 421.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.2048, allocations: 4 kB / 421.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2049, allocations: 15.98 kB / 421.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.2049, allocations: 19.94 kB / 421.9 MB, free: 15.44 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.205, allocations: 145.8 kB / 422.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.2051, allocations: 35.66 kB / 422.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.2052, allocations: 33.88 kB / 422.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2052, allocations: 7.984 kB / 422.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2052, allocations: 0 / 422.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2052, allocations: 4 kB / 422.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.2065, allocations: 1.05 MB / 423.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2065, allocations: 0 / 423.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.2069, allocations: 91.89 kB / 423.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2069, allocations: 7.938 kB / 423.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.2069, allocations: 8 kB / 423.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2069, allocations: 8 kB / 423.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2069, allocations: 3.938 kB / 423.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.2075, allocations: 0.7176 MB / 424 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.2075, allocations: 100.9 kB / 424.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.2076, allocations: 19.92 kB / 424.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.2078, allocations: 12 kB / 424.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.2078, allocations: 27.91 kB / 424.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.2078, allocations: 16.12 kB / 424.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.2079, allocations: 136.5 kB / 424.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2079, allocations: 0 / 424.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003501/0.2083, allocations: 79.94 kB / 424.4 MB, free: 12.8 MB / 298.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,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 0.0001043/0.2084, allocations: 115.1 kB / 424.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.2087, allocations: 275.8 kB / 424.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2087, allocations: 4 kB / 424.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.2089, allocations: 140.7 kB / 424.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.2095, allocations: 68.25 kB / 425 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.2106, allocations: 1.12 MB / 426.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2108, allocations: 0.7724 MB / 426.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.211, allocations: 38.95 kB / 426.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.211, allocations: 27.44 kB / 427 MB, free: 10.15 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.211, allocations: 0 / 427 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Templates: time 0.005037/0.2161, allocations: 2.801 MB / 429.8 MB, free: 7.375 MB / 298.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