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.001255/0.001255, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002222/0.003476, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009796/0.0009796, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.00239, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.194/1.194, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1301/1.324, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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 1.834e-06/1.834e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.868e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.006328/0.006356, allocations: 1.716 MB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008562/0.007213, allocations: 0.619 MB / 247.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.007283, allocations: 3.938 kB / 247.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.007407, allocations: 19.86 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.00747, allocations: 15.86 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.00779, allocations: 67.73 kB / 247.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.007917, allocations: 67.7 kB / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.008002, allocations: 15.94 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.008159, allocations: 55.83 kB / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.008258, allocations: 19.97 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.008281, allocations: 4 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.942e-05/0.008341, allocations: 15.94 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.008413, allocations: 23.91 kB / 247.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.008441, allocations: 11.94 kB / 247.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.008584, allocations: 43.84 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.008593, allocations: 0 / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.008594, allocations: 4 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.008604, allocations: 0 / 247.4 MB, free: 11.5 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.0004082/0.009012, allocations: 312.1 kB / 247.7 MB, free: 11.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.009046, allocations: 15.97 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/0.01221, allocations: 94.03 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.01239, allocations: 146.2 kB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.01241, allocations: 384 / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.01242, allocations: 4.375 kB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.01263, allocations: 143 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.01264, allocations: 3.938 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.01265, allocations: 4 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.01265, allocations: 0 / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.01269, allocations: 18.75 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.01287, allocations: 164.8 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.01295, allocations: 71.7 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.01298, allocations: 30.62 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.013, allocations: 7.938 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.01302, allocations: 50.56 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.01302, allocations: 0 / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001549/0.01318, allocations: 61.61 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.01324, allocations: 110.8 kB / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.01332, allocations: 133.7 kB / 248.8 MB, free: 9.957 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.01333, allocations: 33.7 kB / 248.8 MB, free: 9.918 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.01337, allocations: 88.11 kB / 248.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.01339, allocations: 7.953 kB / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.01342, allocations: 17.7 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.01351, allocations: 331.1 kB / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.01353, allocations: 3.938 kB / 249.2 MB, free: 9.461 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.01355, allocations: 22.58 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.01359, allocations: 29.39 kB / 249.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01359, allocations: 0 / 249.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.407e-05/0.01367, allocations: 53.56 kB / 249.3 MB, free: 9.332 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.01368, allocations: 7.938 kB / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01368, allocations: 4.094 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.01369, allocations: 3.984 kB / 249.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.01375, allocations: 8 kB / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.01375, allocations: 0 / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.01378, allocations: 8 kB / 249.4 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.01378, allocations: 0 / 249.4 MB, free: 9.301 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 7.932e-05/0.01386, allocations: 116.7 kB / 249.5 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.01393, allocations: 57.56 kB / 249.5 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.01396, allocations: 12.47 kB / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.01396, allocations: 0 / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01397, allocations: 8.031 kB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.01397, allocations: 3.984 kB / 249.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.01411, allocations: 85.77 kB / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01411, allocations: 448 / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.01415, allocations: 12 kB / 249.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.01419, allocations: 23.88 kB / 249.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01419, allocations: 0 / 249.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.0142, allocations: 8 kB / 249.7 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.0142, allocations: 0 / 249.7 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.0142, allocations: 7.875 kB / 249.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.01429, allocations: 152.1 kB / 249.8 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.01431, allocations: 3.938 kB / 249.8 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/0.01438, allocations: 8 kB / 249.8 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.0144, allocations: 3.984 kB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.0144, allocations: 4 kB / 249.9 MB, free: 8.746 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.014e-05/0.01443, allocations: 24.83 kB / 249.9 MB, free: 8.719 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01443, allocations: 0 / 249.9 MB, free: 8.719 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.01466, allocations: 12 kB / 249.9 MB, free: 8.707 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.0001043/0.01476, allocations: 88.34 kB / 250 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.624e-05/0.01484, allocations: 20.89 kB / 250 MB, free: 8.586 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.01484, allocations: 4 kB / 250 MB, free: 8.582 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.01486, allocations: 12.84 kB / 250 MB, free: 8.566 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.01821, allocations: 158.5 kB / 250.2 MB, free: 8.387 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.01923, allocations: 269.3 kB / 250.4 MB, free: 8.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.323e-05/0.01928, allocations: 71.83 kB / 250.5 MB, free: 8 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.031e-05/0.01931, allocations: 4 kB / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.01939, allocations: 67.36 kB / 250.6 MB, free: 7.93 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01939, allocations: 0 / 250.6 MB, free: 7.93 MB / 250.7 MB Notification: Performance of Templates: time 0.006283/0.02568, allocations: 0.949 MB / 251.5 MB, free: 7.008 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.13037699367851]