Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001581/0.001581, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.03 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003689/0.1282, allocations: 1.613 MB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1294, allocations: 0.6077 MB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1295, allocations: 0 / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.1299, allocations: 23.84 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.13, allocations: 11.88 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.1303, allocations: 75.8 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1305, allocations: 71.77 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1306, allocations: 19.97 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1308, allocations: 35.84 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1309, allocations: 27.86 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1309, allocations: 4 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.131, allocations: 11.98 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.303e-05/0.1311, allocations: 23.92 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.1311, allocations: 39.73 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1313, allocations: 75.72 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1313, allocations: 0 / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1313, allocations: 0 / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1313, allocations: 0 / 361.5 MB, free: 10.68 MB / 302.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.0005479/0.1319, allocations: 398.9 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1319, allocations: 12.03 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.1321, allocations: 20.73 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1324, allocations: 204.3 kB / 362.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.1324, allocations: 4.375 kB / 362.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1325, allocations: 12.12 kB / 362.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.1328, allocations: 149.7 kB / 362.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1329, allocations: 4 kB / 362.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1329, allocations: 0 / 362.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1329, allocations: 3.938 kB / 362.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.133, allocations: 39.91 kB / 362.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.1334, allocations: 278.6 kB / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1336, allocations: 87.77 kB / 362.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.1336, allocations: 42.67 kB / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1337, allocations: 4 kB / 362.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1337, allocations: 38.5 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1337, allocations: 0 / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002647/0.134, allocations: 105.5 kB / 362.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/0.1341, allocations: 110.8 kB / 363 MB, free: 8.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1342, allocations: 142.4 kB / 363.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1342, allocations: 29.95 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.1343, allocations: 96.12 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1343, allocations: 11.91 kB / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1344, allocations: 21.62 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1346, allocations: 326.8 kB / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.1346, allocations: 15.98 kB / 363.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.1347, allocations: 65.94 kB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1348, allocations: 89.92 kB / 363.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1348, allocations: 192 / 363.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001793/0.135, allocations: 101.4 kB / 363.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1351, allocations: 11.94 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1351, allocations: 0 / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1351, allocations: 4 kB / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.1352, allocations: 24.2 kB / 363.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1352, allocations: 0 / 363.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.1352, allocations: 7.938 kB / 364 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1352, allocations: 4 kB / 364 MB, free: 7.938 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.0001077/0.1354, allocations: 133.6 kB / 364.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.1355, allocations: 73.78 kB / 364.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.1355, allocations: 16.3 kB / 364.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1355, allocations: 0 / 364.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1355, allocations: 4.062 kB / 364.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1355, allocations: 11.97 kB / 364.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1357, allocations: 177.6 kB / 364.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1357, allocations: 0 / 364.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-05/0.1358, allocations: 11.94 kB / 364.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1358, allocations: 4 kB / 364.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1358, allocations: 3.984 kB / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1358, allocations: 0 / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1359, allocations: 4 kB / 364.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.1361, allocations: 197 kB / 364.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.1362, allocations: 100.9 kB / 364.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1362, allocations: 0 / 364.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.1363, allocations: 7.984 kB / 364.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.1363, allocations: 0 / 364.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1363, allocations: 7.938 kB / 364.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.1364, allocations: 122.8 kB / 364.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1364, allocations: 0 / 364.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1367, allocations: 8 kB / 364.8 MB, free: 6.965 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 0.0001313/0.1368, allocations: 99.31 kB / 364.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.137, allocations: 63.84 kB / 365 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.137, allocations: 0 / 365 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.1371, allocations: 12.42 kB / 365 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1374, allocations: 42.42 kB / 365 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.1378, allocations: 224.3 kB / 365.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1381, allocations: 0.704 MB / 366 MB, free: 5.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.1381, allocations: 12.58 kB / 366 MB, free: 5.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.1382, allocations: 11.44 kB / 366 MB, free: 5.746 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1382, allocations: 0 / 366 MB, free: 5.746 MB / 302.1 MB Notification: Performance of Templates: time 0.002721/0.1409, allocations: 0.8384 MB / 366.8 MB, free: 4.918 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches