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.0009768/0.0009768, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.5 MB / 230.3 MB, free: 7.598 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.0008631/0.000863, allocations: 102.6 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.165e-05, allocations: 4 kB / 337.1 MB, free: 9.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 50.43 MB / 387.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/0.425, allocations: 76.6 MB / 464.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.4252, allocations: 79.95 kB / 464.2 MB, free: 2.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005629/0.4309, allocations: 2.204 MB / 466.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4309, allocations: 0 / 466.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.4309, allocations: 4 kB / 466.5 MB, free: 15.85 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.0003339/0.4312, allocations: 375 kB / 466.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4313, allocations: 8.031 kB / 466.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.4313, allocations: 19.8 kB / 466.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.4316, allocations: 199.4 kB / 467 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.4316, allocations: 3.984 kB / 467 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4316, allocations: 8 kB / 467.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.46e-05/0.4317, allocations: 20 kB / 467.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.4319, allocations: 129.8 kB / 467.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.4319, allocations: 0 / 467.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.432, allocations: 3.953 kB / 467.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.432, allocations: 8 kB / 467.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.4323, allocations: 255.2 kB / 467.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.044e-05/0.4324, allocations: 75.72 kB / 467.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.4325, allocations: 36.08 kB / 467.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.4325, allocations: 7.938 kB / 467.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.4325, allocations: 38.5 kB / 467.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.4325, allocations: 0 / 467.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002103/0.4327, allocations: 81.53 kB / 467.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.4328, allocations: 106.8 kB / 467.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4329, allocations: 128 kB / 467.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.433, allocations: 25.7 kB / 467.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.433, allocations: 92.12 kB / 468 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.433, allocations: 15.83 kB / 468.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.433, allocations: 0 / 468.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4332, allocations: 322.9 kB / 468.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.4332, allocations: 8 kB / 468.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.4332, allocations: 58 kB / 468.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.4333, allocations: 19.94 kB / 468.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.4333, allocations: 4 kB / 468.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001216/0.4334, allocations: 85.45 kB / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.4334, allocations: 4 kB / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4335, allocations: 4 kB / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.4335, allocations: 192 / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.4336, allocations: 24.2 kB / 468.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4336, allocations: 7.891 kB / 468.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.4336, allocations: 8.062 kB / 468.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.4337, allocations: 8 kB / 468.6 MB, free: 13.43 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 7.26e-05/0.4337, allocations: 108.9 kB / 468.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001206/0.4339, allocations: 81.42 kB / 468.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.4339, allocations: 7.906 kB / 468.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.4339, allocations: 12.41 kB / 468.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4339, allocations: 8.016 kB / 468.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.434, allocations: 3.984 kB / 468.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.434, allocations: 4 kB / 468.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.4341, allocations: 146.2 kB / 469 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4341, allocations: 0 / 469 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.4342, allocations: 15.98 kB / 469 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4342, allocations: 0 / 469 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4342, allocations: 4 kB / 469 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4342, allocations: 0 / 469 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4342, allocations: 7.922 kB / 469 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.4344, allocations: 212.5 kB / 469.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.4345, allocations: 93 kB / 469.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4345, allocations: 3.953 kB / 469.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.4346, allocations: 4 kB / 469.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.4347, allocations: 7.984 kB / 469.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.4347, allocations: 8 kB / 469.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/0.4347, allocations: 103.8 kB / 469.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4348, allocations: 0 / 469.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.435, allocations: 15.94 kB / 469.4 MB, free: 12.5 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.0005613/0.4356, allocations: 0.894 MB / 470.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.4357, allocations: 43.91 kB / 470.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4357, allocations: 0 / 470.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.4357, allocations: 8.5 kB / 470.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.436, allocations: 39.11 kB / 470.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.4365, allocations: 171.5 kB / 470.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.4368, allocations: 0.708 MB / 471.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.4368, allocations: 4.672 kB / 471.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.4369, allocations: 23.42 kB / 471.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4369, allocations: 7.938 kB / 471.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.456, allocations: 1.456 MB / 472.8 MB, free: 9.062 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.4562, allocations: 157.6 kB / 472.9 MB, free: 8.871 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.906, allocations: 0 / 472.9 MB, free: 8.871 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