Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009911/0.0009911, allocations: 199.1 kB / 18.07 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 226.5 MB / 245.4 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008749/0.0008748, allocations: 103.9 kB / 297.4 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002547, allocations: 4 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2811, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08514/0.3663, allocations: 78.09 MB / 486.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.3666, allocations: 83.94 kB / 486.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006319/0.3729, allocations: 2.318 MB / 489.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3729, allocations: 0 / 489.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3729, allocations: 0 / 489.2 MB, free: 11.15 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003964/0.3733, allocations: 387.1 kB / 489.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3734, allocations: 12.02 kB / 489.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.3735, allocations: 16.84 kB / 489.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.3738, allocations: 223.5 kB / 489.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3738, allocations: 384 / 489.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3738, allocations: 4.375 kB / 489.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.3741, allocations: 152.2 kB / 489.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3741, allocations: 0 / 489.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3742, allocations: 7.938 kB / 489.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3742, allocations: 0 / 489.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.3743, allocations: 35.97 kB / 490 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.3746, allocations: 290.5 kB / 490.3 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3748, allocations: 81.22 kB / 490.3 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/0.3749, allocations: 50.55 kB / 490.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3749, allocations: 4 kB / 490.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3749, allocations: 34.56 kB / 490.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.375, allocations: 0 / 490.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003057/0.3753, allocations: 117.5 kB / 490.5 MB, free: 9.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.3753, allocations: 115 kB / 490.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3755, allocations: 141.8 kB / 490.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3755, allocations: 25.7 kB / 490.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.3755, allocations: 88.14 kB / 490.9 MB, free: 9.152 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3756, allocations: 20.03 kB / 490.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.3756, allocations: 4 kB / 490.9 MB, free: 9.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3757, allocations: 318.7 kB / 491.2 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.3758, allocations: 19.98 kB / 491.3 MB, free: 8.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.3758, allocations: 66 kB / 491.3 MB, free: 8.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.376, allocations: 89.86 kB / 491.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.376, allocations: 0 / 491.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001936/0.3762, allocations: 105.5 kB / 491.5 MB, free: 8.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3762, allocations: 8 kB / 491.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3762, allocations: 4.406 kB / 491.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3762, allocations: 8 kB / 491.5 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.3763, allocations: 23.86 kB / 491.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3764, allocations: 0 / 491.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.3764, allocations: 11.94 kB / 491.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3764, allocations: 7.984 kB / 491.6 MB, free: 8.422 MB / 362.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: 2 (fractionalDelay.first,$CLKPRE.fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.708e-05/0.3765, allocations: 121.8 kB / 491.7 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3766, allocations: 69.53 kB / 491.8 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.3767, allocations: 20.33 kB / 491.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3767, allocations: 0 / 491.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3767, allocations: 4 kB / 491.8 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3767, allocations: 3.984 kB / 491.8 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3769, allocations: 181.6 kB / 492 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3769, allocations: 0 / 492 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.377, allocations: 12 kB / 492 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.377, allocations: 3.938 kB / 492 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.377, allocations: 7.984 kB / 492 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.377, allocations: 0 / 492 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.377, allocations: 4 kB / 492 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.3772, allocations: 197.1 kB / 492.2 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.3773, allocations: 96.91 kB / 492.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3774, allocations: 4 kB / 492.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.3774, allocations: 11.98 kB / 492.3 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.3775, allocations: 0 / 492.3 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3775, allocations: 8 kB / 492.3 MB, free: 7.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.3776, allocations: 113.4 kB / 492.4 MB, free: 7.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.343e-06/0.3776, allocations: 0 / 492.4 MB, free: 7.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.3778, allocations: 15.94 kB / 492.4 MB, free: 7.457 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001162/0.3779, allocations: 111.1 kB / 492.5 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3781, allocations: 59.91 kB / 492.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3781, allocations: 0 / 492.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.3782, allocations: 11.98 kB / 492.6 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3785, allocations: 43.95 kB / 492.7 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.379, allocations: 265.4 kB / 492.9 MB, free: 6.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3793, allocations: 0.7082 MB / 493.6 MB, free: 6.188 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.3793, allocations: 15.44 kB / 493.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of SimCode: time 2.074e-06/0.3793, allocations: 0 / 493.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of Templates: time 0.002399/0.3817, allocations: 1.073 MB / 494.7 MB, free: 5.109 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches