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.00113/0.00113, allocations: 105.9 kB / 16.51 MB, free: 6.707 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.001085/0.001085, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.452/1.452, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 46.64 kB / 300 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1297, allocations: 49.44 MB / 349.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003866/0.1336, allocations: 1.651 MB / 351 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.1346, allocations: 0.5415 MB / 351.6 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1347, allocations: 0 / 351.6 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.135, allocations: 15.94 kB / 351.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.1351, allocations: 19.84 kB / 351.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1354, allocations: 58.89 kB / 351.7 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.1355, allocations: 63.78 kB / 351.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1356, allocations: 15.97 kB / 351.8 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.1357, allocations: 31.86 kB / 351.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1359, allocations: 31.84 kB / 351.8 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1359, allocations: 4 kB / 351.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.1359, allocations: 4 kB / 351.8 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.089e-05/0.136, allocations: 23.91 kB / 351.9 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.1361, allocations: 27.81 kB / 351.9 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1362, allocations: 63.72 kB / 351.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1362, allocations: 0 / 351.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1363, allocations: 0 / 351.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1363, allocations: 0 / 351.9 MB, free: 2.285 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.0006441/0.1369, allocations: 391.3 kB / 352.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.137, allocations: 12.03 kB / 352.3 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.137, allocations: 12.84 kB / 352.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1373, allocations: 203.6 kB / 352.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1373, allocations: 384 / 352.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1374, allocations: 12.12 kB / 352.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.1377, allocations: 145.8 kB / 352.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1378, allocations: 8 kB / 352.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1378, allocations: 4 kB / 352.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1378, allocations: 0 / 352.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1379, allocations: 27.97 kB / 352.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.1383, allocations: 290.5 kB / 353 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.1384, allocations: 79.72 kB / 353.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.1385, allocations: 42.75 kB / 353.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1386, allocations: 0 / 353.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1386, allocations: 42.55 kB / 353.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1386, allocations: 0 / 353.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003359/0.1389, allocations: 113.3 kB / 353.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.139, allocations: 110.8 kB / 353.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1392, allocations: 141.8 kB / 353.5 MB, free: 448 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1392, allocations: 33.89 kB / 353.6 MB, free: 408 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1392, allocations: 88.14 kB / 353.7 MB, free: 316 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.1393, allocations: 11.91 kB / 353.7 MB, free: 304 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.1393, allocations: 25.7 kB / 353.7 MB, free: 272 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1395, allocations: 318.8 kB / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-05/0.1395, allocations: 19.98 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.1396, allocations: 61.94 kB / 354.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1397, allocations: 85.92 kB / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1398, allocations: 0 / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001793/0.1399, allocations: 101.4 kB / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.14, allocations: 8 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.14, allocations: 3.984 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.14, allocations: 4.219 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1401, allocations: 20 kB / 354.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1401, allocations: 0 / 354.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.1402, allocations: 11.92 kB / 354.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1402, allocations: 4 kB / 354.3 MB, free: 15.58 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.0001867/0.1404, allocations: 125.7 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.1405, allocations: 69.84 kB / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.1406, allocations: 16.3 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1406, allocations: 0 / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.1406, allocations: 12.09 kB / 354.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1406, allocations: 3.938 kB / 354.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1408, allocations: 181.5 kB / 354.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1408, allocations: 3.938 kB / 354.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.1409, allocations: 15.98 kB / 354.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1409, allocations: 4 kB / 354.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1409, allocations: 3.938 kB / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1409, allocations: 0 / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1409, allocations: 4 kB / 354.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1412, allocations: 197 kB / 354.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.1412, allocations: 93 kB / 355 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.1413, allocations: 7.984 kB / 355 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1413, allocations: 4 kB / 355.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1414, allocations: 0 / 355.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1414, allocations: 7.938 kB / 355.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.819e-05/0.1415, allocations: 117.3 kB / 355.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1415, allocations: 0 / 355.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1417, allocations: 15.94 kB / 355.2 MB, free: 14.61 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.0001274/0.1418, allocations: 99.19 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.142, allocations: 59.91 kB / 355.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.142, allocations: 448 / 355.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.1421, allocations: 15.92 kB / 355.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1425, allocations: 36.02 kB / 355.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.143, allocations: 250.5 kB / 355.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1433, allocations: 0.6965 MB / 356.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.93e-05/0.1434, allocations: 8.656 kB / 356.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.1434, allocations: 11.44 kB / 356.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1434, allocations: 3.938 kB / 356.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Templates: time 0.003096/0.1465, allocations: 0.7762 MB / 357.1 MB, free: 12.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/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