Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002257/0.002257, allocations: 209.4 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.613/1.613, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4354, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003581/0.439, allocations: 1.631 MB / 433.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.4403, allocations: 0.6076 MB / 434.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.4404, allocations: 11.94 kB / 434.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.4407, allocations: 19.84 kB / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.4408, allocations: 15.86 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.4412, allocations: 83.03 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.4414, allocations: 63.78 kB / 434.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.4415, allocations: 11.98 kB / 434.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.4417, allocations: 39.84 kB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.4418, allocations: 35.84 kB / 434.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.4418, allocations: 4 kB / 434.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.4419, allocations: 4 kB / 434.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.442, allocations: 23.92 kB / 434.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.442, allocations: 43.72 kB / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.4422, allocations: 77.56 kB / 434.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4422, allocations: 0 / 434.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4423, allocations: 0 / 434.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4423, allocations: 0 / 434.7 MB, free: 4.734 MB / 334.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.0007175/0.443, allocations: 387 kB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.443, allocations: 8.031 kB / 435.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.4432, allocations: 20.88 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.4435, allocations: 212.6 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.4436, allocations: 8.375 kB / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.4436, allocations: 8.125 kB / 435.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.4439, allocations: 153.8 kB / 435.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4439, allocations: 0 / 435.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.444, allocations: 0 / 435.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.444, allocations: 4 kB / 435.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.4441, allocations: 31.97 kB / 435.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.4445, allocations: 286.5 kB / 435.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.4446, allocations: 75.72 kB / 435.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.554e-05/0.4447, allocations: 46.75 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4448, allocations: 7.922 kB / 435.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.4448, allocations: 42.56 kB / 436 MB, free: 3.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.4448, allocations: 0 / 436 MB, free: 3.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003694/0.4452, allocations: 113.5 kB / 436.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.4453, allocations: 106.8 kB / 436.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.4454, allocations: 149.7 kB / 436.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4454, allocations: 29.7 kB / 436.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.4455, allocations: 96.09 kB / 436.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.4455, allocations: 7.938 kB / 436.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.4456, allocations: 25.72 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4457, allocations: 318.8 kB / 436.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.4458, allocations: 19.98 kB / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.621e-05/0.4459, allocations: 69.88 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.446, allocations: 85.94 kB / 437 MB, free: 2.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.446, allocations: 0 / 437 MB, free: 2.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002023/0.4462, allocations: 109.4 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4463, allocations: 4 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4463, allocations: 4.219 kB / 437.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4463, allocations: 4 kB / 437.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.4464, allocations: 15.98 kB / 437.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4464, allocations: 4 kB / 437.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.4464, allocations: 7.938 kB / 437.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4465, allocations: 4 kB / 437.1 MB, free: 1.992 MB / 334.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.0001193/0.4466, allocations: 129.8 kB / 437.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.4467, allocations: 69.59 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.4467, allocations: 16.31 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4467, allocations: 11.97 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4468, allocations: 0 / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4468, allocations: 3.938 kB / 437.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.447, allocations: 177.6 kB / 437.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.447, allocations: 0 / 437.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.447, allocations: 15.98 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.4471, allocations: 3.984 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4471, allocations: 4 kB / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4471, allocations: 0 / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4471, allocations: 0 / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.4474, allocations: 209.3 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.4474, allocations: 93.05 kB / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.4475, allocations: 8 kB / 437.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.4475, allocations: 4 kB / 437.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.4476, allocations: 4 kB / 437.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4476, allocations: 11.92 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.4477, allocations: 107.3 kB / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4477, allocations: 0 / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.4479, allocations: 16 kB / 438 MB, free: 1.02 MB / 334.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.0001346/0.4481, allocations: 99.23 kB / 438.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.4483, allocations: 59.83 kB / 438.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4483, allocations: 448 / 438.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.4483, allocations: 12 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4487, allocations: 50.92 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.4493, allocations: 220.7 kB / 438.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.4497, allocations: 0.7003 MB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.831e-05/0.4497, allocations: 8.438 kB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.4498, allocations: 15.42 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4498, allocations: 0 / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Templates: time 0.004044/0.4538, allocations: 0.8722 MB / 440 MB, free: 14.94 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.986575537826866]