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.001495/0.001495, allocations: 83.89 kB / 21.19 MB, free: 3.379 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.00144/0.00144, allocations: 145.1 kB / 24.54 MB, free: 24 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.9438/0.9438, allocations: 173.4 MB / 201.1 MB, free: 9.293 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.603e-06/1.603e-06, allocations: 0 / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.397e-05, allocations: 6.25 kB / 268 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002216/0.00224, allocations: 1.658 MB / 269.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003301, allocations: 0.5296 MB / 270.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003406, allocations: 7.938 kB / 270.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.003746, allocations: 19.84 kB / 270.2 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.003826, allocations: 11.88 kB / 270.2 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.004156, allocations: 63.69 kB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.004293, allocations: 67.77 kB / 270.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.004424, allocations: 11.98 kB / 270.4 MB, free: 4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.004537, allocations: 43.83 kB / 270.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.004653, allocations: 19.97 kB / 270.4 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.00468, allocations: 4 kB / 270.4 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.004694, allocations: 4 kB / 270.4 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.004771, allocations: 19.92 kB / 270.5 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.004808, allocations: 23.92 kB / 270.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.004923, allocations: 51.7 kB / 270.5 MB, free: 3.836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004925, allocations: 0 / 270.5 MB, free: 3.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.004927, allocations: 7.984 kB / 270.5 MB, free: 3.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004931, allocations: 0 / 270.5 MB, free: 3.828 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.0004137/0.005345, allocations: 408.2 kB / 270.9 MB, free: 3.395 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.005388, allocations: 12.03 kB / 271 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.005431, allocations: 8.891 kB / 271 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.005619, allocations: 152 kB / 271.1 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.005642, allocations: 8.375 kB / 271.1 MB, free: 3.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.005658, allocations: 8.312 kB / 271.1 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.005937, allocations: 157.2 kB / 271.3 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.005948, allocations: 3.938 kB / 271.3 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005957, allocations: 0 / 271.3 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.005966, allocations: 4 kB / 271.3 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.027e-05/0.006006, allocations: 19.92 kB / 271.3 MB, free: 2.977 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.006284, allocations: 279.2 kB / 271.6 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.129e-05/0.006376, allocations: 93.17 kB / 271.7 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.006425, allocations: 43.17 kB / 271.7 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.006447, allocations: 11.94 kB / 271.7 MB, free: 2.465 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.00647, allocations: 33.39 kB / 271.8 MB, free: 2.422 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.00647, allocations: 0 / 271.8 MB, free: 2.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001977/0.006668, allocations: 81.58 kB / 271.8 MB, free: 2.336 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.006754, allocations: 114.7 kB / 271.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.006875, allocations: 193.9 kB / 272.1 MB, free: 1.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.00689, allocations: 29.7 kB / 272.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.006954, allocations: 134.7 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.006974, allocations: 12.19 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.007013, allocations: 27.38 kB / 272.3 MB, free: 1.773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.007157, allocations: 0.4923 MB / 272.8 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.007178, allocations: 0 / 272.8 MB, free: 1.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.007208, allocations: 35.06 kB / 272.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.321e-05/0.007261, allocations: 46.92 kB / 272.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.007265, allocations: 384 / 272.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.416e-05/0.007349, allocations: 57.59 kB / 273 MB, free: 1.102 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.007365, allocations: 12.08 kB / 273 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.007371, allocations: 0 / 273 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.007396, allocations: 11.94 kB / 273 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.007498, allocations: 4 kB / 273 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.007508, allocations: 0 / 273 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.00753, allocations: 4 kB / 273 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.007536, allocations: 0 / 273 MB, free: 1.07 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 0.0001152/0.007651, allocations: 168.5 kB / 273.2 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.007728, allocations: 61.55 kB / 273.2 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.00777, allocations: 20.45 kB / 273.2 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007772, allocations: 4.031 kB / 273.2 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.007779, allocations: 7.984 kB / 273.3 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.007782, allocations: 0 / 273.3 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.007897, allocations: 140.5 kB / 273.4 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007898, allocations: 0 / 273.4 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.007933, allocations: 11.94 kB / 273.4 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.007939, allocations: 4 kB / 273.4 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.007945, allocations: 0 / 273.4 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007947, allocations: 0 / 273.4 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.007949, allocations: 4 kB / 273.4 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.008083, allocations: 243.2 kB / 273.6 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.008115, allocations: 15.94 kB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.008135, allocations: 4 kB / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.008169, allocations: 3.938 kB / 273.7 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.008201, allocations: 8 kB / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.008204, allocations: 0 / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.77e-05/0.008262, allocations: 150.2 kB / 273.8 MB, free: 164 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008262, allocations: 0 / 273.8 MB, free: 164 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001522/0.008414, allocations: 12 kB / 273.8 MB, free: 152 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 7.469e-05/0.008489, allocations: 95.25 kB / 273.9 MB, free: 48 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.00859, allocations: 39.61 kB / 274 MB, free: 4 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.008592, allocations: 0 / 274 MB, free: 4 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.008619, allocations: 11.69 kB / 274 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.008901, allocations: 42.38 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.009603, allocations: 215.9 kB / 274.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.308e-05/0.009646, allocations: 63.69 kB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.147e-05/0.009667, allocations: 8 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.0097, allocations: 16.48 kB / 274.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0097, allocations: 3.938 kB / 274.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Templates: time 0.002682/0.01238, allocations: 0.8811 MB / 275.2 MB, free: 14.71 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.912313663866371]