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.001152/0.001152, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009967/0.0009968, allocations: 106.7 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008938/0.0008939, allocations: 55.91 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1946, allocations: 50.44 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002556/0.1972, allocations: 2.475 MB / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003025/0.1975, allocations: 241.7 kB / 409.8 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.1977, allocations: 8 kB / 409.8 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.1978, allocations: 35.7 kB / 409.8 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1979, allocations: 75.38 kB / 409.9 MB, free: 25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.198, allocations: 51.97 kB / 409.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1982, allocations: 278.7 kB / 410.2 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1984, allocations: 91.75 kB / 410.3 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.1984, allocations: 99.59 kB / 410.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1985, allocations: 119.5 kB / 410.5 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.1986, allocations: 16 kB / 410.5 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.272e-05/0.1986, allocations: 16 kB / 410.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.1986, allocations: 43.78 kB / 410.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.1987, allocations: 119.4 kB / 410.7 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1989, allocations: 280.4 kB / 411 MB, free: 23.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1989, allocations: 0 / 411 MB, free: 23.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1989, allocations: 8 kB / 411 MB, free: 23.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1989, allocations: 0 / 411 MB, free: 23.89 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.000553/0.1995, allocations: 0.5381 MB / 411.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.1995, allocations: 12.03 kB / 411.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1996, allocations: 28.56 kB / 411.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.1997, allocations: 244.6 kB / 411.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1998, allocations: 12.94 kB / 411.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.1998, allocations: 28.38 kB / 411.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.2001, allocations: 243.9 kB / 412.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2001, allocations: 4.188 kB / 412.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.2001, allocations: 11.94 kB / 412.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2001, allocations: 8 kB / 412.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.2004, allocations: 163.8 kB / 412.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.2011, allocations: 0.8006 MB / 413 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.2015, allocations: 290.1 kB / 413.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.2016, allocations: 134.5 kB / 413.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.2017, allocations: 11.92 kB / 413.5 MB, free: 21.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.2017, allocations: 42.72 kB / 413.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.2017, allocations: 0 / 413.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001765/0.2035, allocations: 1.946 MB / 415.5 MB, free: 18.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.2035, allocations: 110.8 kB / 415.6 MB, free: 18.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2036, allocations: 187.1 kB / 415.8 MB, free: 18.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.2036, allocations: 41.69 kB / 415.8 MB, free: 18.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.2037, allocations: 128.8 kB / 415.9 MB, free: 18.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.2038, allocations: 169.6 kB / 416.1 MB, free: 18.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.2038, allocations: 70.14 kB / 416.2 MB, free: 18.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.2039, allocations: 338.8 kB / 416.5 MB, free: 17.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.204, allocations: 88.84 kB / 416.6 MB, free: 17.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2041, allocations: 162.3 kB / 416.7 MB, free: 17.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.2044, allocations: 279.1 kB / 417 MB, free: 17.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2044, allocations: 0 / 417 MB, free: 17.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003576/0.2048, allocations: 343.9 kB / 417.3 MB, free: 16.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2048, allocations: 11.94 kB / 417.3 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2048, allocations: 48 / 417.3 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2048, allocations: 7.984 kB / 417.4 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.2051, allocations: 95.89 kB / 417.4 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2051, allocations: 0 / 417.4 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.646e-05/0.2052, allocations: 12 kB / 417.5 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.2053, allocations: 20.09 kB / 417.5 MB, free: 16.8 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 8.869e-05/0.2054, allocations: 146.7 kB / 417.6 MB, free: 16.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.2054, allocations: 35.66 kB / 417.7 MB, free: 16.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.2055, allocations: 37.86 kB / 417.7 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.2055, allocations: 4 kB / 417.7 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2055, allocations: 4 kB / 417.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2055, allocations: 3.984 kB / 417.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009529/0.2065, allocations: 1.058 MB / 418.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2065, allocations: 4 kB / 418.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.2068, allocations: 87.89 kB / 418.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2069, allocations: 7.938 kB / 418.9 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.2069, allocations: 16 kB / 418.9 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2069, allocations: 8.281 kB / 418.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2069, allocations: 7.938 kB / 418.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.2087, allocations: 2.269 MB / 421.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.2087, allocations: 100.8 kB / 421.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.2088, allocations: 20.06 kB / 421.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.209, allocations: 8 kB / 421.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.209, allocations: 35.84 kB / 421.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.209, allocations: 12 kB / 421.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.686e-05/0.2091, allocations: 136.5 kB / 421.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2091, allocations: 0 / 421.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004622/0.2096, allocations: 100 kB / 421.6 MB, free: 12.44 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 7.778e-05/0.2097, allocations: 115 kB / 421.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.21, allocations: 280.8 kB / 422 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.21, allocations: 0 / 422 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2102, allocations: 140.4 kB / 422.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.2108, allocations: 60.09 kB / 422.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.212, allocations: 1.288 MB / 423.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.2122, allocations: 0.7767 MB / 424.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.2123, allocations: 42.94 kB / 424.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.2123, allocations: 31.44 kB / 424.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2124, allocations: 3.938 kB / 424.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of Templates: time 0.005002/0.2174, allocations: 3.236 MB / 427.5 MB, free: 6.402 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@2/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