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.001287/0.001287, allocations: 173.9 kB / 16.8 MB, free: 5.012 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.476/1.476, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.000802/0.000802, allocations: 92.42 kB / 271.3 MB, free: 8.223 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.07628/0.07628, allocations: 12.59 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 16 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08533/0.08571, allocations: 50.37 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.001909/0.08767, allocations: 1.317 MB / 445 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009449/0.08865, allocations: 0.5542 MB / 445.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.08882, allocations: 8 kB / 445.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.08909, allocations: 11.91 kB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.08918, allocations: 11.88 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.08954, allocations: 55.83 kB / 445.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.08968, allocations: 67.83 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.08982, allocations: 19.97 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.08994, allocations: 27.86 kB / 445.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.09008, allocations: 31.84 kB / 445.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.09011, allocations: 4 kB / 445.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.893e-05/0.09013, allocations: 0 / 445.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.09024, allocations: 15.92 kB / 445.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.09029, allocations: 49.52 kB / 445.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.855e-05/0.09039, allocations: 48.19 kB / 445.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.0904, allocations: 0 / 445.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09041, allocations: 0 / 445.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.09042, allocations: 0 / 445.9 MB, free: 13.18 MB / 298.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.0004851/0.09091, allocations: 383.1 kB / 446.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.09097, allocations: 12.03 kB / 446.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.09102, allocations: 12.75 kB / 446.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.09126, allocations: 192.7 kB / 446.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.09129, allocations: 4.375 kB / 446.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.09131, allocations: 8.125 kB / 446.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.09165, allocations: 169.7 kB / 446.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.09167, allocations: 0 / 446.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.0917, allocations: 0 / 446.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.09171, allocations: 0 / 446.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.09183, allocations: 43.91 kB / 446.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.09216, allocations: 282.5 kB / 447 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.0923, allocations: 83.84 kB / 447.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.09238, allocations: 42.62 kB / 447.1 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.09242, allocations: 4 kB / 447.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.09244, allocations: 38.5 kB / 447.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.09245, allocations: 0 / 447.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003095/0.09276, allocations: 117.6 kB / 447.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.09284, allocations: 106.8 kB / 447.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.09295, allocations: 145.8 kB / 447.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.09297, allocations: 29.7 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.09301, allocations: 92.12 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.09304, allocations: 7.906 kB / 447.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.09305, allocations: 8.156 kB / 447.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.09312, allocations: 318.8 kB / 448 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.09319, allocations: 23.92 kB / 448 MB, free: 10.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-05/0.09326, allocations: 62 kB / 448 MB, free: 10.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.09338, allocations: 85.94 kB / 448.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.09339, allocations: 0 / 448.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001682/0.09356, allocations: 113.4 kB / 448.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.09359, allocations: 8 kB / 448.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.0936, allocations: 0 / 448.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.09363, allocations: 8.219 kB / 448.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.09373, allocations: 15.98 kB / 448.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.09375, allocations: 4 kB / 448.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.09381, allocations: 11.88 kB / 448.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.09383, allocations: 7.938 kB / 448.3 MB, free: 10.48 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.09397, allocations: 125.8 kB / 448.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/0.09407, allocations: 65.78 kB / 448.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.09412, allocations: 20.42 kB / 448.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.09413, allocations: 8.031 kB / 448.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.09414, allocations: 8 kB / 448.5 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.09415, allocations: 3.938 kB / 448.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.09429, allocations: 181.5 kB / 448.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0943, allocations: 0 / 448.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/0.09437, allocations: 15.98 kB / 448.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.09438, allocations: 0 / 448.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.09439, allocations: 4 kB / 448.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.0944, allocations: 0 / 448.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.09441, allocations: 0 / 448.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.0946, allocations: 209 kB / 448.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.09466, allocations: 97 kB / 449 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.09469, allocations: 0 / 449 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.09477, allocations: 8 kB / 449 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.09481, allocations: 0 / 449 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.09483, allocations: 15.92 kB / 449 MB, free: 9.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.09489, allocations: 103.3 kB / 449.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0949, allocations: 4 kB / 449.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000247/0.09515, allocations: 8 kB / 449.2 MB, free: 9.512 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001063/0.09526, allocations: 99.23 kB / 449.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.09544, allocations: 67.83 kB / 449.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.09546, allocations: 0 / 449.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.0955, allocations: 8 kB / 449.3 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.0959, allocations: 46.73 kB / 449.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.09642, allocations: 277 kB / 449.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.09658, allocations: 0.7043 MB / 450.3 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.09663, allocations: 15.44 kB / 450.4 MB, free: 8.234 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.09663, allocations: 0 / 450.4 MB, free: 8.234 MB / 298.7 MB Notification: Performance of Templates: time 0.002657/0.09929, allocations: 1.08 MB / 451.4 MB, free: 7.156 MB / 298.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) Reference file matches