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.001511/0.001511, allocations: 176.4 kB / 8.346 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.416/1.416, allocations: 221.5 MB / 230.3 MB, free: 7.492 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.0008498/0.0008498, allocations: 100.3 kB / 281.2 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.329e-05, allocations: 4 kB / 337.1 MB, free: 9.898 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 50.4 MB / 387.5 MB, free: 7.449 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.4531, allocations: 77.85 MB / 465.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.4535, allocations: 79.95 kB / 465.5 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00634/0.4598, allocations: 2.382 MB / 467.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4599, allocations: 0 / 467.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.4599, allocations: 15.94 kB / 467.9 MB, free: 14.37 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004487/0.4603, allocations: 423 kB / 468.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4604, allocations: 8.031 kB / 468.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.4605, allocations: 19.77 kB / 468.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.4608, allocations: 231.7 kB / 468.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.4608, allocations: 0 / 468.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.4608, allocations: 8 kB / 468.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001215/0.4609, allocations: 52.3 kB / 468.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.4613, allocations: 233.9 kB / 468.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4614, allocations: 3.953 kB / 468.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.4614, allocations: 8 kB / 468.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4615, allocations: 0 / 468.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.462, allocations: 404 kB / 469.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.4623, allocations: 242.6 kB / 469.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.4624, allocations: 96.22 kB / 469.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.4625, allocations: 7.938 kB / 469.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.4625, allocations: 38.45 kB / 469.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.4625, allocations: 0 / 469.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002746/0.4628, allocations: 129.4 kB / 469.7 MB, free: 12.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4629, allocations: 191.8 kB / 469.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.463, allocations: 154.3 kB / 470.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.4631, allocations: 25.7 kB / 470.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.4631, allocations: 96.14 kB / 470.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.4632, allocations: 19.83 kB / 470.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.4632, allocations: 0 / 470.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4633, allocations: 328.4 kB / 470.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.4633, allocations: 19.94 kB / 470.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.636e-05/0.4634, allocations: 122.5 kB / 470.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.4635, allocations: 32.02 kB / 470.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4635, allocations: 0 / 470.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001972/0.4637, allocations: 137.4 kB / 470.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4637, allocations: 5.406 kB / 470.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4638, allocations: 7.984 kB / 470.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4638, allocations: 11.95 kB / 470.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.4639, allocations: 27.98 kB / 470.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.4639, allocations: 11.94 kB / 470.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.831e-05/0.464, allocations: 8 kB / 470.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.464, allocations: 8.25 kB / 470.9 MB, free: 10.94 MB / 346.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 () * 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 9.073e-05/0.4641, allocations: 120.9 kB / 471 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002112/0.4644, allocations: 137.3 kB / 471.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.4644, allocations: 23.77 kB / 471.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.4645, allocations: 17.84 kB / 471.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4645, allocations: 7.984 kB / 471.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4645, allocations: 0 / 471.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4645, allocations: 0 / 471.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.4647, allocations: 190.2 kB / 471.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4648, allocations: 4 kB / 471.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.4649, allocations: 35.92 kB / 471.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4649, allocations: 4 kB / 471.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4649, allocations: 3.984 kB / 471.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.4649, allocations: 7.953 kB / 471.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4649, allocations: 3.938 kB / 471.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.4652, allocations: 363.9 kB / 471.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.4653, allocations: 116.8 kB / 471.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4653, allocations: 8 kB / 471.9 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4655, allocations: 11.98 kB / 472 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.4655, allocations: 0 / 472 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.4656, allocations: 8 kB / 472 MB, free: 9.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.652e-05/0.4656, allocations: 124.1 kB / 472.1 MB, free: 9.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4657, allocations: 0 / 472.1 MB, free: 9.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.466, allocations: 16.09 kB / 472.1 MB, free: 9.641 MB / 346.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 () * 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.0006472/0.4666, allocations: 1.181 MB / 473.3 MB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.4668, allocations: 79.88 kB / 473.4 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4668, allocations: 0 / 473.4 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.4668, allocations: 11.92 kB / 473.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.4673, allocations: 77.22 kB / 473.4 MB, free: 8.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4684, allocations: 350.3 kB / 473.8 MB, free: 7.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4686, allocations: 0.7358 MB / 474.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.4687, allocations: 9.344 kB / 474.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.4688, allocations: 39.42 kB / 474.6 MB, free: 7.039 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4688, allocations: 0 / 474.6 MB, free: 7.039 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.4876, allocations: 2.592 MB / 477.2 MB, free: 4.48 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.4879, allocations: 156.3 kB / 477.3 MB, free: 4.293 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.961, allocations: 3 kB / 477.3 MB, free: 4.293 MB / 346.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