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.001844/0.001844, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008065/0.0008064, allocations: 102.6 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.463e-05, allocations: 15.97 kB / 343.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09948/0.09952, allocations: 51.47 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4375, allocations: 77.39 MB / 472.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4378, allocations: 81.16 kB / 472.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004381/0.4422, allocations: 1.709 MB / 474.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.4422, allocations: 0 / 474.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.4423, allocations: 8 kB / 474.5 MB, free: 13.08 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.0002823/0.4425, allocations: 359.1 kB / 474.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4426, allocations: 12.03 kB / 474.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.4428, allocations: 27.86 kB / 474.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.4429, allocations: 197.1 kB / 475 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.443, allocations: 0.8594 kB / 475 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.443, allocations: 4.656 kB / 475 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.513e-05/0.4431, allocations: 26.89 kB / 475.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.4433, allocations: 121.8 kB / 475.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4433, allocations: 4 kB / 475.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4433, allocations: 3.984 kB / 475.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4433, allocations: 0.75 kB / 475.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.4436, allocations: 344.2 kB / 475.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.302e-05/0.4437, allocations: 85.94 kB / 475.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.4438, allocations: 38.94 kB / 475.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.4438, allocations: 5.25 kB / 475.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.4438, allocations: 38.12 kB / 475.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4438, allocations: 0 / 475.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001816/0.444, allocations: 69.55 kB / 475.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.4441, allocations: 132.5 kB / 475.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.4442, allocations: 129.5 kB / 476 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.4442, allocations: 25.7 kB / 476 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.4442, allocations: 88.48 kB / 476.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.4442, allocations: 8.984 kB / 476.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.4442, allocations: 128 / 476.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.4443, allocations: 325.6 kB / 476.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.4443, allocations: 7.562 kB / 476.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.4444, allocations: 37.02 kB / 476.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.4444, allocations: 13.48 kB / 476.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4444, allocations: 0 / 476.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.104e-05/0.4445, allocations: 68.67 kB / 476.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4445, allocations: 4 kB / 476.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4445, allocations: 4 kB / 476.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4446, allocations: 1.312 kB / 476.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.4446, allocations: 19.86 kB / 476.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4447, allocations: 1.453 kB / 476.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.4447, allocations: 8.156 kB / 476.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.4447, allocations: 5.734 kB / 476.6 MB, free: 10.8 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 5.47e-05/0.4448, allocations: 105.7 kB / 476.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001184/0.4449, allocations: 80.59 kB / 476.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.445, allocations: 7.906 kB / 476.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.445, allocations: 13.61 kB / 476.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.445, allocations: 0 / 476.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.445, allocations: 9.109 kB / 476.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.445, allocations: 2.812 kB / 476.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.4452, allocations: 150.5 kB / 477 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4452, allocations: 2.062 kB / 477 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.4453, allocations: 18.06 kB / 477 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.4453, allocations: 3.953 kB / 477 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4453, allocations: 5.406 kB / 477 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4453, allocations: 0 / 477 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4453, allocations: 0 / 477 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.4455, allocations: 288.4 kB / 477.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.4456, allocations: 102.1 kB / 477.4 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.4456, allocations: 0 / 477.4 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4457, allocations: 9.359 kB / 477.4 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.4457, allocations: 9.062 kB / 477.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4458, allocations: 3 kB / 477.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.086e-05/0.4458, allocations: 107.3 kB / 477.5 MB, free: 9.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4458, allocations: 0 / 477.5 MB, free: 9.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.4461, allocations: 12 kB / 477.5 MB, free: 9.883 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.0003884/0.4465, allocations: 1.029 MB / 478.6 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.432e-05/0.4466, allocations: 35.92 kB / 478.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4466, allocations: 0 / 478.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.4466, allocations: 5.594 kB / 478.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.447, allocations: 30.09 kB / 478.6 MB, free: 8.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.4475, allocations: 161.8 kB / 478.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.4476, allocations: 0.6997 MB / 479.5 MB, free: 7.891 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.4477, allocations: 5.5 kB / 479.5 MB, free: 7.887 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.4477, allocations: 20.69 kB / 479.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4477, allocations: 0 / 479.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.4673, allocations: 1.24 MB / 480.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.4675, allocations: 142.5 kB / 480.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.908, allocations: 3.938 kB / 480.9 MB, free: 6.988 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