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.0009271/0.0009271, allocations: 87.88 kB / 21.19 MB, free: 3.406 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.0008764/0.0008764, allocations: 141.1 kB / 24.54 MB, free: 60 kB / 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.3 MB / 201.1 MB, free: 9.348 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.623e-06/1.623e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.706e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002403/0.00243, allocations: 1.654 MB / 269.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003609, allocations: 0.5413 MB / 270.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.003723, allocations: 3.938 kB / 270.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.003992, allocations: 15.88 kB / 270.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.004058, allocations: 15.86 kB / 270.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.00438, allocations: 59.8 kB / 270.3 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.004503, allocations: 63.72 kB / 270.4 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004604, allocations: 8 kB / 270.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.941e-05/0.004703, allocations: 39.89 kB / 270.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.004805, allocations: 27.91 kB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.004834, allocations: 4 kB / 270.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.004845, allocations: 4 kB / 270.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.004915, allocations: 23.91 kB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.004949, allocations: 19.94 kB / 270.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.005087, allocations: 51.75 kB / 270.5 MB, free: 3.891 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005091, allocations: 0 / 270.5 MB, free: 3.891 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005092, allocations: 0 / 270.5 MB, free: 3.891 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.005099, allocations: 0 / 270.5 MB, free: 3.891 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.0004503/0.005549, allocations: 424.1 kB / 270.9 MB, free: 3.441 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.005591, allocations: 12.02 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.00564, allocations: 16.89 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.005822, allocations: 144.2 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.005843, allocations: 384 / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.005858, allocations: 8.375 kB / 271.1 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.006209, allocations: 161.2 kB / 271.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.00622, allocations: 7.922 kB / 271.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.006232, allocations: 4 kB / 271.3 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.00624, allocations: 0 / 271.3 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.006282, allocations: 11.94 kB / 271.3 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.006592, allocations: 283.1 kB / 271.6 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.328e-05/0.006686, allocations: 93.19 kB / 271.7 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.006734, allocations: 43.17 kB / 271.7 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.006752, allocations: 4 kB / 271.7 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.00678, allocations: 49.27 kB / 271.8 MB, free: 2.465 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.006781, allocations: 0 / 271.8 MB, free: 2.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001992/0.00698, allocations: 77.56 kB / 271.8 MB, free: 2.383 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.007049, allocations: 106.8 kB / 271.9 MB, free: 2.254 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.007163, allocations: 201.9 kB / 272.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.007175, allocations: 25.95 kB / 272.2 MB, free: 2.008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.007232, allocations: 142.7 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.007253, allocations: 7.953 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.007288, allocations: 27.36 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.007409, allocations: 496.1 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.007425, allocations: 11.94 kB / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.007451, allocations: 31.05 kB / 272.9 MB, free: 1.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.475e-05/0.007505, allocations: 39 kB / 272.9 MB, free: 1.219 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.007508, allocations: 384 / 272.9 MB, free: 1.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.802e-05/0.007596, allocations: 69.52 kB / 273 MB, free: 1.145 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.007611, allocations: 4 kB / 273 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.007617, allocations: 4 kB / 273 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.007632, allocations: 4 kB / 273 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.007722, allocations: 4 kB / 273 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.00773, allocations: 7.984 kB / 273 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.00775, allocations: 0 / 273 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.007758, allocations: 4 kB / 273 MB, free: 1.117 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 8.777e-05/0.007845, allocations: 160.5 kB / 273.2 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.007918, allocations: 77.62 kB / 273.2 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.007954, allocations: 8.469 kB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.007957, allocations: 4 kB / 273.2 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.007962, allocations: 0 / 273.2 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.007967, allocations: 3.984 kB / 273.2 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.008088, allocations: 136.5 kB / 273.4 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.00809, allocations: 0 / 273.4 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.008141, allocations: 15.98 kB / 273.4 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008144, allocations: 0 / 273.4 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.008151, allocations: 0 / 273.4 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.008154, allocations: 8.031 kB / 273.4 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.008158, allocations: 3.938 kB / 273.4 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.008311, allocations: 239.2 kB / 273.6 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.008346, allocations: 19.88 kB / 273.7 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.008373, allocations: 4 kB / 273.7 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.008417, allocations: 7.984 kB / 273.7 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.008452, allocations: 3.984 kB / 273.7 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.008458, allocations: 4 kB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.866e-05/0.008517, allocations: 142.5 kB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008517, allocations: 0 / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.008673, allocations: 12 kB / 273.8 MB, free: 208 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 9.702e-05/0.00877, allocations: 107.2 kB / 273.9 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.00889, allocations: 31.67 kB / 274 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.008892, allocations: 0 / 274 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.008907, allocations: 15.62 kB / 274 MB, free: 36 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.009214, allocations: 42.55 kB / 274 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.009844, allocations: 220.2 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.0099, allocations: 67.33 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.707e-05/0.009927, allocations: 4 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.009959, allocations: 12.5 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.00996, allocations: 0 / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Templates: time 0.003116/0.01308, allocations: 0.9139 MB / 275.2 MB, free: 14.72 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.804236555006355]