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.001089/0.001089, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001544/0.001544, allocations: 145.7 kB / 24.89 MB, free: 8.742 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.9084/0.9084, allocations: 173.4 MB / 201.5 MB, free: 8.273 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.001e-06/1.001e-06, allocations: 0 / 268.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.907e-06/9.908e-06, allocations: 5.406 kB / 268.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001751/0.001761, allocations: 1.701 MB / 270.2 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.002378, allocations: 0.5346 MB / 270.8 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.002441, allocations: 3.938 kB / 270.8 MB, free: 7.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.002607, allocations: 20.86 kB / 270.8 MB, free: 7.496 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.002651, allocations: 7.875 kB / 270.8 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.002847, allocations: 69.05 kB / 270.9 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.002933, allocations: 59.78 kB / 270.9 MB, free: 7.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.002997, allocations: 19.95 kB / 270.9 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.003064, allocations: 36.69 kB / 271 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.00313, allocations: 27.91 kB / 271 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.00314, allocations: 4.938 kB / 271 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-06/0.003147, allocations: 4 kB / 271 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.003187, allocations: 19.92 kB / 271 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003206, allocations: 24.41 kB / 271.1 MB, free: 7.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.852e-05/0.003275, allocations: 52.48 kB / 271.1 MB, free: 7.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-06/0.003276, allocations: 0 / 271.1 MB, free: 7.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.003277, allocations: 1.906 kB / 271.1 MB, free: 7.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.904e-06/0.003278, allocations: 4 kB / 271.1 MB, free: 7.176 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.0001918/0.00347, allocations: 292.4 kB / 271.4 MB, free: 6.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.846e-05/0.003489, allocations: 8.031 kB / 271.4 MB, free: 6.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.751e-05/0.003506, allocations: 8.922 kB / 271.4 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.003603, allocations: 142.1 kB / 271.5 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.003613, allocations: 4.375 kB / 271.6 MB, free: 6.688 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-06/0.003618, allocations: 4.375 kB / 271.6 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.003747, allocations: 144.3 kB / 271.7 MB, free: 6.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-06/0.003752, allocations: 4.5 kB / 271.7 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-06/0.003756, allocations: 0.5 kB / 271.7 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-06/0.003758, allocations: 0 / 271.7 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.003782, allocations: 18.77 kB / 271.7 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.003906, allocations: 164.8 kB / 271.9 MB, free: 6.312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.561e-05/0.003951, allocations: 67.7 kB / 271.9 MB, free: 6.219 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.003973, allocations: 26.77 kB / 272 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.003981, allocations: 0 / 272 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.003998, allocations: 42.44 kB / 272 MB, free: 6.133 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 6.11e-07/0.003998, allocations: 3.938 kB / 272 MB, free: 6.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 8.685e-05/0.004085, allocations: 65.83 kB / 272.1 MB, free: 6.059 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.004124, allocations: 114.8 kB / 272.2 MB, free: 5.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.004184, allocations: 140.9 kB / 272.3 MB, free: 5.773 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.004192, allocations: 29.7 kB / 272.4 MB, free: 5.738 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.004216, allocations: 84 kB / 272.4 MB, free: 5.652 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.004229, allocations: 7.953 kB / 272.5 MB, free: 5.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.004255, allocations: 33.58 kB / 272.5 MB, free: 5.605 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.004317, allocations: 314.8 kB / 272.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-06/0.004323, allocations: 4 kB / 272.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.004338, allocations: 22.56 kB / 272.8 MB, free: 5.254 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.004365, allocations: 33.41 kB / 272.9 MB, free: 5.211 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.004366, allocations: 4 kB / 272.9 MB, free: 5.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.431e-05/0.004411, allocations: 57.48 kB / 272.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-06/0.004418, allocations: 8 kB / 272.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.004421, allocations: 0 / 272.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.004426, allocations: 0 / 272.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.004468, allocations: 8.375 kB / 272.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-06/0.00447, allocations: 0 / 272.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.004488, allocations: 12.09 kB / 272.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.004491, allocations: 3.984 kB / 272.9 MB, free: 5.113 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 5.094e-05/0.004542, allocations: 116.7 kB / 273.1 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.004586, allocations: 53.56 kB / 273.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.004603, allocations: 12.47 kB / 273.1 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.004604, allocations: 3.984 kB / 273.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.52e-07/0.004605, allocations: 0 / 273.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004608, allocations: 4 kB / 273.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.563e-05/0.004683, allocations: 81.88 kB / 273.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004684, allocations: 0 / 273.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.00471, allocations: 16.03 kB / 273.2 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.004711, allocations: 0 / 273.2 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.004718, allocations: 11.91 kB / 273.2 MB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.00472, allocations: 3.938 kB / 273.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.004721, allocations: 4 kB / 273.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.241e-05/0.004773, allocations: 140.1 kB / 273.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.004799, allocations: 23.88 kB / 273.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.004813, allocations: 11.88 kB / 273.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.004845, allocations: 3.984 kB / 273.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.004861, allocations: 0 / 273.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.004865, allocations: 12.03 kB / 273.4 MB, free: 4.562 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.79e-05/0.004883, allocations: 20.84 kB / 273.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004883, allocations: 0 / 273.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001119/0.004995, allocations: 12 kB / 273.5 MB, free: 4.527 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 4.437e-05/0.005039, allocations: 84.36 kB / 273.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.578e-05/0.005085, allocations: 24.83 kB / 273.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.005088, allocations: 4 kB / 273.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-06/0.005096, allocations: 8.797 kB / 273.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.005248, allocations: 44.34 kB / 273.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.005604, allocations: 254 kB / 273.9 MB, free: 4.059 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.337e-05/0.005637, allocations: 71.34 kB / 273.9 MB, free: 3.969 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.692e-05/0.005654, allocations: 4.203 kB / 273.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.0057, allocations: 67.34 kB / 274 MB, free: 3.898 MB / 250.7 MB Notification: Performance of SimCode: time 3.81e-07/0.0057, allocations: 0 / 274 MB, free: 3.898 MB / 250.7 MB Notification: Performance of Templates: time 0.001865/0.007565, allocations: 0.9407 MB / 275 MB, free: 2.984 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 -s gbode -gbm=radauIIA3 -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.48687248211354]