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.0009426/0.0009423, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.5 MB / 245.3 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007179/0.0007176, allocations: 93.2 kB / 297.4 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002312/0.0002312, allocations: 4 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2093, allocations: 51.3 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09116/0.3005, allocations: 77.98 MB / 486.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.3008, allocations: 83.95 kB / 486.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00458/0.3054, allocations: 1.732 MB / 488.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.636e-06/0.3054, allocations: 0 / 488.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3054, allocations: 0 / 488.5 MB, free: 11.81 MB / 362.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.0003752/0.3058, allocations: 375.2 kB / 488.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3058, allocations: 8.031 kB / 488.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.306, allocations: 28.81 kB / 488.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3062, allocations: 209.9 kB / 489.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3062, allocations: 4.375 kB / 489.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.3062, allocations: 8.312 kB / 489.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.3065, allocations: 135.3 kB / 489.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3065, allocations: 4.188 kB / 489.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3065, allocations: 11.88 kB / 489.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3065, allocations: 0 / 489.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.3066, allocations: 31.92 kB / 489.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.307, allocations: 291.4 kB / 489.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3072, allocations: 110.3 kB / 489.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.3072, allocations: 35.44 kB / 489.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3073, allocations: 7.984 kB / 489.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3073, allocations: 38.56 kB / 489.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.3073, allocations: 3.938 kB / 489.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002838/0.3076, allocations: 101.5 kB / 489.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.3077, allocations: 144.9 kB / 490 MB, free: 10.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3078, allocations: 150.4 kB / 490.1 MB, free: 9.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3079, allocations: 33.69 kB / 490.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.3079, allocations: 84.14 kB / 490.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.3079, allocations: 11.91 kB / 490.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-06/0.3079, allocations: 0 / 490.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.308, allocations: 318.8 kB / 490.6 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.3081, allocations: 12 kB / 490.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.3082, allocations: 49.14 kB / 490.6 MB, free: 9.332 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3083, allocations: 74.3 kB / 490.7 MB, free: 9.242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3083, allocations: 7.875 kB / 490.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001559/0.3084, allocations: 85.7 kB / 490.8 MB, free: 9.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3085, allocations: 8 kB / 490.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3085, allocations: 0 / 490.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3085, allocations: 4 kB / 490.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.3086, allocations: 11.98 kB / 490.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3086, allocations: 7.984 kB / 490.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.3086, allocations: 8.031 kB / 490.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3087, allocations: 11.98 kB / 490.8 MB, free: 9.094 MB / 362.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 8.436e-05/0.3087, allocations: 129.8 kB / 491 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3089, allocations: 65.53 kB / 491 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.3089, allocations: 11.88 kB / 491 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3089, allocations: 7.938 kB / 491 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3089, allocations: 0 / 491 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3089, allocations: 3.984 kB / 491.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.3091, allocations: 173.6 kB / 491.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3091, allocations: 4 kB / 491.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.3092, allocations: 11.98 kB / 491.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3092, allocations: 8.094 kB / 491.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3092, allocations: 0 / 491.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3092, allocations: 4 kB / 491.2 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3092, allocations: 0 / 491.2 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.3094, allocations: 209.8 kB / 491.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.3095, allocations: 96.98 kB / 491.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3095, allocations: 4 kB / 491.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.3096, allocations: 0 / 491.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.3096, allocations: 7.938 kB / 491.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3097, allocations: 0 / 491.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.164e-05/0.3097, allocations: 115.2 kB / 491.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3097, allocations: 0 / 491.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.31, allocations: 12 kB / 491.7 MB, free: 8.133 MB / 362.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 0.0001014/0.3101, allocations: 103.2 kB / 491.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.3102, allocations: 43.92 kB / 491.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.3102, allocations: 0 / 491.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.3103, allocations: 20.3 kB / 491.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3107, allocations: 51.81 kB / 491.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.311, allocations: 257.5 kB / 492.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.3113, allocations: 0.6965 MB / 492.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.3113, allocations: 15.42 kB / 492.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3113, allocations: 0 / 492.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of Templates: time 0.002122/0.3135, allocations: 0.9988 MB / 493.9 MB, free: 5.887 MB / 362.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/jenkins1/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