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.001509/0.001509, allocations: 104 kB / 16.92 MB, free: 5.793 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.001692/0.001693, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.47/1.47, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 48.58 kB / 300.6 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 49.44 MB / 350.1 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003288/0.1196, allocations: 1.597 MB / 351.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009663/0.1206, allocations: 0.5454 MB / 352.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1207, allocations: 7.938 kB / 352.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.121, allocations: 15.88 kB / 352.2 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.1211, allocations: 7.922 kB / 352.2 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.1214, allocations: 69.42 kB / 352.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1215, allocations: 63.78 kB / 352.4 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1216, allocations: 16 kB / 352.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.1217, allocations: 35.84 kB / 352.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1219, allocations: 35.78 kB / 352.4 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.1219, allocations: 4 kB / 352.4 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.1219, allocations: 4 kB / 352.5 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.122, allocations: 15.98 kB / 352.5 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.122, allocations: 31.75 kB / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1222, allocations: 71.7 kB / 352.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1222, allocations: 0 / 352.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1222, allocations: 0 / 352.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1222, allocations: 0 / 352.6 MB, free: 1.891 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.0005717/0.1228, allocations: 391.3 kB / 353 MB, free: 1.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1229, allocations: 19.83 kB / 353 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.1229, allocations: 8.844 kB / 353 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1231, allocations: 203.4 kB / 353.2 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1231, allocations: 4.375 kB / 353.2 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.1232, allocations: 8.125 kB / 353.2 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.1235, allocations: 145.9 kB / 353.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1236, allocations: 3.938 kB / 353.3 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1236, allocations: 7.938 kB / 353.3 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1236, allocations: 0 / 353.3 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1237, allocations: 27.97 kB / 353.4 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.1241, allocations: 290.5 kB / 353.7 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1243, allocations: 79.72 kB / 353.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.1244, allocations: 46.75 kB / 353.8 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1244, allocations: 4 kB / 353.8 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1244, allocations: 34.55 kB / 353.8 MB, free: 448 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.1244, allocations: 0 / 353.8 MB, free: 448 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003154/0.1248, allocations: 121.3 kB / 353.9 MB, free: 320 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.1248, allocations: 115.1 kB / 354 MB, free: 180 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.125, allocations: 145.8 kB / 354.2 MB, free: 24 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.125, allocations: 29.7 kB / 354.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.1251, allocations: 84.14 kB / 354.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1251, allocations: 11.91 kB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.1251, allocations: 25.7 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1253, allocations: 318.8 kB / 354.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.1253, allocations: 23.98 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.1254, allocations: 61.92 kB / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1255, allocations: 85.92 kB / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1255, allocations: 0 / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000187/0.1257, allocations: 105.6 kB / 354.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1258, allocations: 7.984 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1258, allocations: 0 / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.1258, allocations: 4 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.1259, allocations: 15.94 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1259, allocations: 4 kB / 355 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.126, allocations: 11.92 kB / 355 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.126, allocations: 4 kB / 355 MB, free: 15.17 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.0002059/0.1262, allocations: 125.7 kB / 355.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.1263, allocations: 73.69 kB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.1264, allocations: 16.3 kB / 355.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1264, allocations: 0 / 355.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1264, allocations: 4 kB / 355.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1264, allocations: 3.938 kB / 355.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1267, allocations: 177.5 kB / 355.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1267, allocations: 192 / 355.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.969e-05/0.1267, allocations: 19.92 kB / 355.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1268, allocations: 3.938 kB / 355.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1268, allocations: 4 kB / 355.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1268, allocations: 8.031 kB / 355.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1268, allocations: 0 / 355.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1271, allocations: 189.4 kB / 355.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.1271, allocations: 93 kB / 355.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.1272, allocations: 15.98 kB / 355.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.1273, allocations: 4 kB / 355.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1273, allocations: 7.938 kB / 355.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.1273, allocations: 7.875 kB / 355.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.389e-05/0.1274, allocations: 112.6 kB / 355.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1274, allocations: 0 / 355.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.1277, allocations: 12 kB / 355.8 MB, free: 14.2 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.0001639/0.1279, allocations: 103.2 kB / 355.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1281, allocations: 59.91 kB / 356 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1281, allocations: 0 / 356 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.316e-05/0.1282, allocations: 11.92 kB / 356 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.1286, allocations: 38.77 kB / 356 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.1293, allocations: 229.2 kB / 356.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1297, allocations: 0.7007 MB / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.123e-05/0.1297, allocations: 4.672 kB / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.1298, allocations: 15.44 kB / 357 MB, free: 12.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1298, allocations: 0 / 357 MB, free: 12.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003817/0.1336, allocations: 0.8244 MB / 357.8 MB, free: 12.16 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/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