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.001474/0.001474, allocations: 173.2 kB / 16.76 MB, free: 5.051 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.302/1.302, allocations: 205 MB / 222.5 MB, free: 9.152 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.0008471/0.0008471, allocations: 89.67 kB / 270.5 MB, free: 8.676 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.06499/0.06499, allocations: 12.56 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07228/0.07264, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.001386/0.07406, allocations: 1.317 MB / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.07473, allocations: 0.5736 MB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.07481, allocations: 4 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.075, allocations: 15.92 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.07505, allocations: 3.938 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.07526, allocations: 55.88 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.07535, allocations: 63.78 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.07544, allocations: 15.98 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.07552, allocations: 35.78 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.07561, allocations: 27.86 kB / 443.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.07564, allocations: 4 kB / 443.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.07565, allocations: 0 / 443.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.07572, allocations: 19.92 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.07575, allocations: 31.8 kB / 443.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.256e-05/0.07582, allocations: 40.2 kB / 443.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.07583, allocations: 0 / 443.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.07584, allocations: 0 / 443.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.07585, allocations: 0 / 443.9 MB, free: 14.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.0003504/0.0762, allocations: 379.1 kB / 444.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.07624, allocations: 8.031 kB / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.07628, allocations: 12.75 kB / 444.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.07643, allocations: 204.7 kB / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.07646, allocations: 4.375 kB / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.07648, allocations: 16.11 kB / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.07675, allocations: 153.7 kB / 444.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.07677, allocations: 0 / 444.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.07678, allocations: 8 kB / 444.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.07679, allocations: 0 / 444.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.0769, allocations: 31.97 kB / 444.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.07715, allocations: 294.4 kB / 445 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.07726, allocations: 79.72 kB / 445.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.07734, allocations: 50.75 kB / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.07737, allocations: 0 / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.07739, allocations: 34.56 kB / 445.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.0774, allocations: 0 / 445.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002748/0.07768, allocations: 117.5 kB / 445.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.07774, allocations: 114.8 kB / 445.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.07782, allocations: 141.8 kB / 445.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.07784, allocations: 29.7 kB / 445.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.07787, allocations: 88.12 kB / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.0779, allocations: 12.06 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.07792, allocations: 17.72 kB / 445.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.07798, allocations: 322.8 kB / 446 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.07803, allocations: 19.98 kB / 446 MB, free: 11.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.0781, allocations: 65.94 kB / 446.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.0782, allocations: 85.94 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.07821, allocations: 0 / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001549/0.07838, allocations: 109.4 kB / 446.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.0784, allocations: 8 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.07841, allocations: 4.156 kB / 446.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.07843, allocations: 8 kB / 446.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.07852, allocations: 15.98 kB / 446.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.07853, allocations: 192 / 446.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.07859, allocations: 15.88 kB / 446.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.0786, allocations: 7.938 kB / 446.3 MB, free: 11.45 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 ($CLKPRE.fractionalDelay.first,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.0001045/0.07871, allocations: 125.8 kB / 446.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.07881, allocations: 65.59 kB / 446.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.07884, allocations: 12.31 kB / 446.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.07885, allocations: 15.95 kB / 446.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.07886, allocations: 0 / 446.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.07887, allocations: 3.938 kB / 446.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.079, allocations: 181.5 kB / 446.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.07901, allocations: 0 / 446.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.07907, allocations: 15.94 kB / 446.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.07908, allocations: 0 / 446.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.0791, allocations: 4 kB / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0791, allocations: 0 / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.07911, allocations: 3.984 kB / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.07927, allocations: 209.4 kB / 446.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.07932, allocations: 96.98 kB / 447 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.07936, allocations: 8 kB / 447 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.07944, allocations: 11.94 kB / 447 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.07947, allocations: 3.984 kB / 447 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.07948, allocations: 7.938 kB / 447.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.559e-05/0.07953, allocations: 112 kB / 447.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07954, allocations: 0 / 447.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.07976, allocations: 12 kB / 447.2 MB, free: 10.47 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 6.699e-05/0.07983, allocations: 91.25 kB / 447.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.07998, allocations: 63.91 kB / 447.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.07999, allocations: 0 / 447.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.08003, allocations: 11.94 kB / 447.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.08037, allocations: 44.56 kB / 447.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.08076, allocations: 268.7 kB / 447.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.08088, allocations: 0.7043 MB / 448.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.08091, allocations: 15.38 kB / 448.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.08092, allocations: 4 kB / 448.4 MB, free: 9.207 MB / 298.7 MB Notification: Performance of Templates: time 0.001902/0.08283, allocations: 1.069 MB / 449.4 MB, free: 8.141 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