Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.001007/0.001007, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.437/1.437, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009072/0.0009071, allocations: 90.42 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 4 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.3737, allocations: 78.59 MB / 480.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003952/0.3741, allocations: 79.95 kB / 480.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01217/0.3863, allocations: 2.463 MB / 482.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.591e-06/0.3864, allocations: 0 / 482.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.3864, allocations: 11.94 kB / 482.7 MB, free: 15.29 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008492/0.3873, allocations: 442.8 kB / 483.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.3874, allocations: 12.03 kB / 483.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.356e-05/0.3874, allocations: 38.52 kB / 483.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.3875, allocations: 23.75 kB / 483.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.388, allocations: 240.5 kB / 483.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.3881, allocations: 8.188 kB / 483.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3881, allocations: 8 kB / 483.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.3892, allocations: 310.4 kB / 483.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3893, allocations: 4 kB / 483.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.3893, allocations: 4 kB / 483.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3893, allocations: 7.938 kB / 483.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.3898, allocations: 83.88 kB / 483.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/0.3907, allocations: 435.4 kB / 484.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.3916, allocations: 310.2 kB / 484.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.612e-05/0.3917, allocations: 8.266 kB / 484.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.3918, allocations: 46.44 kB / 484.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 3.337e-06/0.3918, allocations: 0 / 484.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001093/0.3929, allocations: 237.5 kB / 484.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000208/0.3932, allocations: 187.9 kB / 485.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.3935, allocations: 163.6 kB / 485.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3936, allocations: 33.64 kB / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3937, allocations: 108.6 kB / 485.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.3938, allocations: 11.91 kB / 485.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.3938, allocations: 4 kB / 485.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.394, allocations: 322.8 kB / 485.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3942, allocations: 35.92 kB / 485.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.3945, allocations: 135.4 kB / 485.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3947, allocations: 51.95 kB / 485.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.3947, allocations: 4 kB / 485.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005143/0.3952, allocations: 181.4 kB / 486.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3953, allocations: 4 kB / 486.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3953, allocations: 4 kB / 486.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.3953, allocations: 8 kB / 486.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.3956, allocations: 35.92 kB / 486.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.3956, allocations: 7.984 kB / 486.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.3958, allocations: 15.94 kB / 486.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.3959, allocations: 12 kB / 486.2 MB, free: 11.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.000226/0.3961, allocations: 146 kB / 486.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005521/0.3967, allocations: 149.4 kB / 486.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.65e-05/0.3968, allocations: 29.33 kB / 486.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3968, allocations: 4 kB / 486.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.3969, allocations: 4.031 kB / 486.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3969, allocations: 4 kB / 486.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.3974, allocations: 217.5 kB / 486.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3974, allocations: 7.922 kB / 486.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.3977, allocations: 43.92 kB / 486.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.3977, allocations: 0 / 486.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.3978, allocations: 4 kB / 486.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.3978, allocations: 7.984 kB / 486.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3978, allocations: 0 / 486.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.3986, allocations: 422.5 kB / 487.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.3989, allocations: 112.8 kB / 487.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.3989, allocations: 11.95 kB / 487.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.3992, allocations: 15.98 kB / 487.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.3993, allocations: 4 kB / 487.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3993, allocations: 8 kB / 487.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.3995, allocations: 129.2 kB / 487.5 MB, free: 10 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3996, allocations: 0 / 487.5 MB, free: 10 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006411/0.4002, allocations: 28 kB / 487.5 MB, free: 9.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001756/0.402, allocations: 1.293 MB / 488.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.4026, allocations: 123.8 kB / 488.9 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4026, allocations: 0 / 488.9 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4027, allocations: 16.98 kB / 488.9 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009864/0.4037, allocations: 120 kB / 489.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.4081, allocations: 3.347 MB / 492.4 MB, free: 4.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.4086, allocations: 0.728 MB / 493.1 MB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.4088, allocations: 13.55 kB / 493.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.409, allocations: 39.42 kB / 493.2 MB, free: 4.098 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.409, allocations: 0 / 493.2 MB, free: 4.098 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.4283, allocations: 3.08 MB / 496.3 MB, free: 1.215 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.4286, allocations: 196.2 kB / 496.5 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.097, allocations: 0 / 496.5 MB, free: 0.9805 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat does not exist to compare? outputFormat=mat