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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 101.1 kB / 17.59 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 191.6 kB / 18.52 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 46.83 kB / 301.3 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 49.46 MB / 350.7 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003961/0.1079, allocations: 1.59 MB / 352.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1092, allocations: 0.5453 MB / 352.9 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1094, allocations: 4 kB / 352.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.1098, allocations: 15.86 kB / 352.9 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.1099, allocations: 11.88 kB / 352.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1102, allocations: 66.05 kB / 353 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1103, allocations: 67.78 kB / 353 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1105, allocations: 19.98 kB / 353.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.1106, allocations: 31.84 kB / 353.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1107, allocations: 31.86 kB / 353.1 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.1108, allocations: 4 kB / 353.1 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.1108, allocations: 4 kB / 353.1 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.1109, allocations: 15.92 kB / 353.1 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.111, allocations: 35.78 kB / 353.2 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1112, allocations: 67.73 kB / 353.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1112, allocations: 3.984 kB / 353.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1112, allocations: 0 / 353.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1112, allocations: 4 kB / 353.3 MB, free: 1.824 MB / 286.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.0005596/0.1118, allocations: 391.2 kB / 353.6 MB, free: 1.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1118, allocations: 11.89 kB / 353.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1119, allocations: 12.84 kB / 353.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1121, allocations: 199.9 kB / 353.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.1121, allocations: 384 / 353.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1122, allocations: 12.12 kB / 353.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.1125, allocations: 149.8 kB / 354 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1125, allocations: 0 / 354 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1126, allocations: 4 kB / 354 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1126, allocations: 4 kB / 354 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1127, allocations: 35.91 kB / 354.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1131, allocations: 282.6 kB / 354.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1132, allocations: 87.64 kB / 354.4 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.339e-05/0.1133, allocations: 46.75 kB / 354.5 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1134, allocations: 0 / 354.5 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1134, allocations: 38.5 kB / 354.5 MB, free: 380 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1134, allocations: 0 / 354.5 MB, free: 380 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003365/0.1137, allocations: 109.6 kB / 354.6 MB, free: 264 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.1138, allocations: 114.8 kB / 354.7 MB, free: 124 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.114, allocations: 141.8 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.114, allocations: 33.7 kB / 354.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.1141, allocations: 92.11 kB / 355 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.1141, allocations: 11.91 kB / 355 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.1142, allocations: 17.72 kB / 355 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1143, allocations: 326.8 kB / 355.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.1144, allocations: 23.92 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.1145, allocations: 58 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1146, allocations: 85.92 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1146, allocations: 0 / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001983/0.1148, allocations: 105.4 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1148, allocations: 8 kB / 355.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1148, allocations: 0 / 355.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1149, allocations: 4 kB / 355.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.115, allocations: 19.98 kB / 355.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.115, allocations: 3.938 kB / 355.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.115, allocations: 7.938 kB / 355.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1151, allocations: 4 kB / 355.6 MB, free: 15.11 MB / 302.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.000176/0.1152, allocations: 134 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.1154, allocations: 73.53 kB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.1154, allocations: 12.31 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1154, allocations: 3.984 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1154, allocations: 0 / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1154, allocations: 7.938 kB / 355.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1156, allocations: 181.5 kB / 356 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1157, allocations: 0 / 356 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.1157, allocations: 8.312 kB / 356.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1157, allocations: 0 / 356.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1158, allocations: 12.03 kB / 356.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1158, allocations: 192 / 356.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1158, allocations: 3.984 kB / 356.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.116, allocations: 205 kB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.1161, allocations: 93 kB / 356.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1161, allocations: 8 kB / 356.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.1162, allocations: 7.984 kB / 356.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1162, allocations: 3.938 kB / 356.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1163, allocations: 7.938 kB / 356.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.296e-05/0.1163, allocations: 108.9 kB / 356.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1164, allocations: 0 / 356.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1166, allocations: 16 kB / 356.5 MB, free: 14.14 MB / 302.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.0001266/0.1167, allocations: 99.19 kB / 356.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.117, allocations: 67.84 kB / 356.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.117, allocations: 0 / 356.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.117, allocations: 7.984 kB / 356.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1174, allocations: 39.95 kB / 356.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.1179, allocations: 247 kB / 357 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1182, allocations: 0.7041 MB / 357.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.1183, allocations: 15.42 kB / 357.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1183, allocations: 0 / 357.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Templates: time 0.002732/0.121, allocations: 1.076 MB / 358.8 MB, free: 11.83 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches