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.002154/0.002159, allocations: 177.8 kB / 8.406 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.3 MB / 214.1 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 90.69 kB / 262.2 MB, free: 1.605 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.1113/0.1113, allocations: 12.6 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.568e-05, allocations: 4 kB / 378.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3088, allocations: 50.37 MB / 429.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.444, allocations: 77.82 MB / 0.4952 GB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.4443, allocations: 75.95 kB / 0.4953 GB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009153/0.4535, allocations: 2.079 MB / 0.4973 GB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4536, allocations: 0 / 0.4973 GB, free: 2.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.4536, allocations: 0 / 0.4973 GB, free: 2.332 MB / 346.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.0004555/0.454, allocations: 366.3 kB / 0.4977 GB, free: 1.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4541, allocations: 8.031 kB / 0.4977 GB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.4542, allocations: 11.81 kB / 0.4977 GB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.4545, allocations: 206.8 kB / 0.4979 GB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.4545, allocations: 3.953 kB / 0.4979 GB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.4545, allocations: 4 kB / 0.4979 GB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000127/0.4547, allocations: 27.94 kB / 0.4979 GB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.455, allocations: 133.8 kB / 0.498 GB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.455, allocations: 0 / 0.498 GB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.4551, allocations: 8 kB / 0.498 GB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.4551, allocations: 3.984 kB / 0.4981 GB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.4555, allocations: 263.1 kB / 0.4983 GB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4557, allocations: 71.91 kB / 0.4984 GB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.818e-05/0.4558, allocations: 38.58 kB / 0.4984 GB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.4558, allocations: 3.984 kB / 0.4984 GB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.4559, allocations: 35.84 kB / 0.4984 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.4559, allocations: 0 / 0.4984 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002631/0.4562, allocations: 77.53 kB / 0.4985 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4563, allocations: 110.7 kB / 0.4986 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.4564, allocations: 129.5 kB / 0.4987 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4565, allocations: 25.7 kB / 0.4988 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.4565, allocations: 154.6 kB / 0.4989 GB, free: 456 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.4566, allocations: 7.906 kB / 0.4989 GB, free: 448 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.4566, allocations: 0 / 0.4989 GB, free: 448 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4567, allocations: 322.9 kB / 0.4992 GB, free: 116 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.4568, allocations: 12 kB / 0.4992 GB, free: 104 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.4569, allocations: 49.95 kB / 0.4993 GB, free: 32 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.771e-05/0.4569, allocations: 27.98 kB / 0.4993 GB, free: 4 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.457, allocations: 0 / 0.4993 GB, free: 4 kB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002289/0.4572, allocations: 85.5 kB / 0.4994 GB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.4572, allocations: 4 kB / 0.4994 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4573, allocations: 4 kB / 0.4994 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.4573, allocations: 4.219 kB / 0.4994 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.4575, allocations: 19.98 kB / 0.4994 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.4575, allocations: 3.938 kB / 0.4994 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.4576, allocations: 4 kB / 0.4994 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.4576, allocations: 4 kB / 0.4994 GB, free: 15.87 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 () * 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.0001103/0.4578, allocations: 108.9 kB / 0.4996 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.458, allocations: 73.55 kB / 0.4996 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.458, allocations: 16.39 kB / 0.4996 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.458, allocations: 4.031 kB / 0.4996 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4581, allocations: 4.188 kB / 0.4996 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4581, allocations: 0 / 0.4996 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.4583, allocations: 158.1 kB / 0.4998 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4583, allocations: 0 / 0.4998 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.4585, allocations: 11.98 kB / 0.4998 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4585, allocations: 4 kB / 0.4998 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4585, allocations: 3.953 kB / 0.4998 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4585, allocations: 0 / 0.4998 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.4586, allocations: 7.984 kB / 0.4998 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.4588, allocations: 208.5 kB / 0.5 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4589, allocations: 93 kB / 0.5001 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.459, allocations: 4 kB / 0.5001 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.4591, allocations: 3.984 kB / 0.5001 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4592, allocations: 8 kB / 0.5001 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.4592, allocations: 3.938 kB / 0.5001 GB, free: 15.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4593, allocations: 116.5 kB / 0.5002 GB, free: 14.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4593, allocations: 0 / 0.5002 GB, free: 14.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.4597, allocations: 8 kB / 0.5002 GB, free: 14.95 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 () * 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.0001543/0.4599, allocations: 91.25 kB / 0.5003 GB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.4601, allocations: 39.92 kB / 0.5004 GB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4601, allocations: 4.438 kB / 0.5004 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.4601, allocations: 7.938 kB / 0.5004 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.4606, allocations: 32.02 kB / 0.5004 GB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.4612, allocations: 167.5 kB / 0.5006 GB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.4615, allocations: 0.7119 MB / 0.5013 GB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.4616, allocations: 11.59 kB / 0.5013 GB, free: 13.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4616, allocations: 4 kB / 0.5013 GB, free: 13.81 MB / 362.7 MB Notification: Performance of Templates: time 0.003558/0.4652, allocations: 1.033 MB / 0.5023 GB, free: 12.79 MB / 362.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