Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001259/0.001259, allocations: 197 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.344/1.344, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009442/0.0009441, allocations: 89.48 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.996e-05, allocations: 8 kB / 350.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 51.47 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3614/0.4716, allocations: 79.32 MB / 481.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.4719, allocations: 79.14 kB / 481.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00637/0.4783, allocations: 2.565 MB / 484.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4784, allocations: 4 kB / 484.1 MB, free: 7.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4784, allocations: 5.156 kB / 484.1 MB, free: 7.922 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.0004253/0.4788, allocations: 418.9 kB / 484.5 MB, free: 7.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.4789, allocations: 8.031 kB / 484.5 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.4789, allocations: 42.06 kB / 484.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.4791, allocations: 28.58 kB / 484.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.4794, allocations: 246.6 kB / 484.8 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.4795, allocations: 7.25 kB / 484.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4795, allocations: 7.188 kB / 484.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.48, allocations: 260.9 kB / 485.1 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.48, allocations: 3.938 kB / 485.1 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.48, allocations: 4 kB / 485.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.4801, allocations: 0 / 485.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.4802, allocations: 52.12 kB / 485.2 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.4808, allocations: 439.3 kB / 485.6 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.4811, allocations: 263.9 kB / 485.8 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.4813, allocations: 95.72 kB / 485.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.4813, allocations: 6.469 kB / 485.9 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.4814, allocations: 41.56 kB / 486 MB, free: 5.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.4814, allocations: 0 / 486 MB, free: 5.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.000335/0.4817, allocations: 147.7 kB / 486.1 MB, free: 5.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4818, allocations: 198.5 kB / 486.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.482, allocations: 161.7 kB / 486.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.482, allocations: 28.45 kB / 486.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.4821, allocations: 105.1 kB / 486.6 MB, free: 5.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.4821, allocations: 19.02 kB / 486.6 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.4822, allocations: 2.75 kB / 486.6 MB, free: 5.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.4822, allocations: 329.6 kB / 486.9 MB, free: 5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.4823, allocations: 19.62 kB / 487 MB, free: 4.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-05/0.4824, allocations: 128.7 kB / 487.1 MB, free: 4.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.4825, allocations: 43.7 kB / 487.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4825, allocations: 4 kB / 487.1 MB, free: 4.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002028/0.4827, allocations: 167.6 kB / 487.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4827, allocations: 5.406 kB / 487.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4827, allocations: 7.953 kB / 487.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4827, allocations: 8 kB / 487.3 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.4829, allocations: 37.55 kB / 487.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4829, allocations: 4 kB / 487.4 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.483, allocations: 19.39 kB / 487.4 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.483, allocations: 12 kB / 487.4 MB, free: 4.543 MB / 346.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 () * 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 7.145e-05/0.4831, allocations: 123.6 kB / 487.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.4833, allocations: 124.2 kB / 487.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.4833, allocations: 23.53 kB / 487.7 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4833, allocations: 4.891 kB / 487.7 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4834, allocations: 4 kB / 487.7 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4834, allocations: 3.984 kB / 487.7 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.4836, allocations: 219.8 kB / 487.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4836, allocations: 0 / 487.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.4838, allocations: 47.94 kB / 487.9 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4838, allocations: 4 kB / 487.9 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4838, allocations: 5.188 kB / 487.9 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4838, allocations: 4 kB / 487.9 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4838, allocations: 3.953 kB / 488 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.4841, allocations: 377.6 kB / 488.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.4842, allocations: 108.7 kB / 488.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.4842, allocations: 7.625 kB / 488.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.4843, allocations: 23.42 kB / 488.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.4844, allocations: 0 / 488.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.4844, allocations: 4 kB / 488.5 MB, free: 3.465 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.552e-05/0.4845, allocations: 135.7 kB / 488.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4845, allocations: 0 / 488.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002893/0.4848, allocations: 31.22 kB / 488.6 MB, free: 3.324 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 (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.0005472/0.4853, allocations: 1.239 MB / 489.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.4855, allocations: 105.8 kB / 490 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4855, allocations: 4 kB / 490 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.4856, allocations: 8.875 kB / 490 MB, free: 1.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.486, allocations: 94.14 kB / 490.1 MB, free: 1.934 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.4866, allocations: 265.9 kB / 490.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.4868, allocations: 0.729 MB / 491.1 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.098e-05/0.4869, allocations: 18.36 kB / 491.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.4869, allocations: 39.17 kB / 491.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4869, allocations: 0 / 491.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.5024, allocations: 3.067 MB / 494.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.5027, allocations: 177.6 kB / 494.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.068, allocations: 0 / 494.4 MB, free: 13.84 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat does not exist to compare? outputFormat=mat