Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.001481/0.001481, allocations: 180.7 kB / 16.38 MB, free: 5.762 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.36/1.36, 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.0008516/0.0008516, allocations: 95.42 kB / 291.5 MB, free: 10.73 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002822, allocations: 8 kB / 351.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2525, allocations: 50.4 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3564, allocations: 78.59 MB / 480.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.3567, allocations: 79.95 kB / 480.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006715/0.3634, allocations: 2.394 MB / 482.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3635, allocations: 0 / 482.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.3635, allocations: 8 kB / 482.6 MB, free: 15.41 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.0005665/0.3641, allocations: 446.7 kB / 483.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.3642, allocations: 8.031 kB / 483.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.245e-05/0.3643, allocations: 46.5 kB / 483.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.3643, allocations: 19.81 kB / 483.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3646, allocations: 236.6 kB / 483.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3647, allocations: 8.125 kB / 483.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.3647, allocations: 8 kB / 483.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.3653, allocations: 300.1 kB / 483.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3653, allocations: 0 / 483.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.3654, allocations: 15.94 kB / 483.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3654, allocations: 0 / 483.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.3656, allocations: 87.89 kB / 483.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.3662, allocations: 439.4 kB / 484.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.3666, allocations: 302.4 kB / 484.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.3667, allocations: 16 kB / 484.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3667, allocations: 46.5 kB / 484.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.3667, allocations: 0 / 484.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.000538/0.3673, allocations: 233.5 kB / 484.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3674, allocations: 191.9 kB / 485 MB, free: 12.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3675, allocations: 162.5 kB / 485.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3676, allocations: 33.7 kB / 485.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.3676, allocations: 100 kB / 485.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.3677, allocations: 15.89 kB / 485.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.3677, allocations: 4 kB / 485.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3678, allocations: 322.8 kB / 485.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.3678, allocations: 25.33 kB / 485.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.368, allocations: 134.5 kB / 485.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/0.3681, allocations: 43.97 kB / 485.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3681, allocations: 4.312 kB / 485.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002492/0.3683, allocations: 169.5 kB / 486 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3684, allocations: 11.95 kB / 486 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3684, allocations: 4 kB / 486 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3684, allocations: 7.938 kB / 486 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3685, allocations: 35.92 kB / 486.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3686, allocations: 7.984 kB / 486.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.511e-05/0.3687, allocations: 15.94 kB / 486.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3687, allocations: 8 kB / 486.1 MB, free: 11.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001064/0.3688, allocations: 141.9 kB / 486.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.3691, allocations: 145.3 kB / 486.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.3691, allocations: 21.36 kB / 486.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3691, allocations: 7.984 kB / 486.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3691, allocations: 4 kB / 486.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3692, allocations: 4.031 kB / 486.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.3694, allocations: 221.4 kB / 486.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3694, allocations: 0 / 486.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3696, allocations: 39.97 kB / 486.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3696, allocations: 0 / 486.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3696, allocations: 4 kB / 486.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.3696, allocations: 3.953 kB / 486.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3696, allocations: 7.938 kB / 486.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.37, allocations: 418.7 kB / 487.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.853e-05/0.3702, allocations: 108.9 kB / 487.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3702, allocations: 8 kB / 487.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3703, allocations: 15.98 kB / 487.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.3704, allocations: 4 kB / 487.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3704, allocations: 8 kB / 487.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3705, allocations: 133.1 kB / 487.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3705, allocations: 0 / 487.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003111/0.3708, allocations: 23.94 kB / 487.4 MB, free: 10.16 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007945/0.3716, allocations: 1.226 MB / 488.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.3719, allocations: 124 kB / 488.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3719, allocations: 96 / 488.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.372, allocations: 11.94 kB / 488.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.3725, allocations: 112.3 kB / 488.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.3753, allocations: 3.274 MB / 492.1 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3756, allocations: 0.7319 MB / 492.8 MB, free: 4.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.3757, allocations: 13.55 kB / 492.9 MB, free: 4.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.3758, allocations: 35.44 kB / 492.9 MB, free: 4.43 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.3758, allocations: 0 / 492.9 MB, free: 4.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.3912, allocations: 2.983 MB / 495.9 MB, free: 1.645 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.3914, allocations: 204.6 kB / 496.1 MB, free: 1.402 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.025, allocations: 0 / 496.1 MB, free: 1.402 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat