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.001281/0.001281, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 227.2 MB / 245 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008112/0.0008111, allocations: 108.3 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001987/0.0001987, allocations: 8 kB / 358 MB, free: 9.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1757, allocations: 51.48 MB / 409.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08437/0.2602, allocations: 78.13 MB / 487.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.2604, allocations: 79.95 kB / 487.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004483/0.2649, allocations: 1.725 MB / 489.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2649, allocations: 0 / 489.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2649, allocations: 4 kB / 489.4 MB, free: 10.63 MB / 362.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.0003741/0.2653, allocations: 375 kB / 489.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2654, allocations: 8.031 kB / 489.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.2654, allocations: 42.5 kB / 489.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.2655, allocations: 23.89 kB / 489.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.2657, allocations: 198.6 kB / 490.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.2658, allocations: 0 / 490.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.2658, allocations: 11.95 kB / 490.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.266, allocations: 138.7 kB / 490.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2661, allocations: 4 kB / 490.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.2661, allocations: 0 / 490.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2661, allocations: 4 kB / 490.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.2662, allocations: 27.92 kB / 490.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.2666, allocations: 382.7 kB / 490.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.2667, allocations: 94.36 kB / 490.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.2667, allocations: 4.062 kB / 490.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2668, allocations: 38.55 kB / 490.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2668, allocations: 0 / 490.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000284/0.2671, allocations: 105.7 kB / 490.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.2671, allocations: 136.5 kB / 491 MB, free: 8.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2672, allocations: 129.5 kB / 491.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2673, allocations: 29.7 kB / 491.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.2673, allocations: 88.55 kB / 491.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.2673, allocations: 7.906 kB / 491.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.2673, allocations: 3.938 kB / 491.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.2674, allocations: 322.8 kB / 491.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.2675, allocations: 12 kB / 491.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.2675, allocations: 48.22 kB / 491.6 MB, free: 8.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.2676, allocations: 23.98 kB / 491.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2676, allocations: 0 / 491.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001559/0.2678, allocations: 89.56 kB / 491.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2678, allocations: 8 kB / 491.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2678, allocations: 0 / 491.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.2678, allocations: 0 / 491.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.2679, allocations: 15.98 kB / 491.8 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2679, allocations: 0 / 491.8 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.268, allocations: 11.84 kB / 491.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.268, allocations: 4 kB / 491.8 MB, free: 7.984 MB / 362.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 () * Number of clocked 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 7.915e-05/0.2681, allocations: 129.9 kB / 491.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2682, allocations: 61.48 kB / 492 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.2682, allocations: 19.81 kB / 492 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2682, allocations: 0 / 492 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2683, allocations: 4 kB / 492 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2683, allocations: 0 / 492 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.2685, allocations: 177.6 kB / 492.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2685, allocations: 0 / 492.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.2686, allocations: 15.94 kB / 492.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2686, allocations: 8.016 kB / 492.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2686, allocations: 4 kB / 492.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2686, allocations: 3.984 kB / 492.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2686, allocations: 0 / 492.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.2688, allocations: 309.9 kB / 492.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.2689, allocations: 97 kB / 492.6 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2689, allocations: 192 / 492.6 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.269, allocations: 12 kB / 492.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.2691, allocations: 3.984 kB / 492.6 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.2691, allocations: 8 kB / 492.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.673e-05/0.2692, allocations: 110.6 kB / 492.7 MB, free: 6.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2692, allocations: 0 / 492.7 MB, free: 6.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.2694, allocations: 15.98 kB / 492.7 MB, free: 6.902 MB / 362.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 () * Number of clocked 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.0005185/0.2699, allocations: 1.038 MB / 493.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.2701, allocations: 51.91 kB / 493.8 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2701, allocations: 7.938 kB / 493.8 MB, free: 5.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.2702, allocations: 12 kB / 493.8 MB, free: 5.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.2704, allocations: 38.12 kB / 493.9 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009879/0.2714, allocations: 1.16 MB / 495 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2717, allocations: 0.7043 MB / 495.7 MB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.531e-05/0.2717, allocations: 7.984 kB / 495.8 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.2718, allocations: 15.5 kB / 495.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2718, allocations: 4 kB / 495.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.2829, allocations: 1.574 MB / 497.3 MB, free: 2.281 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.2831, allocations: 180.6 kB / 497.5 MB, free: 2.043 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.759, allocations: 0 / 497.5 MB, free: 2.043 MB / 362.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