Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009942/0.0009944, allocations: 102.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07743/0.07743, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.000409, allocations: 13.31 kB / 392 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 50.38 MB / 442.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.2495, allocations: 78.57 MB / 0.5087 GB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.2498, allocations: 83.89 kB / 0.5088 GB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007474/0.2573, allocations: 2.108 MB / 0.5109 GB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2574, allocations: 0 / 0.5109 GB, free: 10.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.2574, allocations: 4 kB / 0.5109 GB, free: 10.07 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.0005892/0.258, allocations: 378.9 kB / 0.5112 GB, free: 9.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2581, allocations: 12.03 kB / 0.5112 GB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.2581, allocations: 7.906 kB / 0.5112 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.2585, allocations: 203.1 kB / 0.5114 GB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2585, allocations: 7.953 kB / 0.5115 GB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2585, allocations: 7.938 kB / 0.5115 GB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.259, allocations: 149.9 kB / 0.5116 GB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.259, allocations: 0 / 0.5116 GB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2591, allocations: 0 / 0.5116 GB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.2591, allocations: 4 kB / 0.5116 GB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2593, allocations: 43.91 kB / 0.5116 GB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.2598, allocations: 282.6 kB / 0.5119 GB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.26, allocations: 89.36 kB / 0.512 GB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2601, allocations: 4.062 kB / 0.512 GB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.2601, allocations: 34.5 kB / 0.512 GB, free: 8.676 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2601, allocations: 0 / 0.512 GB, free: 8.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004267/0.2605, allocations: 113.6 kB / 0.5121 GB, free: 8.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.2607, allocations: 110.8 kB / 0.5123 GB, free: 8.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2608, allocations: 129.5 kB / 0.5124 GB, free: 8.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2608, allocations: 25.7 kB / 0.5124 GB, free: 8.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.2609, allocations: 96.06 kB / 0.5125 GB, free: 8.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.261, allocations: 11.84 kB / 0.5125 GB, free: 8.152 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.261, allocations: 4.156 kB / 0.5125 GB, free: 8.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2612, allocations: 322.8 kB / 0.5128 GB, free: 7.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.2613, allocations: 23.92 kB / 0.5128 GB, free: 7.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2614, allocations: 65.94 kB / 0.5129 GB, free: 7.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.374e-05/0.2615, allocations: 27.98 kB / 0.5129 GB, free: 7.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2615, allocations: 3.953 kB / 0.5129 GB, free: 7.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002604/0.2617, allocations: 113.4 kB / 0.513 GB, free: 7.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2618, allocations: 8 kB / 0.513 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2618, allocations: 0 / 0.513 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2618, allocations: 4 kB / 0.5131 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.2619, allocations: 19.97 kB / 0.5131 GB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.262, allocations: 0 / 0.5131 GB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.262, allocations: 8 kB / 0.5131 GB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2621, allocations: 8.219 kB / 0.5131 GB, free: 7.52 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 0.0001568/0.2622, allocations: 129.5 kB / 0.5132 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.2624, allocations: 77.7 kB / 0.5133 GB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.2625, allocations: 16.3 kB / 0.5133 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2625, allocations: 0 / 0.5133 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.2625, allocations: 8 kB / 0.5133 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2625, allocations: 0 / 0.5133 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.2628, allocations: 177.6 kB / 0.5135 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2628, allocations: 0 / 0.5135 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.2629, allocations: 19.98 kB / 0.5135 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.2629, allocations: 0 / 0.5135 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.263, allocations: 7.984 kB / 0.5135 GB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.263, allocations: 0 / 0.5135 GB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.263, allocations: 0 / 0.5135 GB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.2633, allocations: 224.5 kB / 0.5137 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2634, allocations: 96.94 kB / 0.5138 GB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.2635, allocations: 4 kB / 0.5138 GB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.2636, allocations: 11.98 kB / 0.5138 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.2636, allocations: 0 / 0.5138 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2637, allocations: 4 kB / 0.5138 GB, free: 6.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.2638, allocations: 112.6 kB / 0.5139 GB, free: 6.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2638, allocations: 0 / 0.5139 GB, free: 6.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.2642, allocations: 8 kB / 0.5139 GB, free: 6.523 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.0001515/0.2644, allocations: 99.25 kB / 0.514 GB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.2646, allocations: 67.77 kB / 0.5141 GB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2646, allocations: 448 / 0.5141 GB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.2647, allocations: 20.17 kB / 0.5141 GB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.2651, allocations: 44.47 kB / 0.5142 GB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.2658, allocations: 231.1 kB / 0.5144 GB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.2662, allocations: 0.7082 MB / 0.5151 GB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.914e-05/0.2663, allocations: 0.6719 kB / 0.5151 GB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.2663, allocations: 15.42 kB / 0.5151 GB, free: 5.273 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2663, allocations: 4 kB / 0.5151 GB, free: 5.27 MB / 362.7 MB Notification: Performance of Templates: time 0.00406/0.2704, allocations: 0.7344 MB / 0.5158 GB, free: 4.543 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,fractionalDelay.y,sample.y Variables in the result:fractionalDelay.n,fractionalDelay.resolution,fractionalDelay.shift,fractionalDelay.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,time