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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009784, allocations: 80.72 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009802/0.0009802, allocations: 148.4 kB / 25.6 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9891/0.9891, allocations: 173.4 MB / 202.3 MB, free: 8.305 MB / 186.7 MB " [Timeout remaining time 179] 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=5017,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=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.449e-05, allocations: 7 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003134/0.003159, allocations: 1.642 MB / 270.9 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004316, allocations: 0.5235 MB / 271.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.004428, allocations: 7.938 kB / 271.4 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.004709, allocations: 17.83 kB / 271.4 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.004783, allocations: 7.938 kB / 271.4 MB, free: 7.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.005139, allocations: 67.67 kB / 271.5 MB, free: 7.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.005305, allocations: 59.78 kB / 271.5 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.005432, allocations: 17.31 kB / 271.5 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.005586, allocations: 39.84 kB / 271.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.005702, allocations: 19.97 kB / 271.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.005726, allocations: 4.625 kB / 271.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.00574, allocations: 4 kB / 271.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.005823, allocations: 28.52 kB / 271.6 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.005864, allocations: 25.06 kB / 271.7 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.006016, allocations: 51.7 kB / 271.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.006021, allocations: 0 / 271.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.006023, allocations: 0 / 271.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.006028, allocations: 1.219 kB / 271.7 MB, free: 7.258 MB / 250.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.0005535/0.006582, allocations: 412.2 kB / 272.1 MB, free: 6.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.006632, allocations: 12.03 kB / 272.1 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.006681, allocations: 10.42 kB / 272.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.006947, allocations: 152.9 kB / 272.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.006976, allocations: 9 kB / 272.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.006994, allocations: 8.375 kB / 272.3 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.007302, allocations: 158.7 kB / 272.5 MB, free: 6.426 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.007313, allocations: 3.938 kB / 272.5 MB, free: 6.422 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.007323, allocations: 4.625 kB / 272.5 MB, free: 6.418 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.00733, allocations: 0.8438 kB / 272.5 MB, free: 6.418 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.007e-05/0.00737, allocations: 11.98 kB / 272.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.007711, allocations: 264.2 kB / 272.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.007826, allocations: 89.19 kB / 272.8 MB, free: 5.988 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.007882, allocations: 43.22 kB / 272.9 MB, free: 5.934 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.007902, allocations: 0 / 272.9 MB, free: 5.934 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.007934, allocations: 41.33 kB / 272.9 MB, free: 5.883 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.007935, allocations: 0 / 272.9 MB, free: 5.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002269/0.008162, allocations: 85.45 kB / 273 MB, free: 5.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.008242, allocations: 106.8 kB / 273.1 MB, free: 5.664 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.008376, allocations: 191.9 kB / 273.3 MB, free: 5.461 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.00839, allocations: 29.95 kB / 273.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.008466, allocations: 146.7 kB / 273.5 MB, free: 5.277 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.008492, allocations: 7.953 kB / 273.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.008538, allocations: 23.38 kB / 273.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.008714, allocations: 0.4884 MB / 274 MB, free: 4.738 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.008736, allocations: 4 kB / 274 MB, free: 4.734 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.008775, allocations: 31.05 kB / 274 MB, free: 4.691 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.39e-05/0.008849, allocations: 42.98 kB / 274.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.008851, allocations: 0 / 274.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001197/0.008971, allocations: 69.52 kB / 274.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.00899, allocations: 4 kB / 274.1 MB, free: 4.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.009, allocations: 4 kB / 274.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.009015, allocations: 0 / 274.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.009146, allocations: 7.938 kB / 274.1 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.009153, allocations: 7.938 kB / 274.1 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.009184, allocations: 0 / 274.1 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.009192, allocations: 3.984 kB / 274.2 MB, free: 4.535 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001228/0.009315, allocations: 160.6 kB / 274.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.009424, allocations: 70.05 kB / 274.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.009462, allocations: 12.47 kB / 274.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.009465, allocations: 0 / 274.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.009469, allocations: 4 kB / 274.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.009474, allocations: 0 / 274.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.009657, allocations: 121.1 kB / 274.5 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.00966, allocations: 0 / 274.5 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/0.009727, allocations: 15.98 kB / 274.5 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.009732, allocations: 3.938 kB / 274.5 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.009738, allocations: 0 / 274.5 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.009742, allocations: 8.031 kB / 274.5 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.009744, allocations: 0 / 274.5 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.009898, allocations: 211.2 kB / 274.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.009956, allocations: 11.94 kB / 274.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.009988, allocations: 7.938 kB / 274.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.01006, allocations: 4 kB / 274.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.0101, allocations: 4 kB / 274.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.01011, allocations: 0 / 274.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.0102, allocations: 149.4 kB / 274.9 MB, free: 3.695 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0102, allocations: 0 / 274.9 MB, free: 3.695 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.01043, allocations: 12.03 kB / 274.9 MB, free: 3.684 MB / 250.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 (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.0001422/0.01057, allocations: 102.3 kB / 275 MB, free: 3.578 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.01069, allocations: 31.61 kB / 275.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.0107, allocations: 0 / 275.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.01072, allocations: 11.69 kB / 275.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.0111, allocations: 41.39 kB / 275.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007956/0.0119, allocations: 220.2 kB / 275.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.797e-05/0.01196, allocations: 67.28 kB / 275.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.012, allocations: 11.94 kB / 275.4 MB, free: 3.129 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.01209, allocations: 86.19 kB / 275.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01209, allocations: 0 / 275.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of Templates: time 0.004125/0.01621, allocations: 0.9569 MB / 276.4 MB, free: 2.105 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9419444650411606]