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.001303/0.001303, allocations: 184.4 kB / 16.45 MB, free: 5.656 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.366/1.366, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.0007468/0.0007468, allocations: 92.55 kB / 270.9 MB, free: 8.352 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.07112/0.07112, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 16 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09251, allocations: 50.37 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.001507/0.09408, allocations: 1.286 MB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.09483, allocations: 0.5584 MB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.09493, allocations: 4 kB / 444.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.09514, allocations: 11.92 kB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.0952, allocations: 7.938 kB / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.09544, allocations: 55.86 kB / 445 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.09554, allocations: 55.73 kB / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.09564, allocations: 19.92 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.09573, allocations: 31.84 kB / 445.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.09584, allocations: 23.92 kB / 445.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.09586, allocations: 0 / 445.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.09588, allocations: 4 kB / 445.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.09594, allocations: 15.92 kB / 445.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.09597, allocations: 37.64 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.649e-05/0.09605, allocations: 47.91 kB / 445.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.09606, allocations: 0 / 445.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09607, allocations: 0 / 445.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.09608, allocations: 0 / 445.2 MB, free: 13.61 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.0004081/0.09649, allocations: 375.3 kB / 445.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.09653, allocations: 8.031 kB / 445.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.09658, allocations: 11.81 kB / 445.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.09675, allocations: 207.3 kB / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.09678, allocations: 4 kB / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.0968, allocations: 8 kB / 445.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.09712, allocations: 149.8 kB / 445.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.09714, allocations: 0 / 445.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.09715, allocations: 4 kB / 445.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.09716, allocations: 4 kB / 445.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.09727, allocations: 31.97 kB / 446 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.09759, allocations: 286.5 kB / 446.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.09773, allocations: 83.72 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.09784, allocations: 46.73 kB / 446.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.09787, allocations: 4 kB / 446.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.09789, allocations: 30.56 kB / 446.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.0979, allocations: 0 / 446.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002894/0.09819, allocations: 121.4 kB / 446.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.09825, allocations: 114.8 kB / 446.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.09835, allocations: 142.3 kB / 446.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.09836, allocations: 29.7 kB / 446.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.0984, allocations: 96.31 kB / 446.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.09842, allocations: 11.91 kB / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.09843, allocations: 3.938 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.09849, allocations: 326.8 kB / 447.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.09855, allocations: 19.98 kB / 447.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.09861, allocations: 65.94 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.09867, allocations: 27.98 kB / 447.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.09868, allocations: 0 / 447.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000153/0.09884, allocations: 105.5 kB / 447.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.09886, allocations: 8 kB / 447.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.09887, allocations: 0 / 447.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.09889, allocations: 4 kB / 447.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.09899, allocations: 19.92 kB / 447.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.099, allocations: 0 / 447.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.09906, allocations: 20.16 kB / 447.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.09908, allocations: 0 / 447.5 MB, free: 10.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.09919, allocations: 130.4 kB / 447.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.09929, allocations: 77.44 kB / 447.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.09933, allocations: 16.3 kB / 447.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.09934, allocations: 0 / 447.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.09935, allocations: 4 kB / 447.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.09936, allocations: 0 / 447.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.09948, allocations: 177.6 kB / 447.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.09949, allocations: 4.031 kB / 447.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-05/0.09956, allocations: 19.94 kB / 447.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.09957, allocations: 0 / 447.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.09959, allocations: 3.984 kB / 447.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.09959, allocations: 4 kB / 447.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.0996, allocations: 0 / 447.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.09978, allocations: 205.1 kB / 448.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.09983, allocations: 89 kB / 448.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.09986, allocations: 8 kB / 448.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.09993, allocations: 3.984 kB / 448.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.09997, allocations: 4.312 kB / 448.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.09998, allocations: 0 / 448.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.1, allocations: 116.5 kB / 448.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1, allocations: 7.938 kB / 448.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.1003, allocations: 12 kB / 448.4 MB, free: 10.02 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 (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.507e-05/0.1004, allocations: 95.44 kB / 448.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.1005, allocations: 63.91 kB / 448.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1005, allocations: 4.375 kB / 448.5 MB, free: 9.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.1006, allocations: 11.98 kB / 448.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1009, allocations: 44.52 kB / 448.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.1013, allocations: 272.5 kB / 448.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.1015, allocations: 0.7004 MB / 449.6 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.1015, allocations: 15.38 kB / 449.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1015, allocations: 0 / 449.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of Templates: time 0.002169/0.1037, allocations: 1.075 MB / 450.6 MB, free: 7.684 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