Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001847/0.001847, allocations: 194.3 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 226.6 MB / 244.3 MB, free: 8.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008743/0.0008743, allocations: 105.4 kB / 296.4 MB, free: 6.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002091/0.0002091, allocations: 8 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1962, allocations: 51.3 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.001377/0.1976, allocations: 1.315 MB / 408.8 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006658/0.1983, allocations: 0.5224 MB / 409.3 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.1984, allocations: 0.625 kB / 409.3 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.1985, allocations: 3.938 kB / 409.3 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1986, allocations: 12.67 kB / 409.4 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.1989, allocations: 53.02 kB / 409.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.1989, allocations: 51.78 kB / 409.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.199, allocations: 17.8 kB / 409.5 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.352e-05/0.1991, allocations: 27.86 kB / 409.5 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.1992, allocations: 23.86 kB / 409.5 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1992, allocations: 9.234 kB / 409.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.337e-05/0.1993, allocations: 0 / 409.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.1993, allocations: 8 kB / 409.5 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.1993, allocations: 38.58 kB / 409.6 MB, free: 25.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.859e-05/0.1994, allocations: 47.84 kB / 409.6 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1994, allocations: 0 / 409.6 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1994, allocations: 1.531 kB / 409.6 MB, free: 25.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1994, allocations: 0 / 409.6 MB, free: 25.67 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003742/0.1998, allocations: 383.5 kB / 410 MB, free: 25.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1998, allocations: 8.031 kB / 410 MB, free: 25.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.2, allocations: 27.83 kB / 410 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.2001, allocations: 196.4 kB / 410.2 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2001, allocations: 0 / 410.2 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.2002, allocations: 8 kB / 410.2 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2004, allocations: 150.6 kB / 410.4 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2004, allocations: 4 kB / 410.4 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.2004, allocations: 0 / 410.4 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2005, allocations: 0 / 410.4 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.691e-05/0.2005, allocations: 39.86 kB / 410.4 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.2008, allocations: 287.4 kB / 410.7 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.2009, allocations: 94.42 kB / 410.8 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.201, allocations: 51.42 kB / 410.9 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.201, allocations: 7.984 kB / 410.9 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2011, allocations: 34.56 kB / 410.9 MB, free: 24.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2011, allocations: 0 / 410.9 MB, free: 24.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002782/0.2014, allocations: 113.9 kB / 411 MB, free: 24.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.2014, allocations: 132.5 kB / 411.1 MB, free: 23.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2015, allocations: 150.3 kB / 411.3 MB, free: 23.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.2015, allocations: 29.7 kB / 411.3 MB, free: 23.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.2016, allocations: 92.31 kB / 411.4 MB, free: 23.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.2016, allocations: 7.906 kB / 411.4 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.2016, allocations: 0 / 411.4 MB, free: 23.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.2017, allocations: 318.9 kB / 411.7 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/0.2017, allocations: 19.92 kB / 411.7 MB, free: 23.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.2018, allocations: 53.14 kB / 411.8 MB, free: 23.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.2018, allocations: 20 kB / 411.8 MB, free: 23.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2018, allocations: 0 / 411.8 MB, free: 23.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001928/0.202, allocations: 93.59 kB / 411.9 MB, free: 23.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2021, allocations: 8 kB / 411.9 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2021, allocations: 0 / 411.9 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2021, allocations: 11.92 kB / 411.9 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.2022, allocations: 15.94 kB / 411.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2022, allocations: 0 / 411.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.2023, allocations: 4 kB / 411.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2023, allocations: 7.984 kB / 412 MB, free: 23.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 6.585e-05/0.2024, allocations: 121.8 kB / 412.1 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.2024, allocations: 69.48 kB / 412.1 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.2025, allocations: 11.88 kB / 412.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2025, allocations: 0 / 412.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2025, allocations: 0 / 412.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2025, allocations: 7.984 kB / 412.2 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.2027, allocations: 173.7 kB / 412.3 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2027, allocations: 0 / 412.3 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.2027, allocations: 19.92 kB / 412.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.2028, allocations: 8.047 kB / 412.4 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.2028, allocations: 7.938 kB / 412.4 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2028, allocations: 0 / 412.4 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2028, allocations: 0 / 412.4 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.2029, allocations: 202 kB / 412.6 MB, free: 22.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.203, allocations: 104.8 kB / 412.7 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.203, allocations: 3.953 kB / 412.7 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.2031, allocations: 4 kB / 412.7 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.2031, allocations: 0 / 412.7 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.2032, allocations: 4 kB / 412.7 MB, free: 22.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.606e-05/0.2032, allocations: 119.2 kB / 412.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2032, allocations: 0 / 412.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000229/0.2035, allocations: 12 kB / 412.8 MB, free: 22.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (6): * Single equations (assignments): 6 * 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 9.557e-05/0.2036, allocations: 99.23 kB / 412.9 MB, free: 21.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.2037, allocations: 43.92 kB / 412.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2037, allocations: 0 / 412.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.2038, allocations: 20.36 kB / 413 MB, free: 21.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.2042, allocations: 46.06 kB / 413 MB, free: 21.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.2046, allocations: 249.8 kB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.2047, allocations: 0.7004 MB / 414 MB, free: 20.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.2048, allocations: 15.42 kB / 414 MB, free: 20.82 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2048, allocations: 0 / 414 MB, free: 20.82 MB / 298.7 MB Notification: Performance of Templates: time 0.002183/0.207, allocations: 1.013 MB / 415 MB, free: 19.82 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches