Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, 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.63/1.63, 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.0009239/0.000924, allocations: 86.53 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.391e-05/7.394e-05, allocations: 4 kB / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1364, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.35/0.4864, allocations: 78.06 MB / 480.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.4867, allocations: 79.36 kB / 480.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004204/0.4909, allocations: 1.726 MB / 482 MB, free: 9.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.491, allocations: 0 / 482 MB, free: 9.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.491, allocations: 0 / 482 MB, free: 9.875 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003016/0.4913, allocations: 372.5 kB / 482.3 MB, free: 9.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4913, allocations: 8.031 kB / 482.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.4914, allocations: 38.25 kB / 482.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.4915, allocations: 24.05 kB / 482.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.4917, allocations: 191.9 kB / 482.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.4917, allocations: 0 / 482.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.4917, allocations: 4 kB / 482.6 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.4919, allocations: 137.6 kB / 482.7 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4919, allocations: 4 kB / 482.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.492, allocations: 0 / 482.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.492, allocations: 0.75 kB / 482.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.492, allocations: 19.31 kB / 482.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.4924, allocations: 368.7 kB / 483.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.4925, allocations: 93.8 kB / 483.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.4925, allocations: 40.08 kB / 483.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.4925, allocations: 3.938 kB / 483.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.4926, allocations: 38.56 kB / 483.3 MB, free: 8.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.4926, allocations: 0 / 483.3 MB, free: 8.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001836/0.4928, allocations: 76.59 kB / 483.4 MB, free: 8.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.4928, allocations: 140.4 kB / 483.5 MB, free: 8.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.4929, allocations: 131.3 kB / 483.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.4929, allocations: 25.7 kB / 483.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.493, allocations: 96.06 kB / 483.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.493, allocations: 3.906 kB / 483.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.493, allocations: 3.5 kB / 483.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.493, allocations: 314.8 kB / 484.1 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.4931, allocations: 7.688 kB / 484.1 MB, free: 7.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.4931, allocations: 44.78 kB / 484.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.917e-05/0.4931, allocations: 20.62 kB / 484.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4931, allocations: 3.953 kB / 484.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.931e-05/0.4932, allocations: 68.94 kB / 484.2 MB, free: 7.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4933, allocations: 9.562 kB / 484.2 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4933, allocations: 4 kB / 484.2 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4933, allocations: 0 / 484.2 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.4934, allocations: 19.92 kB / 484.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4934, allocations: 0 / 484.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.4934, allocations: 4.75 kB / 484.3 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4934, allocations: 11.48 kB / 484.3 MB, free: 7.418 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 4.057e-05/0.4935, allocations: 108.9 kB / 484.4 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.4936, allocations: 61.25 kB / 484.4 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.4936, allocations: 20.39 kB / 484.4 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4936, allocations: 3.281 kB / 484.5 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4937, allocations: 4 kB / 484.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4937, allocations: 0 / 484.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.4939, allocations: 174 kB / 484.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4939, allocations: 0 / 484.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.4939, allocations: 19.64 kB / 484.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4939, allocations: 0 / 484.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.494, allocations: 12.05 kB / 484.7 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.494, allocations: 0 / 484.7 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.494, allocations: 4 kB / 484.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.4941, allocations: 288.9 kB / 484.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.4942, allocations: 96.44 kB / 485 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.4942, allocations: 0 / 485 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4943, allocations: 15.48 kB / 485.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.4943, allocations: 1.938 kB / 485.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.4943, allocations: 4 kB / 485.1 MB, free: 6.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.24e-05/0.4944, allocations: 108.3 kB / 485.2 MB, free: 6.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4944, allocations: 1.969 kB / 485.2 MB, free: 6.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.4947, allocations: 19.77 kB / 485.2 MB, free: 6.441 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0003767/0.495, allocations: 1.031 MB / 486.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.4951, allocations: 31.31 kB / 486.2 MB, free: 5.355 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4952, allocations: 0 / 486.2 MB, free: 5.355 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/0.4952, allocations: 11.31 kB / 486.3 MB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.4955, allocations: 23.86 kB / 486.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.4959, allocations: 176.9 kB / 486.5 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.4961, allocations: 0.6965 MB / 487.2 MB, free: 4.402 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.653e-05/0.4961, allocations: 7.984 kB / 487.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.4961, allocations: 18.69 kB / 487.2 MB, free: 4.383 MB / 346.7 MB Notification: Performance of SimCode: time 4.8e-07/0.4962, allocations: 4 kB / 487.2 MB, free: 4.379 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.5074, allocations: 1.562 MB / 488.7 MB, free: 3.039 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.5076, allocations: 166.6 kB / 488.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.002, allocations: 0 / 488.9 MB, free: 2.809 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat