Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007236/0.0007237, allocations: 94.17 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007781/0.0007781, allocations: 173.8 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002197/0.0002198, allocations: 7.938 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07236/0.07259, allocations: 50.41 MB / 352.5 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001504/0.07413, allocations: 1.311 MB / 353.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007351/0.07488, allocations: 0.5299 MB / 354.3 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.07496, allocations: 0 / 354.3 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.07513, allocations: 15.92 kB / 354.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.07518, allocations: 7.938 kB / 354.4 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.07541, allocations: 59.81 kB / 354.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.808e-05/0.07552, allocations: 59.78 kB / 354.5 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.58e-05/0.07561, allocations: 23.97 kB / 354.5 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.505e-05/0.07569, allocations: 27.91 kB / 354.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.07579, allocations: 27.86 kB / 354.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.07581, allocations: 0 / 354.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.07583, allocations: 7.938 kB / 354.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.07588, allocations: 11.98 kB / 354.6 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.07594, allocations: 57.45 kB / 354.6 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.399e-05/0.07602, allocations: 51.89 kB / 354.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.07603, allocations: 0 / 354.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.07603, allocations: 4 kB / 354.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.07604, allocations: 0 / 354.7 MB, free: 1.246 MB / 286.1 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.0003761/0.07642, allocations: 375.3 kB / 355.1 MB, free: 0.832 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.07646, allocations: 8.031 kB / 355.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.0765, allocations: 12.84 kB / 355.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.07667, allocations: 200.7 kB / 355.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.07669, allocations: 384 / 355.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.07671, allocations: 12.12 kB / 355.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.07701, allocations: 157.7 kB / 355.4 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.07703, allocations: 0 / 355.4 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.07705, allocations: 4 kB / 355.4 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.07706, allocations: 0 / 355.4 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.07717, allocations: 43.86 kB / 355.5 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.07745, allocations: 278.5 kB / 355.8 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.0776, allocations: 91.7 kB / 355.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.0777, allocations: 42.75 kB / 355.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.07772, allocations: 0 / 355.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.07775, allocations: 38.5 kB / 355.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.07776, allocations: 4 kB / 355.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002959/0.07806, allocations: 109.5 kB / 356 MB, free: 15.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.07813, allocations: 110.8 kB / 356.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.07824, allocations: 143.8 kB / 356.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.07827, allocations: 33.7 kB / 356.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.07831, allocations: 88.14 kB / 356.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.07834, allocations: 11.89 kB / 356.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.07836, allocations: 13.72 kB / 356.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.07846, allocations: 322.8 kB / 356.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.07852, allocations: 19.98 kB / 356.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.0786, allocations: 69.94 kB / 356.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.07875, allocations: 81.94 kB / 356.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.07876, allocations: 0 / 356.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001979/0.07896, allocations: 121.5 kB / 357 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.07898, allocations: 4 kB / 357 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.07899, allocations: 3.984 kB / 357 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.07901, allocations: 4 kB / 357 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.0791, allocations: 15.98 kB / 357.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.07911, allocations: 4 kB / 357.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/0.07918, allocations: 8.188 kB / 357.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.07919, allocations: 4 kB / 357.1 MB, free: 14.54 MB / 302.1 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.0001108/0.07931, allocations: 137.8 kB / 357.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.07943, allocations: 73.53 kB / 357.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.07946, allocations: 12.31 kB / 357.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.07947, allocations: 0 / 357.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.07948, allocations: 0 / 357.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.07949, allocations: 4.125 kB / 357.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.07966, allocations: 181.5 kB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.07967, allocations: 7.938 kB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.07974, allocations: 11.98 kB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.07975, allocations: 7.938 kB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.07977, allocations: 8.016 kB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.07978, allocations: 0 / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.07978, allocations: 4 kB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.07999, allocations: 205 kB / 357.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.08006, allocations: 101 kB / 357.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.08009, allocations: 0 / 357.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.08017, allocations: 4 kB / 357.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.0802, allocations: 0 / 357.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.08022, allocations: 11.92 kB / 357.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.08029, allocations: 112.6 kB / 357.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08029, allocations: 0 / 357.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.08055, allocations: 8 kB / 357.9 MB, free: 13.56 MB / 302.1 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 8.527e-05/0.08064, allocations: 107.2 kB / 358 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.08081, allocations: 63.84 kB / 358.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.08083, allocations: 4 kB / 358.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.08087, allocations: 4 kB / 358.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.08123, allocations: 36.61 kB / 358.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.08167, allocations: 283.6 kB / 358.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.08189, allocations: 0.7083 MB / 359.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.08192, allocations: 11.44 kB / 359.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.08193, allocations: 0 / 359.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Templates: time 0.002267/0.0842, allocations: 1.065 MB / 360.2 MB, free: 11.23 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches