Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001057/0.001056, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008757/0.0008758, allocations: 94.03 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.87e-05, allocations: 4 kB / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3596/0.4701, allocations: 79.33 MB / 481.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4704, allocations: 80.2 kB / 481.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006044/0.4764, allocations: 2.505 MB / 484 MB, free: 8.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4765, allocations: 0 / 484 MB, free: 8.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.4765, allocations: 4 kB / 484 MB, free: 8.016 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.0003935/0.4769, allocations: 418.7 kB / 484.4 MB, free: 7.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4769, allocations: 12.03 kB / 484.5 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.477, allocations: 37.75 kB / 484.5 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.4771, allocations: 32.58 kB / 484.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.4774, allocations: 235.9 kB / 484.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4774, allocations: 7.688 kB / 484.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.4775, allocations: 12.25 kB / 484.8 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.4778, allocations: 254.6 kB / 485 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4778, allocations: 0 / 485 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.4779, allocations: 3.438 kB / 485 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4779, allocations: 4 kB / 485 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.478, allocations: 45.8 kB / 485.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.4784, allocations: 444.7 kB / 485.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.4787, allocations: 270.2 kB / 485.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4788, allocations: 94.59 kB / 485.9 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.4789, allocations: 7.922 kB / 485.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.4789, allocations: 42.81 kB / 485.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.4789, allocations: 2.062 kB / 485.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002843/0.4792, allocations: 132.5 kB / 486.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.4793, allocations: 198 kB / 486.2 MB, free: 5.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4794, allocations: 161.1 kB / 486.4 MB, free: 5.578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4794, allocations: 29.33 kB / 486.4 MB, free: 5.547 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.4795, allocations: 97.62 kB / 486.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.4795, allocations: 15.08 kB / 486.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.4795, allocations: 3.562 kB / 486.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.782e-05/0.4796, allocations: 329.3 kB / 486.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.4796, allocations: 15.25 kB / 486.9 MB, free: 5.109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.4797, allocations: 128.3 kB / 487 MB, free: 4.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/0.4798, allocations: 39.2 kB / 487 MB, free: 4.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4798, allocations: 0 / 487 MB, free: 4.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000174/0.4799, allocations: 154.2 kB / 487.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.48, allocations: 11.84 kB / 487.2 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.48, allocations: 6.266 kB / 487.2 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.48, allocations: 4 kB / 487.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.4801, allocations: 38.73 kB / 487.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4801, allocations: 4 kB / 487.3 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.802e-05/0.4802, allocations: 19.16 kB / 487.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.4803, allocations: 13.48 kB / 487.3 MB, free: 4.691 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 6.099e-05/0.4803, allocations: 127.8 kB / 487.4 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.4805, allocations: 117.9 kB / 487.5 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.4805, allocations: 22.89 kB / 487.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4806, allocations: 4 kB / 487.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4806, allocations: 2.156 kB / 487.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4806, allocations: 4 kB / 487.6 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.4808, allocations: 219.7 kB / 487.8 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4808, allocations: 4 kB / 487.8 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.4809, allocations: 39.91 kB / 487.8 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4809, allocations: 8.031 kB / 487.8 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.481, allocations: 7.188 kB / 487.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.481, allocations: 4.875 kB / 487.8 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.481, allocations: 0 / 487.8 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.4812, allocations: 375.3 kB / 488.2 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.4813, allocations: 115.5 kB / 488.3 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.4813, allocations: 3.062 kB / 488.3 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.4815, allocations: 19.94 kB / 488.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.4815, allocations: 4 kB / 488.3 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.4815, allocations: 7.25 kB / 488.4 MB, free: 3.613 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.383e-05/0.4816, allocations: 140.8 kB / 488.5 MB, free: 3.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4816, allocations: 0 / 488.5 MB, free: 3.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.4819, allocations: 19.31 kB / 488.5 MB, free: 3.477 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.0004334/0.4824, allocations: 1.185 MB / 489.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.4825, allocations: 94.73 kB / 489.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4825, allocations: 3.938 kB / 489.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.4826, allocations: 7.312 kB / 489.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.483, allocations: 91.78 kB / 489.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.484, allocations: 377.5 kB / 490.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.4842, allocations: 0.7352 MB / 491 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.4843, allocations: 13.33 kB / 491 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.4843, allocations: 38.36 kB / 491 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4843, allocations: 0 / 491 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.4995, allocations: 2.965 MB / 494 MB, free: 14.25 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.4998, allocations: 179.2 kB / 494.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.104, allocations: 1.969 kB / 494.2 MB, free: 14.02 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat