Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 177.4 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 222 MB, free: 13.85 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008344/0.0008346, allocations: 90.31 kB / 270.3 MB, free: 13.38 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07181/0.07181, allocations: 12.6 MB / 331.2 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004817, allocations: 13.75 kB / 392.1 MB, free: 54.82 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1001, allocations: 50.38 MB / 442.5 MB, free: 10.86 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.001775/0.102, allocations: 1.299 MB / 443.8 MB, free: 9.543 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.1029, allocations: 0.5545 MB / 444.4 MB, free: 8.98 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1031, allocations: 0 / 444.4 MB, free: 8.98 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1033, allocations: 7.938 kB / 444.4 MB, free: 8.973 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.1034, allocations: 15.91 kB / 444.4 MB, free: 8.957 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1037, allocations: 53.64 kB / 444.4 MB, free: 8.906 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1039, allocations: 59.78 kB / 444.5 MB, free: 8.848 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.104, allocations: 15.97 kB / 444.5 MB, free: 8.832 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1041, allocations: 31.91 kB / 444.5 MB, free: 8.801 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1042, allocations: 23.86 kB / 444.6 MB, free: 8.777 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1043, allocations: 0 / 444.6 MB, free: 8.777 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.1043, allocations: 0 / 444.6 MB, free: 8.777 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.1043, allocations: 19.92 kB / 444.6 MB, free: 8.758 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.1044, allocations: 37.64 kB / 444.6 MB, free: 8.715 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 8.82e-05/0.1045, allocations: 48.47 kB / 444.7 MB, free: 8.668 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1045, allocations: 0 / 444.7 MB, free: 8.668 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1045, allocations: 0 / 444.7 MB, free: 8.668 MB / 282.8 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1045, allocations: 0 / 444.7 MB, free: 8.668 MB / 282.8 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.000519/0.105, allocations: 379.2 kB / 445 MB, free: 8.25 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1051, allocations: 12.03 kB / 445 MB, free: 8.238 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.1051, allocations: 30.56 kB / 445.1 MB, free: 8.199 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.1052, allocations: 11.91 kB / 445.1 MB, free: 8.188 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1054, allocations: 203.1 kB / 445.3 MB, free: 7.953 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1054, allocations: 8 kB / 445.3 MB, free: 7.945 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1054, allocations: 4 kB / 445.3 MB, free: 7.941 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.1058, allocations: 157.7 kB / 445.4 MB, free: 7.766 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1059, allocations: 3.938 kB / 445.5 MB, free: 7.762 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1059, allocations: 0 / 445.5 MB, free: 7.762 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1059, allocations: 4 kB / 445.5 MB, free: 7.758 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.106, allocations: 39.97 kB / 445.5 MB, free: 7.719 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1065, allocations: 278.5 kB / 445.8 MB, free: 7.391 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1066, allocations: 83.72 kB / 445.8 MB, free: 7.281 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.956e-05/0.1067, allocations: 42.75 kB / 445.9 MB, free: 7.23 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.1068, allocations: 7.938 kB / 445.9 MB, free: 7.223 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1068, allocations: 34.56 kB / 445.9 MB, free: 7.18 MB / 282.8 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1068, allocations: 4 kB / 445.9 MB, free: 7.176 MB / 282.8 MB Notification: Performance of matching and sorting (n=7): time 0.0003857/0.1072, allocations: 121.6 kB / 446.1 MB, free: 7.051 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.1073, allocations: 102.8 kB / 446.2 MB, free: 6.926 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1075, allocations: 150.3 kB / 446.3 MB, free: 6.77 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1075, allocations: 25.95 kB / 446.3 MB, free: 6.738 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.1076, allocations: 100.1 kB / 446.4 MB, free: 6.637 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1076, allocations: 3.906 kB / 446.4 MB, free: 6.633 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.1076, allocations: 0 / 446.4 MB, free: 6.633 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1077, allocations: 326.8 kB / 446.7 MB, free: 6.305 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.1078, allocations: 19.98 kB / 446.8 MB, free: 6.285 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/0.1079, allocations: 69.94 kB / 446.8 MB, free: 6.195 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.31e-05/0.108, allocations: 20 kB / 446.9 MB, free: 6.176 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.108, allocations: 3.984 kB / 446.9 MB, free: 6.172 MB / 282.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001961/0.1082, allocations: 109.5 kB / 447 MB, free: 6.059 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1082, allocations: 8 kB / 447 MB, free: 6.051 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1082, allocations: 0 / 447 MB, free: 6.051 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1083, allocations: 4 kB / 447 MB, free: 6.047 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1084, allocations: 19.92 kB / 447 MB, free: 6.027 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1084, allocations: 4.219 kB / 447 MB, free: 6.023 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.1085, allocations: 11.94 kB / 447 MB, free: 6.012 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1085, allocations: 4 kB / 447 MB, free: 6.008 MB / 282.8 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.0001856/0.1087, allocations: 133.6 kB / 447.1 MB, free: 5.867 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.1088, allocations: 69.47 kB / 447.2 MB, free: 5.793 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.1089, allocations: 12.31 kB / 447.2 MB, free: 5.777 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1089, allocations: 3.984 kB / 447.2 MB, free: 5.773 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1089, allocations: 4 kB / 447.2 MB, free: 5.77 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1089, allocations: 8.016 kB / 447.2 MB, free: 5.762 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.1091, allocations: 185.5 kB / 447.4 MB, free: 5.531 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1092, allocations: 0 / 447.4 MB, free: 5.531 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.1092, allocations: 12 kB / 447.4 MB, free: 5.52 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1092, allocations: 0 / 447.4 MB, free: 5.52 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1093, allocations: 7.938 kB / 447.4 MB, free: 5.512 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1093, allocations: 0 / 447.4 MB, free: 5.512 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1093, allocations: 3.984 kB / 447.4 MB, free: 5.508 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1095, allocations: 205.3 kB / 447.6 MB, free: 5.285 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1096, allocations: 93 kB / 447.7 MB, free: 5.176 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1096, allocations: 7.938 kB / 447.7 MB, free: 5.168 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.1097, allocations: 7.984 kB / 447.8 MB, free: 5.16 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.1098, allocations: 0 / 447.8 MB, free: 5.16 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.1098, allocations: 4 kB / 447.8 MB, free: 5.156 MB / 282.8 MB Notification: Performance of sorting global known variables: time 7.622e-05/0.1099, allocations: 116.6 kB / 447.9 MB, free: 5.043 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1099, allocations: 0 / 447.9 MB, free: 5.043 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002639/0.1102, allocations: 8 kB / 447.9 MB, free: 5.035 MB / 282.8 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.0005518/0.1107, allocations: 0.7648 MB / 448.6 MB, free: 4.238 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1109, allocations: 59.97 kB / 448.7 MB, free: 4.18 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1109, allocations: 0.5 kB / 448.7 MB, free: 4.18 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.111, allocations: 19.98 kB / 448.7 MB, free: 4.16 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.1114, allocations: 40.58 kB / 448.8 MB, free: 4.121 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1124, allocations: 0.6495 MB / 449.4 MB, free: 3.402 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.1126, allocations: 0.7004 MB / 450.1 MB, free: 2.676 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 4.213e-05/0.1127, allocations: 4.672 kB / 450.1 MB, free: 2.672 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.1127, allocations: 27.42 kB / 450.1 MB, free: 2.645 MB / 282.8 MB Notification: Performance of SimCode: time 2.3e-07/0.1127, allocations: 4 kB / 450.1 MB, free: 2.641 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.1268, allocations: 1.801 MB / 451.9 MB, free: 0.8516 MB / 282.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.127, allocations: 216 kB / 452.2 MB, free: 0.6094 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.709, allocations: 0 / 452.2 MB, free: 0.6094 MB / 282.8 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat does not exist to compare? outputFormat=mat