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.001446/0.001446, allocations: 172.3 kB / 16.8 MB, free: 5.031 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.398/1.398, allocations: 205.4 MB / 223 MB, free: 9.027 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.0009345/0.0009349, allocations: 93.34 kB / 271.3 MB, free: 8.254 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.08015/0.08015, allocations: 12.59 MB / 332.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004114, allocations: 12 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09867, allocations: 50.37 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.5137, allocations: 78.59 MB / 0.51 GB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5141, allocations: 82.64 kB / 0.51 GB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005369/0.5194, allocations: 2.108 MB / 0.5121 GB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5195, allocations: 0 / 0.5121 GB, free: 12.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.5195, allocations: 3.844 kB / 0.5121 GB, free: 12.49 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.0003764/0.5199, allocations: 373.3 kB / 0.5125 GB, free: 12.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5199, allocations: 11.56 kB / 0.5125 GB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.52, allocations: 16.66 kB / 0.5125 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.5202, allocations: 211.2 kB / 0.5127 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5202, allocations: 7.531 kB / 0.5127 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.5202, allocations: 384 / 0.5127 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.5205, allocations: 154.8 kB / 0.5128 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5205, allocations: 0 / 0.5128 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.5206, allocations: 3.844 kB / 0.5128 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5206, allocations: 3.938 kB / 0.5128 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.5207, allocations: 39.94 kB / 0.5129 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.521, allocations: 292.7 kB / 0.5132 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.5212, allocations: 77.97 kB / 0.5132 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.5213, allocations: 52.86 kB / 0.5133 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.5213, allocations: 0 / 0.5133 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.5213, allocations: 34.53 kB / 0.5133 GB, free: 11.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.5213, allocations: 0 / 0.5133 GB, free: 11.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002951/0.5216, allocations: 119.5 kB / 0.5134 GB, free: 11.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.5217, allocations: 110.3 kB / 0.5135 GB, free: 11.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.5218, allocations: 140.2 kB / 0.5137 GB, free: 11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5218, allocations: 28.83 kB / 0.5137 GB, free: 10.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.5219, allocations: 87.05 kB / 0.5138 GB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.5219, allocations: 15.48 kB / 0.5138 GB, free: 10.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5219, allocations: 0 / 0.5138 GB, free: 10.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.522, allocations: 322.1 kB / 0.5141 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.5221, allocations: 19.14 kB / 0.5141 GB, free: 10.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.323e-05/0.5221, allocations: 68.81 kB / 0.5142 GB, free: 10.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.5223, allocations: 88.08 kB / 0.5143 GB, free: 10.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5223, allocations: 4 kB / 0.5143 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001619/0.5224, allocations: 106.8 kB / 0.5144 GB, free: 10.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5225, allocations: 3.938 kB / 0.5144 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.5225, allocations: 3.906 kB / 0.5144 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.5225, allocations: 0 / 0.5144 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.5226, allocations: 27.55 kB / 0.5144 GB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5226, allocations: 3.984 kB / 0.5144 GB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.5227, allocations: 11.8 kB / 0.5144 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.5227, allocations: 3.938 kB / 0.5144 GB, free: 10.34 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 9.502e-05/0.5228, allocations: 132.6 kB / 0.5146 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.5229, allocations: 71.34 kB / 0.5146 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.5229, allocations: 15.8 kB / 0.5146 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.523, allocations: 3.906 kB / 0.5146 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.523, allocations: 8.781 kB / 0.5147 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.523, allocations: 0 / 0.5147 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.5231, allocations: 176.8 kB / 0.5148 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5231, allocations: 0 / 0.5148 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.5232, allocations: 19.44 kB / 0.5148 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5232, allocations: 11.88 kB / 0.5149 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5232, allocations: 0.8125 kB / 0.5149 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5232, allocations: 0 / 0.5149 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5232, allocations: 0 / 0.5149 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.5234, allocations: 204.6 kB / 0.515 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.5235, allocations: 96.12 kB / 0.5151 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.5235, allocations: 8.266 kB / 0.5151 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.5236, allocations: 3.25 kB / 0.5152 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.5236, allocations: 11.88 kB / 0.5152 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.5236, allocations: 0 / 0.5152 GB, free: 9.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.803e-05/0.5237, allocations: 115.4 kB / 0.5153 GB, free: 9.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5237, allocations: 0 / 0.5153 GB, free: 9.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.5239, allocations: 14.19 kB / 0.5153 GB, free: 9.57 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 8.663e-05/0.524, allocations: 90.62 kB / 0.5154 GB, free: 9.484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.5242, allocations: 62.88 kB / 0.5154 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5242, allocations: 3.75 kB / 0.5154 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/0.5243, allocations: 15.58 kB / 0.5155 GB, free: 9.461 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.5246, allocations: 43.42 kB / 0.5155 GB, free: 9.449 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.5251, allocations: 243.4 kB / 0.5157 GB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.5252, allocations: 0.696 MB / 0.5164 GB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.744e-05/0.5253, allocations: 8.562 kB / 0.5164 GB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.5253, allocations: 18.88 kB / 0.5164 GB, free: 8.523 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5253, allocations: 0 / 0.5164 GB, free: 8.523 MB / 330.7 MB Notification: Performance of Templates: time 0.002798/0.5281, allocations: 0.7278 MB / 0.5171 GB, free: 8.172 MB / 330.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/jenkins1/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