Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.001993/0.001993, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.081/2.081, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 43.81 kB / 300.6 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.188, allocations: 49.46 MB / 350.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.005269/0.1934, allocations: 1.655 MB / 351.7 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1949, allocations: 0.5104 MB / 352.2 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.1951, allocations: 3.938 kB / 352.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.76e-05/0.1953, allocations: 0 / 352.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1956, allocations: 19.84 kB / 352.3 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.196, allocations: 47.91 kB / 352.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1962, allocations: 55.72 kB / 352.4 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1964, allocations: 16 kB / 352.4 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1966, allocations: 35.78 kB / 352.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.1967, allocations: 23.86 kB / 352.4 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.1967, allocations: 4 kB / 352.4 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.1968, allocations: 0 / 352.4 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.033e-05/0.1969, allocations: 15.92 kB / 352.5 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.1969, allocations: 31.75 kB / 352.5 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1971, allocations: 43.92 kB / 352.5 MB, free: 2.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1971, allocations: 7.984 kB / 352.5 MB, free: 2.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1971, allocations: 0 / 352.5 MB, free: 2.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1971, allocations: 0 / 352.5 MB, free: 2.145 MB / 286.1 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.000774/0.1979, allocations: 389.8 kB / 352.9 MB, free: 1.719 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.198, allocations: 11.97 kB / 352.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.975e-05/0.1981, allocations: 16.75 kB / 352.9 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.1985, allocations: 212 kB / 353.1 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1985, allocations: 384 / 353.1 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1985, allocations: 4.375 kB / 353.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.1991, allocations: 147 kB / 353.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1991, allocations: 0 / 353.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1991, allocations: 0 / 353.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.1992, allocations: 4 kB / 353.3 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1993, allocations: 27.92 kB / 353.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.2, allocations: 287.4 kB / 353.6 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.2002, allocations: 94.42 kB / 353.7 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2004, allocations: 47.48 kB / 353.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.2004, allocations: 0 / 353.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.2005, allocations: 42.5 kB / 353.8 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.2005, allocations: 0 / 353.8 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004772/0.201, allocations: 101.4 kB / 353.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002774/0.2013, allocations: 141 kB / 354 MB, free: 400 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.2015, allocations: 149.9 kB / 354.2 MB, free: 240 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2015, allocations: 25.7 kB / 354.2 MB, free: 208 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.2016, allocations: 92.14 kB / 354.3 MB, free: 112 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.2017, allocations: 3.906 kB / 354.3 MB, free: 108 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.2017, allocations: 21.7 kB / 354.3 MB, free: 80 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.202, allocations: 330.7 kB / 354.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.2021, allocations: 11.98 kB / 354.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.2022, allocations: 53.08 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2023, allocations: 65.08 kB / 354.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2023, allocations: 0 / 354.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000204/0.2025, allocations: 85.45 kB / 354.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.2026, allocations: 8 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2026, allocations: 192 / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.2026, allocations: 7.984 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2027, allocations: 15.98 kB / 354.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.2028, allocations: 4 kB / 354.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.2028, allocations: 4 kB / 354.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.2029, allocations: 4 kB / 354.9 MB, free: 15.45 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.203, allocations: 129.7 kB / 355 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.2032, allocations: 61.55 kB / 355.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.2033, allocations: 19.95 kB / 355.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2033, allocations: 0 / 355.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.2033, allocations: 4 kB / 355.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2033, allocations: 0 / 355.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.2036, allocations: 185.4 kB / 355.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2036, allocations: 0 / 355.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.2037, allocations: 15.98 kB / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2037, allocations: 128 / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.2037, allocations: 8 kB / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2037, allocations: 0 / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2038, allocations: 0 / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.2041, allocations: 201.9 kB / 355.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.2042, allocations: 97 kB / 355.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2042, allocations: 0 / 355.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.2043, allocations: 7.984 kB / 355.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.2044, allocations: 8 kB / 355.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.2044, allocations: 4 kB / 355.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.2046, allocations: 111.2 kB / 355.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2046, allocations: 0 / 355.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.2049, allocations: 8 kB / 355.7 MB, free: 14.49 MB / 302.1 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 (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.0001905/0.2051, allocations: 107.1 kB / 355.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.2053, allocations: 51.84 kB / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2053, allocations: 0 / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.2054, allocations: 8 kB / 355.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.2059, allocations: 43.8 kB / 355.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.2066, allocations: 253.9 kB / 356.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.2071, allocations: 0.7004 MB / 356.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.2071, allocations: 11.44 kB / 356.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2072, allocations: 0 / 356.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of Templates: time 0.003892/0.2111, allocations: 1.008 MB / 357.9 MB, free: 12.25 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches