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.00162/0.001625, allocations: 186 kB / 15.81 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.297/2.297, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001667/0.001667, allocations: 90.8 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1293/0.1293, allocations: 12.59 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006031/0.0006037, allocations: 14.38 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1009, allocations: 50.38 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.001979/0.1029, allocations: 1.287 MB / 443.8 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1041, allocations: 0.5476 MB / 444.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1043, allocations: 7.938 kB / 444.3 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1046, allocations: 11.92 kB / 444.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.1047, allocations: 11.92 kB / 444.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.105, allocations: 59.8 kB / 444.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.1051, allocations: 35.91 kB / 444.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.1053, allocations: 15.97 kB / 444.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1054, allocations: 23.94 kB / 444.5 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1055, allocations: 31.83 kB / 444.5 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1055, allocations: 0 / 444.5 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.1056, allocations: 4 kB / 444.5 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1056, allocations: 15.92 kB / 444.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.1057, allocations: 33.7 kB / 444.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.466e-05/0.1058, allocations: 52.36 kB / 444.6 MB, free: 8.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1058, allocations: 0 / 444.6 MB, free: 8.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1058, allocations: 0 / 444.6 MB, free: 8.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1058, allocations: 0 / 444.6 MB, free: 8.648 MB / 282.7 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.0005037/0.1063, allocations: 379.3 kB / 445 MB, free: 8.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1064, allocations: 12.03 kB / 445 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.1064, allocations: 30.56 kB / 445 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.1065, allocations: 11.91 kB / 445 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1067, allocations: 195.2 kB / 445.2 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1067, allocations: 8 kB / 445.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.1068, allocations: 4 kB / 445.2 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.1072, allocations: 165.6 kB / 445.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1072, allocations: 0 / 445.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1072, allocations: 0 / 445.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1072, allocations: 4 kB / 445.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.1074, allocations: 39.92 kB / 445.4 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.1078, allocations: 274.6 kB / 445.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.108, allocations: 91.7 kB / 445.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.108, allocations: 4.125 kB / 445.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.108, allocations: 38.56 kB / 445.8 MB, free: 7.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.108, allocations: 0 / 445.8 MB, free: 7.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004585/0.1085, allocations: 113.6 kB / 446 MB, free: 7.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.1086, allocations: 110.8 kB / 446.1 MB, free: 6.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1087, allocations: 146.3 kB / 446.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1088, allocations: 29.64 kB / 446.2 MB, free: 6.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.1088, allocations: 88.14 kB / 446.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1089, allocations: 15.88 kB / 446.3 MB, free: 6.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.1089, allocations: 4.156 kB / 446.3 MB, free: 6.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.686e-05/0.1089, allocations: 326.7 kB / 446.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.109, allocations: 15.98 kB / 446.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1092, allocations: 62 kB / 446.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1093, allocations: 31.98 kB / 446.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1093, allocations: 0 / 446.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002851/0.1096, allocations: 117.4 kB / 446.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1096, allocations: 4 kB / 446.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1096, allocations: 4.25 kB / 446.9 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1097, allocations: 0 / 446.9 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1098, allocations: 19.98 kB / 446.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1099, allocations: 7.938 kB / 446.9 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.1099, allocations: 7.938 kB / 446.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.11, allocations: 8.219 kB / 446.9 MB, free: 6.035 MB / 282.7 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.0001527/0.1101, allocations: 137.5 kB / 447.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.1103, allocations: 69.53 kB / 447.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.1104, allocations: 16.31 kB / 447.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1104, allocations: 0 / 447.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1104, allocations: 0 / 447.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1104, allocations: 0 / 447.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1106, allocations: 181.5 kB / 447.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1106, allocations: 4 kB / 447.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1107, allocations: 16.02 kB / 447.3 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1108, allocations: 4 kB / 447.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1108, allocations: 0 / 447.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1108, allocations: 0 / 447.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1108, allocations: 4 kB / 447.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.1111, allocations: 232.5 kB / 447.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.1112, allocations: 93 kB / 447.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.1112, allocations: 4 kB / 447.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1114, allocations: 4 kB / 447.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.1114, allocations: 0 / 447.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1114, allocations: 7.984 kB / 447.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.733e-05/0.1115, allocations: 112.8 kB / 447.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1115, allocations: 0 / 447.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.1119, allocations: 15.94 kB / 447.8 MB, free: 5.031 MB / 282.7 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.0007613/0.1127, allocations: 0.9174 MB / 448.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.113, allocations: 59.89 kB / 448.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.113, allocations: 0.5 kB / 448.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.1131, allocations: 19.98 kB / 448.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.1135, allocations: 48.45 kB / 448.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.115, allocations: 1.532 MB / 450.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.1153, allocations: 0.7082 MB / 451.1 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.1153, allocations: 4.922 kB / 451.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.1154, allocations: 27.42 kB / 451.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1154, allocations: 0 / 451.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.1377, allocations: 1.808 MB / 452.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/0.1381, allocations: 213.8 kB / 453.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/2.629, allocations: 0 / 453.1 MB, free: 15.53 MB / 298.7 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