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.001346/0.001346, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001408/0.001408, allocations: 150.1 kB / 24.81 MB, free: 9.285 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.9968/0.9968, allocations: 173.3 MB / 201.4 MB, free: 9.199 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.112e-06/1.112e-06, allocations: 0 / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.688e-05, allocations: 10.25 kB / 268.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001921/0.001938, allocations: 1.638 MB / 270.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.002697, allocations: 0.5334 MB / 270.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.002757, allocations: 4 kB / 270.6 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.002875, allocations: 27.8 kB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.188e-05/0.002907, allocations: 7.922 kB / 270.6 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.003123, allocations: 63.69 kB / 270.7 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.003202, allocations: 63.77 kB / 270.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.003251, allocations: 11.98 kB / 270.8 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.961e-05/0.003321, allocations: 47.83 kB / 270.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.003377, allocations: 15.98 kB / 270.8 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.003389, allocations: 7.938 kB / 270.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-06/0.003396, allocations: 4 kB / 270.8 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.003433, allocations: 23.91 kB / 270.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.003454, allocations: 23.92 kB / 270.9 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.2e-05/0.003526, allocations: 51.77 kB / 270.9 MB, free: 3.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-06/0.003527, allocations: 0 / 270.9 MB, free: 3.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.003528, allocations: 0 / 270.9 MB, free: 3.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.00353, allocations: 0 / 270.9 MB, free: 3.625 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.0002498/0.00378, allocations: 412.2 kB / 271.3 MB, free: 3.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.328e-05/0.003803, allocations: 12.03 kB / 271.4 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.02e-05/0.003824, allocations: 12.89 kB / 271.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.00393, allocations: 152 kB / 271.5 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.003938, allocations: 8.312 kB / 271.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-06/0.003946, allocations: 8.359 kB / 271.5 MB, free: 2.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.004107, allocations: 149.2 kB / 271.7 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-06/0.004111, allocations: 11.88 kB / 271.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-06/0.004116, allocations: 0 / 271.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-06/0.004119, allocations: 0 / 271.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.00414, allocations: 8 kB / 271.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.004299, allocations: 267.7 kB / 272 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.023e-05/0.004359, allocations: 93.16 kB / 272 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.00439, allocations: 39.23 kB / 272.1 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.004403, allocations: 4 kB / 272.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.004421, allocations: 37.33 kB / 272.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 6.31e-07/0.004422, allocations: 0 / 272.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001058/0.004527, allocations: 77.52 kB / 272.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.004571, allocations: 111.1 kB / 272.3 MB, free: 2.039 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.004651, allocations: 194.1 kB / 272.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.004661, allocations: 33.7 kB / 272.5 MB, free: 1.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.004702, allocations: 134.7 kB / 272.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.004714, allocations: 15.94 kB / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.00474, allocations: 23.36 kB / 272.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.004848, allocations: 0.4884 MB / 273.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-06/0.004856, allocations: 0 / 273.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.004878, allocations: 43.05 kB / 273.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.004907, allocations: 34.98 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.004909, allocations: 8 kB / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.101e-05/0.00496, allocations: 57.53 kB / 273.3 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.004968, allocations: 7.938 kB / 273.3 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.004971, allocations: 4 kB / 273.3 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.411e-06/0.004976, allocations: 3.984 kB / 273.3 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.005019, allocations: 4 kB / 273.4 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.005022, allocations: 7.938 kB / 273.4 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.00504, allocations: 0 / 273.4 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.005043, allocations: 4 kB / 273.4 MB, free: 0.9062 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 6.416e-05/0.005107, allocations: 160.7 kB / 273.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.005162, allocations: 69.47 kB / 273.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.005187, allocations: 16.45 kB / 273.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005188, allocations: 0 / 273.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.00519, allocations: 4 kB / 273.6 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005192, allocations: 0 / 273.6 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.153e-05/0.005284, allocations: 113.2 kB / 273.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.005286, allocations: 4 kB / 273.7 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.005313, allocations: 8 kB / 273.7 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.005316, allocations: 7.922 kB / 273.7 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.00532, allocations: 8.031 kB / 273.7 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005321, allocations: 0 / 273.7 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005322, allocations: 0 / 273.7 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.461e-05/0.005406, allocations: 207.2 kB / 273.9 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.005431, allocations: 15.94 kB / 274 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.005447, allocations: 15.91 kB / 274 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.327e-05/0.00548, allocations: 4.188 kB / 274 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.005498, allocations: 4 kB / 274 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.0055, allocations: 0 / 274 MB, free: 212 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.005547, allocations: 154.1 kB / 274.1 MB, free: 60 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005547, allocations: 4.031 kB / 274.1 MB, free: 56 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.005686, allocations: 8 kB / 274.2 MB, free: 48 kB / 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 6.778e-05/0.005754, allocations: 95.25 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.76e-05/0.005811, allocations: 31.61 kB / 274.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.005812, allocations: 4 kB / 274.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.005824, allocations: 11.67 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.006031, allocations: 42.08 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.006428, allocations: 212.3 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.52e-05/0.006463, allocations: 67.33 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.025e-05/0.006483, allocations: 7.938 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.006537, allocations: 90.12 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.006537, allocations: 0 / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002105/0.008642, allocations: 0.9446 MB / 275.6 MB, free: 14.48 MB / 266.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.784051483962685]