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.001069/0.001069, allocations: 96.94 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 208.1 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002453, allocations: 8 kB / 308.4 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 51.53 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.0023/0.1174, allocations: 1.325 MB / 361.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1187, allocations: 0.5883 MB / 361.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1189, allocations: 4 kB / 361.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1191, allocations: 19.86 kB / 361.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.98e-05/0.1192, allocations: 7.938 kB / 361.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1196, allocations: 71.8 kB / 361.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1198, allocations: 59.84 kB / 362 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.12, allocations: 11.98 kB / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1202, allocations: 39.78 kB / 362 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1203, allocations: 27.84 kB / 362.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1203, allocations: 11.94 kB / 362.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.478e-05/0.1204, allocations: 4 kB / 362.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.1205, allocations: 23.91 kB / 362.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.1206, allocations: 49.45 kB / 362.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1207, allocations: 55.89 kB / 362.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1207, allocations: 0 / 362.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1207, allocations: 0 / 362.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1207, allocations: 0 / 362.2 MB, free: 10.95 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.0005517/0.1213, allocations: 379.5 kB / 362.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.1213, allocations: 8.031 kB / 362.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.1215, allocations: 24.73 kB / 362.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1218, allocations: 211.5 kB / 362.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.1218, allocations: 384 / 362.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1219, allocations: 12.12 kB / 362.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.1222, allocations: 153.8 kB / 363 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1223, allocations: 0 / 363 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1223, allocations: 4 kB / 363 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1223, allocations: 0 / 363 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1224, allocations: 35.92 kB / 363 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.1228, allocations: 290.5 kB / 363.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.123, allocations: 83.75 kB / 363.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.516e-05/0.1231, allocations: 50.69 kB / 363.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1231, allocations: 4 kB / 363.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1232, allocations: 30.56 kB / 363.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1232, allocations: 0 / 363.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.00035/0.1235, allocations: 117.6 kB / 363.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.1236, allocations: 110.8 kB / 363.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1238, allocations: 150.4 kB / 363.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1238, allocations: 25.7 kB / 363.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.1238, allocations: 88.12 kB / 363.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.1239, allocations: 20 kB / 364 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.1239, allocations: 13.72 kB / 364 MB, free: 8.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.124, allocations: 322.8 kB / 364.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.1241, allocations: 19.98 kB / 364.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.1242, allocations: 69.94 kB / 364.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1244, allocations: 85.88 kB / 364.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1244, allocations: 0 / 364.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002083/0.1246, allocations: 109.4 kB / 364.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1246, allocations: 8 kB / 364.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1246, allocations: 4.219 kB / 364.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1246, allocations: 4 kB / 364.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.902e-05/0.1247, allocations: 19.92 kB / 364.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1248, allocations: 0 / 364.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.1248, allocations: 15.84 kB / 364.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1248, allocations: 0 / 364.6 MB, free: 8.199 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.0001278/0.125, allocations: 133.7 kB / 364.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1251, allocations: 69.53 kB / 364.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.1252, allocations: 20.34 kB / 364.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1252, allocations: 4 kB / 364.8 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1252, allocations: 0 / 364.8 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1252, allocations: 7.922 kB / 364.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1254, allocations: 169.7 kB / 365 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1254, allocations: 0 / 365 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.1255, allocations: 19.92 kB / 365 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1255, allocations: 0 / 365 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1255, allocations: 4 kB / 365 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1255, allocations: 0 / 365 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1255, allocations: 0 / 365 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1257, allocations: 205.4 kB / 365.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.1258, allocations: 93 kB / 365.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1259, allocations: 4 kB / 365.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.126, allocations: 12 kB / 365.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.126, allocations: 7.984 kB / 365.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.126, allocations: 7.938 kB / 365.4 MB, free: 7.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.79e-05/0.1261, allocations: 114.6 kB / 365.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.373e-06/0.1261, allocations: 3.938 kB / 365.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1264, allocations: 15.94 kB / 365.5 MB, free: 7.219 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.0001276/0.1265, allocations: 95.33 kB / 365.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1267, allocations: 63.89 kB / 365.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1267, allocations: 0 / 365.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.1267, allocations: 12.19 kB / 365.7 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.1272, allocations: 47.88 kB / 365.7 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.1277, allocations: 277.1 kB / 366 MB, free: 6.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.128, allocations: 0.7004 MB / 366.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.128, allocations: 19.42 kB / 366.7 MB, free: 5.938 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.128, allocations: 3.938 kB / 366.7 MB, free: 5.934 MB / 302.1 MB Notification: Performance of Templates: time 0.003145/0.1312, allocations: 1.083 MB / 367.8 MB, free: 4.859 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 -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