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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009545/0.0009541, allocations: 89.08 kB / 16.32 MB, free: 6.449 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.0009632/0.0009633, allocations: 181 kB / 17.21 MB, free: 6.32 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.552/1.552, allocations: 223.3 MB / 241.2 MB, free: 5.25 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 9.656 kB / 300.9 MB, free: 5.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 50.42 MB / 351.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002005/0.1178, allocations: 1.306 MB / 352.7 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.1187, allocations: 0.5146 MB / 353.2 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1188, allocations: 7.938 kB / 353.2 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.1191, allocations: 3.938 kB / 353.2 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.859e-05/0.1192, allocations: 23.91 kB / 353.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1194, allocations: 47.89 kB / 353.2 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1196, allocations: 59.78 kB / 353.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.1197, allocations: 15.98 kB / 353.3 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.668e-05/0.1198, allocations: 15.92 kB / 353.3 MB, free: 9.281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1199, allocations: 31.84 kB / 353.4 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1199, allocations: 0 / 353.4 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.1199, allocations: 4 kB / 353.4 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.12, allocations: 27.91 kB / 353.4 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.1201, allocations: 37.64 kB / 353.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.449e-05/0.1201, allocations: 39.92 kB / 353.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1202, allocations: 0 / 353.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1202, allocations: 0 / 353.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1202, allocations: 0 / 353.5 MB, free: 9.137 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.0005233/0.1207, allocations: 375 kB / 353.8 MB, free: 8.723 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1208, allocations: 8.031 kB / 353.8 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1208, allocations: 34.55 kB / 353.9 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1208, allocations: 19.86 kB / 353.9 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1211, allocations: 196.9 kB / 354.1 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1211, allocations: 4 kB / 354.1 MB, free: 8.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1211, allocations: 7.938 kB / 354.1 MB, free: 8.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.1215, allocations: 149.8 kB / 354.3 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1215, allocations: 4 kB / 354.3 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1215, allocations: 3.938 kB / 354.3 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1215, allocations: 3.953 kB / 354.3 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1216, allocations: 35.91 kB / 354.3 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.122, allocations: 282.6 kB / 354.6 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1222, allocations: 79.72 kB / 354.7 MB, free: 7.758 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.907e-05/0.1223, allocations: 54.69 kB / 354.7 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1223, allocations: 3.984 kB / 354.7 MB, free: 7.691 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.1224, allocations: 38.56 kB / 354.7 MB, free: 7.645 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 3.126e-06/0.1224, allocations: 3.984 kB / 354.8 MB, free: 7.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003113/0.1227, allocations: 117.9 kB / 354.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.1228, allocations: 114.8 kB / 355 MB, free: 7.383 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1229, allocations: 144.4 kB / 355.1 MB, free: 7.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1229, allocations: 29.7 kB / 355.1 MB, free: 7.199 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.123, allocations: 92.08 kB / 355.2 MB, free: 7.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.123, allocations: 7.906 kB / 355.2 MB, free: 7.098 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1231, allocations: 0 / 355.2 MB, free: 7.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1232, allocations: 322.9 kB / 355.6 MB, free: 6.773 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.1233, allocations: 19.98 kB / 355.6 MB, free: 6.754 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/0.1233, allocations: 62 kB / 355.6 MB, free: 6.672 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.1234, allocations: 31.92 kB / 355.7 MB, free: 6.641 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1234, allocations: 0 / 355.7 MB, free: 6.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001852/0.1236, allocations: 113.5 kB / 355.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1236, allocations: 7.984 kB / 355.8 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1237, allocations: 0 / 355.8 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1237, allocations: 7.953 kB / 355.8 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.1238, allocations: 12 kB / 355.8 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1238, allocations: 7.938 kB / 355.8 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.1239, allocations: 7.984 kB / 355.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1239, allocations: 4 kB / 355.8 MB, free: 6.477 MB / 286.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 (fractionalDelay.first,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.124, allocations: 126 kB / 356 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1241, allocations: 69.53 kB / 356 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.1242, allocations: 12.3 kB / 356 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.1242, allocations: 7.953 kB / 356 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1242, allocations: 3.938 kB / 356 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1242, allocations: 0 / 356 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1244, allocations: 181.5 kB / 356.2 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1244, allocations: 4.188 kB / 356.2 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.1245, allocations: 11.98 kB / 356.2 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1245, allocations: 11.97 kB / 356.2 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1245, allocations: 0 / 356.2 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1245, allocations: 0 / 356.2 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1245, allocations: 3.953 kB / 356.3 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1248, allocations: 205.1 kB / 356.5 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.1249, allocations: 100.9 kB / 356.6 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1249, allocations: 3.984 kB / 356.6 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.125, allocations: 4 kB / 356.6 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.125, allocations: 0 / 356.6 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.125, allocations: 7.953 kB / 356.6 MB, free: 5.629 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.203e-05/0.1251, allocations: 114.6 kB / 356.7 MB, free: 5.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1251, allocations: 0 / 356.7 MB, free: 5.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1254, allocations: 12 kB / 356.7 MB, free: 5.508 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006263/0.126, allocations: 0.761 MB / 357.5 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.1262, allocations: 64.03 kB / 357.5 MB, free: 4.652 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1262, allocations: 0 / 357.5 MB, free: 4.652 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.1262, allocations: 11.94 kB / 357.5 MB, free: 4.641 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1266, allocations: 40.25 kB / 357.6 MB, free: 4.602 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1278, allocations: 0.6448 MB / 358.2 MB, free: 3.879 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1281, allocations: 0.7043 MB / 358.9 MB, free: 3.148 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.8e-05/0.1281, allocations: 8.656 kB / 358.9 MB, free: 3.141 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.1282, allocations: 23.44 kB / 358.9 MB, free: 3.117 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1282, allocations: 0 / 358.9 MB, free: 3.117 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.1407, allocations: 1.792 MB / 360.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.141, allocations: 208.3 kB / 360.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.098, allocations: 4 kB / 360.9 MB, free: 1.262 MB / 286.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat does not exist to compare? outputFormat=mat