Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001175, allocations: 57.75 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1078, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00281/0.1107, allocations: 1.606 MB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1117, allocations: 0.6154 MB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.1118, allocations: 0 / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.112, allocations: 23.86 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.1121, allocations: 19.84 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1124, allocations: 63.81 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1125, allocations: 67.77 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.1126, allocations: 23.95 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1127, allocations: 39.86 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.1128, allocations: 39.83 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1128, allocations: 4 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.1129, allocations: 4 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.1129, allocations: 19.92 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.113, allocations: 31.75 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1131, allocations: 79.72 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1131, allocations: 0 / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1131, allocations: 3.938 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1132, allocations: 0 / 361.5 MB, free: 10.7 MB / 302.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.0004295/0.1136, allocations: 395 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1136, allocations: 8.031 kB / 361.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1138, allocations: 24.73 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.114, allocations: 200.3 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.114, allocations: 12.31 kB / 362.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1141, allocations: 8.125 kB / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.1144, allocations: 157.7 kB / 362.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1144, allocations: 0 / 362.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1144, allocations: 0 / 362.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1144, allocations: 4 kB / 362.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1145, allocations: 31.91 kB / 362.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.1149, allocations: 282.6 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1151, allocations: 79.72 kB / 362.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.1151, allocations: 46.75 kB / 362.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1152, allocations: 0 / 362.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.1152, allocations: 38.5 kB / 362.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1152, allocations: 0 / 362.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003027/0.1155, allocations: 109.9 kB / 362.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.1156, allocations: 110.8 kB / 363 MB, free: 8.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1157, allocations: 146.4 kB / 363.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1158, allocations: 25.7 kB / 363.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.1158, allocations: 92.12 kB / 363.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1158, allocations: 15.83 kB / 363.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.1159, allocations: 37.55 kB / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.116, allocations: 318.8 kB / 363.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/0.1161, allocations: 24.05 kB / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.1161, allocations: 58 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1163, allocations: 93.86 kB / 363.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1163, allocations: 0 / 363.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001742/0.1165, allocations: 101.5 kB / 363.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1165, allocations: 8 kB / 363.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1165, allocations: 0 / 363.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1165, allocations: 8.172 kB / 363.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.1166, allocations: 12 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1166, allocations: 7.875 kB / 363.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.1167, allocations: 11.92 kB / 363.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1167, allocations: 8 kB / 364 MB, free: 7.949 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 9.689e-05/0.1168, allocations: 129.9 kB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.1169, allocations: 69.53 kB / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.117, allocations: 20.3 kB / 364.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.117, allocations: 0 / 364.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.117, allocations: 4 kB / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.117, allocations: 3.938 kB / 364.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1172, allocations: 173.6 kB / 364.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1172, allocations: 0 / 364.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.1173, allocations: 15.98 kB / 364.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1173, allocations: 0 / 364.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1173, allocations: 8.016 kB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.1173, allocations: 4 kB / 364.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1173, allocations: 0 / 364.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.1175, allocations: 197 kB / 364.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.1176, allocations: 96.91 kB / 364.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1177, allocations: 11.98 kB / 364.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1177, allocations: 4 kB / 364.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1178, allocations: 4 kB / 364.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1178, allocations: 8 kB / 364.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.586e-05/0.1179, allocations: 114.2 kB / 364.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1179, allocations: 0 / 364.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1181, allocations: 15.94 kB / 364.8 MB, free: 6.98 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.0001059/0.1182, allocations: 103.3 kB / 364.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1184, allocations: 63.84 kB / 365 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1184, allocations: 0 / 365 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.1185, allocations: 7.984 kB / 365 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1189, allocations: 42.36 kB / 365 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.1193, allocations: 221.4 kB / 365.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1196, allocations: 0.7002 MB / 365.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.879e-05/0.1197, allocations: 4.438 kB / 366 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.1197, allocations: 11.44 kB / 366 MB, free: 5.773 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1197, allocations: 0 / 366 MB, free: 5.773 MB / 302.1 MB Notification: Performance of Templates: time 0.003039/0.1227, allocations: 0.8389 MB / 366.8 MB, free: 4.941 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches