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.001442/0.001442, allocations: 196.6 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008523/0.0008524, allocations: 99.84 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.983e-05, allocations: 4 kB / 343.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 51.47 MB / 395.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.4384, allocations: 78.66 MB / 473.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4387, allocations: 78.31 kB / 474 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006453/0.4451, allocations: 2.483 MB / 476.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4452, allocations: 0 / 476.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.4452, allocations: 4 kB / 476.5 MB, free: 11.5 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.0004219/0.4456, allocations: 418 kB / 476.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4457, allocations: 13.25 kB / 476.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.4459, allocations: 27.14 kB / 476.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.4461, allocations: 235.4 kB / 477.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.4462, allocations: 0.8594 kB / 477.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.4462, allocations: 8 kB / 477.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001166/0.4463, allocations: 56.17 kB / 477.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.4467, allocations: 231.2 kB / 477.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4467, allocations: 0 / 477.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4467, allocations: 4 kB / 477.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4467, allocations: 3.984 kB / 477.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.4471, allocations: 408.8 kB / 477.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.4474, allocations: 255.7 kB / 478.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4476, allocations: 88.88 kB / 478.2 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.4476, allocations: 15.03 kB / 478.2 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.4477, allocations: 42.78 kB / 478.3 MB, free: 9.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.4477, allocations: 4 kB / 478.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002758/0.4479, allocations: 119.4 kB / 478.4 MB, free: 9.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.448, allocations: 199.4 kB / 478.6 MB, free: 9.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4482, allocations: 154.5 kB / 478.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.4482, allocations: 25.7 kB / 478.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.4482, allocations: 97.55 kB / 478.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.4483, allocations: 12.84 kB / 478.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.4483, allocations: 2.719 kB / 478.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.4483, allocations: 321.8 kB / 479.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.4484, allocations: 22.81 kB / 479.2 MB, free: 8.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.4485, allocations: 112.5 kB / 479.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.474e-05/0.4485, allocations: 38.69 kB / 479.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4485, allocations: 0 / 479.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001823/0.4487, allocations: 138 kB / 479.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4487, allocations: 9.438 kB / 479.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4487, allocations: 4 kB / 479.5 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4488, allocations: 9.5 kB / 479.5 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.4489, allocations: 31.55 kB / 479.5 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4489, allocations: 7.938 kB / 479.5 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.449, allocations: 17.2 kB / 479.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.449, allocations: 9.547 kB / 479.6 MB, free: 8.473 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 7.041e-05/0.4491, allocations: 120.8 kB / 479.7 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001948/0.4493, allocations: 128.8 kB / 479.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.4494, allocations: 19.81 kB / 479.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.4494, allocations: 19.16 kB / 479.9 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4494, allocations: 4 kB / 479.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4495, allocations: 1.406 kB / 479.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4495, allocations: 0 / 479.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.4497, allocations: 186.1 kB / 480 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4497, allocations: 5.688 kB / 480 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.4498, allocations: 47.3 kB / 480.1 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4499, allocations: 4 kB / 480.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4499, allocations: 3.938 kB / 480.1 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4499, allocations: 5.688 kB / 480.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4499, allocations: 0 / 480.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.4501, allocations: 363.5 kB / 480.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.4502, allocations: 111.4 kB / 480.6 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.4502, allocations: 9.156 kB / 480.6 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.4504, allocations: 14.34 kB / 480.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.4504, allocations: 5.453 kB / 480.6 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.4504, allocations: 8 kB / 480.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.016e-05/0.4505, allocations: 123.3 kB / 480.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4505, allocations: 0 / 480.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.4508, allocations: 16 kB / 480.7 MB, free: 7.359 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.0004437/0.4513, allocations: 1.177 MB / 481.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.4515, allocations: 77.62 kB / 482 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4515, allocations: 1.875 kB / 482 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.4515, allocations: 7.938 kB / 482 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.452, allocations: 81.27 kB / 482.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4531, allocations: 362.1 kB / 482.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.4533, allocations: 0.7285 MB / 483.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.4533, allocations: 17.28 kB / 483.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.4534, allocations: 38.94 kB / 483.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4534, allocations: 0 / 483.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.4747, allocations: 2.583 MB / 485.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.4749, allocations: 166.6 kB / 486 MB, free: 2.578 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.084, allocations: 0 / 486 MB, free: 2.578 MB / 346.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