Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_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_cpp_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.001743/0.001743, allocations: 181.3 kB / 17.46 MB, free: 4.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.743/2.743, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0008189/0.000819, allocations: 89.36 kB / 272 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1212/0.1212, allocations: 12.2 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000571/0.000571, allocations: 19.98 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5151/0.6452, allocations: 78.56 MB / 0.5093 GB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/0.6456, allocations: 80.64 kB / 0.5094 GB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009311/0.655, allocations: 2.636 MB / 0.512 GB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.655, allocations: 0 / 0.512 GB, free: 12.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.655, allocations: 0 / 0.512 GB, free: 12.16 MB / 330.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.0005137/0.6556, allocations: 389.9 kB / 0.5124 GB, free: 11.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6556, allocations: 7.688 kB / 0.5124 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.6557, allocations: 8.688 kB / 0.5124 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.656, allocations: 207.5 kB / 0.5126 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.656, allocations: 4.125 kB / 0.5126 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.6561, allocations: 8.188 kB / 0.5126 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.6566, allocations: 173.7 kB / 0.5128 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6566, allocations: 0 / 0.5128 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.6566, allocations: 0 / 0.5128 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.6566, allocations: 3.844 kB / 0.5128 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.6568, allocations: 34.11 kB / 0.5128 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.6573, allocations: 291.5 kB / 0.5131 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.6575, allocations: 93.77 kB / 0.5132 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.6577, allocations: 41.5 kB / 0.5132 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.6577, allocations: 3.844 kB / 0.5132 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.6577, allocations: 30.56 kB / 0.5132 GB, free: 10.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.6578, allocations: 0 / 0.5132 GB, free: 10.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005181/0.6583, allocations: 121 kB / 0.5134 GB, free: 10.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.6584, allocations: 110.5 kB / 0.5135 GB, free: 10.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.6585, allocations: 149.7 kB / 0.5136 GB, free: 10.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.6586, allocations: 25.7 kB / 0.5136 GB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.6586, allocations: 95.5 kB / 0.5137 GB, free: 10.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.6586, allocations: 7.719 kB / 0.5137 GB, free: 10.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.6587, allocations: 3.312 kB / 0.5137 GB, free: 10.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.6587, allocations: 325.9 kB / 0.514 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.6588, allocations: 14.53 kB / 0.5141 GB, free: 10.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.6589, allocations: 70.98 kB / 0.5141 GB, free: 10.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.6591, allocations: 83.84 kB / 0.5142 GB, free: 10.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6591, allocations: 3.906 kB / 0.5142 GB, free: 10.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002674/0.6594, allocations: 109.7 kB / 0.5143 GB, free: 10.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.6594, allocations: 7.938 kB / 0.5143 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6595, allocations: 4 kB / 0.5143 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.6595, allocations: 3.812 kB / 0.5143 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.6596, allocations: 11.91 kB / 0.5143 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.6597, allocations: 7.891 kB / 0.5143 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.6598, allocations: 11.66 kB / 0.5144 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.6598, allocations: 7.844 kB / 0.5144 GB, free: 9.992 MB / 330.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.0001371/0.6599, allocations: 132.5 kB / 0.5145 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.6601, allocations: 78.3 kB / 0.5146 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.6602, allocations: 15.09 kB / 0.5146 GB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6602, allocations: 0 / 0.5146 GB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.6602, allocations: 0 / 0.5146 GB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6602, allocations: 7.781 kB / 0.5146 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.6604, allocations: 176.3 kB / 0.5147 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6605, allocations: 0 / 0.5147 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.6606, allocations: 18.83 kB / 0.5148 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6606, allocations: 0 / 0.5148 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.6606, allocations: 3.984 kB / 0.5148 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6606, allocations: 7.875 kB / 0.5148 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6606, allocations: 0 / 0.5148 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.6609, allocations: 201.4 kB / 0.515 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.661, allocations: 95.64 kB / 0.5151 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.661, allocations: 11.19 kB / 0.5151 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.6612, allocations: 3.875 kB / 0.5151 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.6612, allocations: 0 / 0.5151 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.6612, allocations: 7.781 kB / 0.5151 GB, free: 9.309 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.546e-05/0.6613, allocations: 115.8 kB / 0.5152 GB, free: 9.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6613, allocations: 0 / 0.5152 GB, free: 9.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.6618, allocations: 10.84 kB / 0.5152 GB, free: 9.223 MB / 330.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.0001228/0.6619, allocations: 94.84 kB / 0.5153 GB, free: 9.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.6622, allocations: 61 kB / 0.5154 GB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6622, allocations: 0 / 0.5154 GB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/0.6623, allocations: 15.77 kB / 0.5154 GB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.6629, allocations: 37.92 kB / 0.5154 GB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.6635, allocations: 271.9 kB / 0.5157 GB, free: 8.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.6637, allocations: 0.7035 MB / 0.5164 GB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.6637, allocations: 15.28 kB / 0.5164 GB, free: 8.152 MB / 330.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6638, allocations: 0 / 0.5164 GB, free: 8.152 MB / 330.7 MB Notification: Performance of Templates: time 0.003388/0.6672, allocations: 1.071 MB / 0.5174 GB, free: 7.621 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches