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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.3 MB / 235.5 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008903/0.0008903, allocations: 93.98 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.262e-05, allocations: 0 / 343.9 MB, free: 4.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09458, allocations: 50.42 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2903/0.3849, allocations: 77.28 MB / 471.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.3852, allocations: 79.95 kB / 471.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00614/0.3914, allocations: 2.212 MB / 473.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3914, allocations: 0 / 473.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.3914, allocations: 0 / 473.9 MB, free: 7.934 MB / 346.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.0003822/0.3918, allocations: 367 kB / 474.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3919, allocations: 11.97 kB / 474.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.3919, allocations: 42.5 kB / 474.3 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.3919, allocations: 12.66 kB / 474.3 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.3922, allocations: 202.5 kB / 474.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3922, allocations: 12 kB / 474.5 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3922, allocations: 4 kB / 474.5 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.3925, allocations: 137.9 kB / 474.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3926, allocations: 0 / 474.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3926, allocations: 0 / 474.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3926, allocations: 11.89 kB / 474.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.542e-05/0.3927, allocations: 23.98 kB / 474.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.393, allocations: 282.7 kB / 475 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3932, allocations: 79.67 kB / 475.1 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.3932, allocations: 46.69 kB / 475.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3933, allocations: 3.984 kB / 475.1 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3933, allocations: 42.52 kB / 475.2 MB, free: 6.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3933, allocations: 0 / 475.2 MB, free: 6.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002013/0.3935, allocations: 81.52 kB / 475.2 MB, free: 6.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.3936, allocations: 110.8 kB / 475.4 MB, free: 6.246 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3937, allocations: 129.5 kB / 475.5 MB, free: 6.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3937, allocations: 25.7 kB / 475.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.3938, allocations: 92.06 kB / 475.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3938, allocations: 15.84 kB / 475.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.3938, allocations: 0 / 475.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3939, allocations: 322.9 kB / 475.9 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.394, allocations: 12 kB / 475.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.394, allocations: 50.02 kB / 476 MB, free: 5.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.3941, allocations: 27.98 kB / 476 MB, free: 5.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3941, allocations: 192 / 476 MB, free: 5.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001419/0.3942, allocations: 97.39 kB / 476.1 MB, free: 5.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3943, allocations: 9.5 kB / 476.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3943, allocations: 4.766 kB / 476.1 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3943, allocations: 7.953 kB / 476.1 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.3944, allocations: 19.98 kB / 476.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3944, allocations: 4 kB / 476.2 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.3945, allocations: 4 kB / 476.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3945, allocations: 7.938 kB / 476.2 MB, free: 5.383 MB / 346.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 () * 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 6.201e-05/0.3946, allocations: 113 kB / 476.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3947, allocations: 77.42 kB / 476.3 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.3947, allocations: 16.12 kB / 476.4 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3947, allocations: 7.938 kB / 476.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3947, allocations: 0 / 476.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3948, allocations: 0 / 476.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3949, allocations: 173.6 kB / 476.5 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3949, allocations: 4 kB / 476.5 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.395, allocations: 15.98 kB / 476.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.395, allocations: 4 kB / 476.6 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3951, allocations: 0 / 476.6 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3951, allocations: 3.938 kB / 476.6 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3951, allocations: 7.953 kB / 476.6 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.3953, allocations: 208.7 kB / 476.8 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.3953, allocations: 93 kB / 476.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3954, allocations: 11.95 kB / 476.9 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.3955, allocations: 8 kB / 476.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.3955, allocations: 3.984 kB / 476.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3955, allocations: 4 kB / 476.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.313e-05/0.3956, allocations: 111.4 kB / 477 MB, free: 4.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3956, allocations: 0 / 477 MB, free: 4.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.3958, allocations: 15.94 kB / 477 MB, free: 4.414 MB / 346.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 () * 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.000565/0.3964, allocations: 0.9096 MB / 477.9 MB, free: 3.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.3965, allocations: 43.92 kB / 478 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3965, allocations: 0.5 kB / 478 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.3966, allocations: 8 kB / 478 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3968, allocations: 39.95 kB / 478 MB, free: 3.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.3973, allocations: 176.5 kB / 478.2 MB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3976, allocations: 0.7082 MB / 478.9 MB, free: 2.426 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.921e-05/0.3977, allocations: 12.77 kB / 478.9 MB, free: 2.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.3977, allocations: 27.36 kB / 478.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3977, allocations: 0 / 478.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.4103, allocations: 1.778 MB / 480.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.4105, allocations: 178.8 kB / 480.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.05, allocations: 4 kB / 480.9 MB, free: 0.5156 MB / 346.7 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