Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.746/1.746, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 47.94 kB / 373.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1384, allocations: 53.32 MB / 426.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003986/0.1424, allocations: 1.622 MB / 428.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1439, allocations: 0.6193 MB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.144, allocations: 7.938 kB / 429.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.1443, allocations: 7.875 kB / 429.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.1444, allocations: 15.86 kB / 429.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.1448, allocations: 79.8 kB / 429.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.145, allocations: 67.77 kB / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1451, allocations: 8 kB / 429.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1453, allocations: 43.83 kB / 429.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1454, allocations: 35.8 kB / 429.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.1455, allocations: 4 kB / 429.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.1455, allocations: 7.984 kB / 429.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.1456, allocations: 19.92 kB / 429.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.1457, allocations: 35.8 kB / 429.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1459, allocations: 79.53 kB / 429.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1459, allocations: 0 / 429.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1459, allocations: 4 kB / 429.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1459, allocations: 0 / 429.5 MB, free: 1.586 MB / 350.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.0009847/0.1469, allocations: 391 kB / 429.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1469, allocations: 8.031 kB / 429.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1471, allocations: 16.89 kB / 429.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.1474, allocations: 216.6 kB / 430.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1474, allocations: 8.312 kB / 430.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1475, allocations: 8.125 kB / 430.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.1479, allocations: 157.7 kB / 430.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1479, allocations: 0 / 430.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1479, allocations: 3.984 kB / 430.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.1479, allocations: 8 kB / 430.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.148, allocations: 27.98 kB / 430.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.1485, allocations: 282.5 kB / 430.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1486, allocations: 87.89 kB / 430.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1487, allocations: 34.56 kB / 430.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1488, allocations: 0 / 430.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.1488, allocations: 42.56 kB / 430.7 MB, free: 116 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1488, allocations: 0 / 430.7 MB, free: 116 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004006/0.1492, allocations: 113.6 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/0.1493, allocations: 106.8 kB / 430.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1495, allocations: 148.7 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1495, allocations: 25.7 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.1496, allocations: 96.09 kB / 431.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1496, allocations: 8.188 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.1496, allocations: 29.72 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.1499, allocations: 322.8 kB / 431.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.1499, allocations: 15.98 kB / 431.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.941e-05/0.15, allocations: 65.94 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1502, allocations: 81.94 kB / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1502, allocations: 0 / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002333/0.1504, allocations: 109.5 kB / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1505, allocations: 4 kB / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1505, allocations: 7.938 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1505, allocations: 192 / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1506, allocations: 19.81 kB / 431.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1506, allocations: 7.938 kB / 431.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.1507, allocations: 16.09 kB / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1507, allocations: 8 kB / 431.9 MB, free: 14.84 MB / 366.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.0001506/0.1508, allocations: 125.8 kB / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.151, allocations: 69.59 kB / 432.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.151, allocations: 12.31 kB / 432.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.151, allocations: 4 kB / 432.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.151, allocations: 0 / 432.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.151, allocations: 7.922 kB / 432.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1513, allocations: 169.7 kB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1513, allocations: 8.031 kB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.1513, allocations: 15.92 kB / 432.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1513, allocations: 0 / 432.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1514, allocations: 8 kB / 432.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1514, allocations: 0 / 432.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1514, allocations: 320 / 432.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.1518, allocations: 201.1 kB / 432.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1519, allocations: 97.05 kB / 432.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1519, allocations: 4 kB / 432.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.152, allocations: 11.94 kB / 432.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.152, allocations: 3.984 kB / 432.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.152, allocations: 7.938 kB / 432.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1521, allocations: 110.4 kB / 432.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1521, allocations: 0 / 432.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1524, allocations: 16 kB / 432.7 MB, free: 13.87 MB / 366.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.0001632/0.1526, allocations: 103.3 kB / 432.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.1528, allocations: 55.91 kB / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1528, allocations: 0 / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.1528, allocations: 11.94 kB / 432.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.1533, allocations: 44.47 kB / 432.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.1539, allocations: 220.8 kB / 433.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1543, allocations: 0.7007 MB / 433.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.337e-05/0.1544, allocations: 8.422 kB / 433.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1544, allocations: 11.44 kB / 433.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1544, allocations: 7.938 kB / 433.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of Templates: time 0.004257/0.1587, allocations: 0.8455 MB / 434.7 MB, free: 11.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.306911278516054]