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.001563/0.001562, allocations: 180.3 kB / 15.8 MB, free: 6.316 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.018/2.018, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001145/0.001145, allocations: 86.86 kB / 270.3 MB, free: 13.36 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.09924/0.09924, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005425/0.0005426, allocations: 17.78 kB / 392.1 MB, free: 54.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.09943, allocations: 50.37 MB / 442.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.2486, allocations: 78.57 MB / 0.5088 GB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.249, allocations: 75.95 kB / 0.5089 GB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009371/0.2584, allocations: 2.107 MB / 0.511 GB, free: 9.938 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2584, allocations: 0 / 0.511 GB, free: 9.938 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.2585, allocations: 4 kB / 0.511 GB, free: 9.934 MB / 362.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.0005575/0.259, allocations: 383 kB / 0.5113 GB, free: 9.512 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.2591, allocations: 8.031 kB / 0.5113 GB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.2591, allocations: 42.56 kB / 0.5114 GB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.2592, allocations: 15.81 kB / 0.5114 GB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.2595, allocations: 207.1 kB / 0.5116 GB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.2595, allocations: 7.953 kB / 0.5116 GB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2596, allocations: 8 kB / 0.5116 GB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.26, allocations: 153.8 kB / 0.5118 GB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2601, allocations: 0 / 0.5118 GB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2601, allocations: 0 / 0.5118 GB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2601, allocations: 4 kB / 0.5118 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.2603, allocations: 35.97 kB / 0.5118 GB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.2608, allocations: 292.1 kB / 0.5121 GB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.261, allocations: 79.72 kB / 0.5121 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.2611, allocations: 12 kB / 0.5122 GB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2611, allocations: 30.56 kB / 0.5122 GB, free: 8.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.2611, allocations: 0 / 0.5122 GB, free: 8.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004744/0.2616, allocations: 109.6 kB / 0.5123 GB, free: 8.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/0.2617, allocations: 123 kB / 0.5124 GB, free: 8.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.2619, allocations: 129.5 kB / 0.5125 GB, free: 8.082 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.2619, allocations: 29.64 kB / 0.5126 GB, free: 8.047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.262, allocations: 92.14 kB / 0.5126 GB, free: 7.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.262, allocations: 7.891 kB / 0.5127 GB, free: 7.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-06/0.2621, allocations: 0 / 0.5127 GB, free: 7.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2622, allocations: 318.8 kB / 0.513 GB, free: 7.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.2623, allocations: 23.98 kB / 0.513 GB, free: 7.602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.2625, allocations: 62 kB / 0.513 GB, free: 7.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.2626, allocations: 35.88 kB / 0.5131 GB, free: 7.484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2626, allocations: 0 / 0.5131 GB, free: 7.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003071/0.2629, allocations: 109.4 kB / 0.5132 GB, free: 7.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.263, allocations: 8.219 kB / 0.5132 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.263, allocations: 4 kB / 0.5132 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.263, allocations: 4 kB / 0.5132 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.2632, allocations: 19.92 kB / 0.5132 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2632, allocations: 0 / 0.5132 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/0.2633, allocations: 11.91 kB / 0.5132 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2633, allocations: 0 / 0.5132 GB, free: 7.324 MB / 362.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.0001452/0.2635, allocations: 137.5 kB / 0.5134 GB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.2636, allocations: 73.53 kB / 0.5134 GB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.2637, allocations: 12.31 kB / 0.5134 GB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2637, allocations: 0 / 0.5134 GB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.2637, allocations: 4 kB / 0.5134 GB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2638, allocations: 0 / 0.5134 GB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.2641, allocations: 177.6 kB / 0.5136 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2641, allocations: 3.953 kB / 0.5136 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2642, allocations: 15.98 kB / 0.5136 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2643, allocations: 320 / 0.5136 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2643, allocations: 4 kB / 0.5136 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-06/0.2643, allocations: 4.031 kB / 0.5136 GB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2643, allocations: 7.938 kB / 0.5136 GB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.2647, allocations: 228.7 kB / 0.5139 GB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.2648, allocations: 93 kB / 0.514 GB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.2648, allocations: 7.938 kB / 0.514 GB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.265, allocations: 8 kB / 0.514 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.265, allocations: 0 / 0.514 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.265, allocations: 7.984 kB / 0.514 GB, free: 6.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.2651, allocations: 108.5 kB / 0.5141 GB, free: 6.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2652, allocations: 0 / 0.5141 GB, free: 6.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.2655, allocations: 12 kB / 0.5141 GB, free: 6.32 MB / 362.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.0008799/0.2664, allocations: 0.933 MB / 0.515 GB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.2667, allocations: 59.84 kB / 0.5151 GB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2667, allocations: 0 / 0.5151 GB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.138e-05/0.2668, allocations: 11.98 kB / 0.5151 GB, free: 5.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.2672, allocations: 45.19 kB / 0.5151 GB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2692, allocations: 1.528 MB / 0.5166 GB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2696, allocations: 0.7121 MB / 0.5173 GB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.2697, allocations: 8.672 kB / 0.5173 GB, free: 2.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.2698, allocations: 23.42 kB / 0.5173 GB, free: 2.852 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.2698, allocations: 0 / 0.5173 GB, free: 2.852 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.2983, allocations: 1.798 MB / 0.5191 GB, free: 1.062 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/0.2987, allocations: 211.1 kB / 0.5193 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.616, allocations: 4 kB / 0.5193 GB, free: 0.8125 MB / 362.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