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.001055/0.001055, allocations: 198.2 kB / 8.768 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009186/0.000919, allocations: 102.8 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.844e-05, allocations: 4 kB / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 51.47 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3195/0.4239, allocations: 78.66 MB / 473.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.4242, allocations: 81.52 kB / 474 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006545/0.4308, allocations: 2.551 MB / 476.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4308, allocations: 0 / 476.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.4309, allocations: 4 kB / 476.6 MB, free: 11.45 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.0004197/0.4313, allocations: 407.8 kB / 477 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4313, allocations: 13.3 kB / 477 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.4315, allocations: 29.88 kB / 477 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.4317, allocations: 243 kB / 477.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4318, allocations: 4.859 kB / 477.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.4318, allocations: 4 kB / 477.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/0.4319, allocations: 47.95 kB / 477.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.4323, allocations: 239.2 kB / 477.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4323, allocations: 0 / 477.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.4323, allocations: 6.812 kB / 477.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4324, allocations: 3.938 kB / 477.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.4327, allocations: 408 kB / 477.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.433, allocations: 252.9 kB / 478.2 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.4331, allocations: 84.84 kB / 478.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.4331, allocations: 13.44 kB / 478.3 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.4332, allocations: 37.94 kB / 478.3 MB, free: 9.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.4332, allocations: 0 / 478.3 MB, free: 9.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002565/0.4334, allocations: 123.7 kB / 478.4 MB, free: 9.617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/0.4335, allocations: 193.6 kB / 478.6 MB, free: 9.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4336, allocations: 154.8 kB / 478.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4337, allocations: 33.64 kB / 478.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.4337, allocations: 97.48 kB / 478.9 MB, free: 9.129 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.4337, allocations: 17.55 kB / 478.9 MB, free: 9.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.4337, allocations: 0 / 478.9 MB, free: 9.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.4338, allocations: 326.3 kB / 479.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.4338, allocations: 19.31 kB / 479.3 MB, free: 8.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.4339, allocations: 134.2 kB / 479.4 MB, free: 8.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.237e-05/0.434, allocations: 34.92 kB / 479.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.434, allocations: 0 / 479.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001752/0.4342, allocations: 142.6 kB / 479.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4342, allocations: 13.72 kB / 479.6 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4342, allocations: 6.156 kB / 479.6 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4342, allocations: 5.312 kB / 479.6 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.4343, allocations: 40.91 kB / 479.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4344, allocations: 4 kB / 479.6 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.244e-05/0.4345, allocations: 20.62 kB / 479.7 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4345, allocations: 8 kB / 479.7 MB, free: 8.395 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 6.262e-05/0.4345, allocations: 122.3 kB / 479.8 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001879/0.4347, allocations: 134.4 kB / 479.9 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.4348, allocations: 15.81 kB / 479.9 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.4348, allocations: 20.45 kB / 479.9 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4349, allocations: 7.953 kB / 480 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4349, allocations: 0 / 480 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4349, allocations: 5.641 kB / 480 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4351, allocations: 191.8 kB / 480.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4351, allocations: 4 kB / 480.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.4352, allocations: 47.06 kB / 480.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4352, allocations: 0 / 480.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.4353, allocations: 4 kB / 480.2 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4353, allocations: 1.5 kB / 480.2 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4353, allocations: 4 kB / 480.2 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.4355, allocations: 369.7 kB / 480.6 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.4356, allocations: 110.3 kB / 480.7 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.4356, allocations: 5.219 kB / 480.7 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.4357, allocations: 16.45 kB / 480.7 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.4358, allocations: 8.281 kB / 480.7 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/0.4358, allocations: 4 kB / 480.7 MB, free: 7.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.873e-05/0.4359, allocations: 122.9 kB / 480.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4359, allocations: 0 / 480.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003088/0.4362, allocations: 20 kB / 480.9 MB, free: 7.27 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.0005311/0.4367, allocations: 1.238 MB / 482.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.4369, allocations: 80.55 kB / 482.2 MB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4369, allocations: 0 / 482.2 MB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.4369, allocations: 12.7 kB / 482.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.4373, allocations: 88.7 kB / 482.3 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.4379, allocations: 244.7 kB / 482.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.4381, allocations: 0.7271 MB / 483.2 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.791e-05/0.4382, allocations: 22.47 kB / 483.3 MB, free: 4.938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.4382, allocations: 38.83 kB / 483.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4383, allocations: 0 / 483.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.4587, allocations: 2.681 MB / 486 MB, free: 2.621 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.459, allocations: 164 kB / 486.1 MB, free: 2.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.977, allocations: 0 / 486.1 MB, free: 2.43 MB / 346.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