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-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_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.001495/0.001495, allocations: 186 kB / 16.44 MB, free: 5.691 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.92/1.92, allocations: 205.4 MB / 222.6 MB, free: 9.039 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.001138/0.001138, allocations: 86.92 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1011/0.1011, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005386/0.0005388, allocations: 12 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.09375, allocations: 50.36 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5235, allocations: 78.56 MB / 0.5087 GB, free: 12.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5239, allocations: 79.92 kB / 0.5088 GB, free: 12.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00831/0.5322, allocations: 2.112 MB / 0.5108 GB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5322, allocations: 0 / 0.5108 GB, free: 12.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.5323, allocations: 0 / 0.5108 GB, free: 12.01 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.0004415/0.5327, allocations: 385.4 kB / 0.5112 GB, free: 11.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5328, allocations: 11.69 kB / 0.5112 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.5328, allocations: 7.719 kB / 0.5112 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.5331, allocations: 205.5 kB / 0.5114 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.5331, allocations: 3.953 kB / 0.5114 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.5331, allocations: 3.969 kB / 0.5114 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.5335, allocations: 157.5 kB / 0.5116 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5336, allocations: 0 / 0.5116 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5336, allocations: 3.938 kB / 0.5116 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.5336, allocations: 3.969 kB / 0.5116 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.5338, allocations: 37.42 kB / 0.5116 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.5342, allocations: 293.3 kB / 0.5119 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.5344, allocations: 89.09 kB / 0.512 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.5345, allocations: 0 / 0.512 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.5345, allocations: 38.38 kB / 0.512 GB, free: 10.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.5345, allocations: 0 / 0.512 GB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004267/0.5349, allocations: 113.1 kB / 0.5121 GB, free: 10.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.535, allocations: 114 kB / 0.5122 GB, free: 10.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.5351, allocations: 126.3 kB / 0.5124 GB, free: 10.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.5352, allocations: 25.7 kB / 0.5124 GB, free: 10.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.5352, allocations: 159.9 kB / 0.5125 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.5352, allocations: 6.781 kB / 0.5125 GB, free: 10.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.5353, allocations: 0 / 0.5125 GB, free: 10.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.5353, allocations: 331.1 kB / 0.5129 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.5354, allocations: 15.28 kB / 0.5129 GB, free: 10.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.5355, allocations: 64.64 kB / 0.5129 GB, free: 9.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.5357, allocations: 27.06 kB / 0.513 GB, free: 9.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5357, allocations: 3.953 kB / 0.513 GB, free: 9.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002674/0.5359, allocations: 113.4 kB / 0.5131 GB, free: 9.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.536, allocations: 7.625 kB / 0.5131 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.536, allocations: 0 / 0.5131 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.536, allocations: 3.812 kB / 0.5131 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.5362, allocations: 15.58 kB / 0.5131 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5362, allocations: 3.844 kB / 0.5131 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.5363, allocations: 11.31 kB / 0.5131 GB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.5363, allocations: 3.844 kB / 0.5131 GB, free: 9.906 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.0001179/0.5364, allocations: 135.9 kB / 0.5132 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.5366, allocations: 72.73 kB / 0.5133 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.5367, allocations: 13.97 kB / 0.5133 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5367, allocations: 3.984 kB / 0.5133 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5367, allocations: 0 / 0.5133 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5367, allocations: 7.859 kB / 0.5133 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.5369, allocations: 171.1 kB / 0.5135 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5369, allocations: 0 / 0.5135 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.537, allocations: 23.44 kB / 0.5135 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5371, allocations: 4.031 kB / 0.5135 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.5371, allocations: 3.844 kB / 0.5135 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5371, allocations: 0 / 0.5135 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5371, allocations: 0 / 0.5135 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.5374, allocations: 231.3 kB / 0.5138 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.5375, allocations: 100.2 kB / 0.5138 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.5375, allocations: 4 kB / 0.5139 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5377, allocations: 7.281 kB / 0.5139 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.5377, allocations: 7.797 kB / 0.5139 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.5377, allocations: 0 / 0.5139 GB, free: 9.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.629e-05/0.5378, allocations: 112.6 kB / 0.514 GB, free: 9.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5378, allocations: 0 / 0.514 GB, free: 9.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.5382, allocations: 11.75 kB / 0.514 GB, free: 9.105 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.0001135/0.5383, allocations: 98.69 kB / 0.5141 GB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.5386, allocations: 57.38 kB / 0.5141 GB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5386, allocations: 3.5 kB / 0.5141 GB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.5387, allocations: 12.12 kB / 0.5141 GB, free: 9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.539, allocations: 52.09 kB / 0.5142 GB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.5397, allocations: 269.5 kB / 0.5145 GB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.5398, allocations: 0.7035 MB / 0.5151 GB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.5399, allocations: 14.47 kB / 0.5152 GB, free: 8.027 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5399, allocations: 0 / 0.5152 GB, free: 8.027 MB / 330.7 MB Notification: Performance of Templates: time 0.003081/0.543, allocations: 1.051 MB / 0.5162 GB, free: 7.508 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