Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 202.2 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 227.2 MB / 245 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008659/0.0008659, allocations: 110.6 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002023/0.0002022, allocations: 8 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2052, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08901/0.2942, allocations: 77.31 MB / 486.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.2945, allocations: 85.62 kB / 486.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002818/0.2973, allocations: 1.16 MB / 488.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2974, allocations: 0 / 488.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.2974, allocations: 0 / 488.1 MB, free: 12.06 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003578/0.2977, allocations: 358.7 kB / 488.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2978, allocations: 8.031 kB / 488.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.2978, allocations: 42.5 kB / 488.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.2979, allocations: 11.83 kB / 488.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.2981, allocations: 182.9 kB / 488.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2981, allocations: 4 kB / 488.7 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2981, allocations: 7.953 kB / 488.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.2984, allocations: 111.5 kB / 488.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2984, allocations: 7.984 kB / 488.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.2984, allocations: 0 / 488.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.2984, allocations: 4 kB / 488.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.2985, allocations: 23.92 kB / 488.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.2988, allocations: 273.8 kB / 489.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.2991, allocations: 138.2 kB / 489.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2991, allocations: 0 / 489.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2991, allocations: 38.64 kB / 489.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2991, allocations: 4 kB / 489.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000235/0.2994, allocations: 85.58 kB / 489.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.2994, allocations: 81.05 kB / 489.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.2995, allocations: 124.2 kB / 489.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2996, allocations: 25.7 kB / 489.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.2996, allocations: 88.27 kB / 489.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.2996, allocations: 3.906 kB / 489.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-06/0.2996, allocations: 0 / 489.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2997, allocations: 322.8 kB / 490 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.2998, allocations: 11.94 kB / 490 MB, free: 9.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.2999, allocations: 35.42 kB / 490 MB, free: 9.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.2999, allocations: 12 kB / 490 MB, free: 9.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2999, allocations: 0 / 490 MB, free: 9.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001247/0.3, allocations: 73.69 kB / 490.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3001, allocations: 12 kB / 490.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3001, allocations: 0 / 490.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3001, allocations: 0 / 490.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.3002, allocations: 11.94 kB / 490.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3002, allocations: 7.984 kB / 490.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.3002, allocations: 4 kB / 490.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3002, allocations: 0 / 490.1 MB, free: 9.711 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 9.071e-05/0.3003, allocations: 113.8 kB / 490.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.3004, allocations: 57.55 kB / 490.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3005, allocations: 16.19 kB / 490.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3005, allocations: 0 / 490.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3005, allocations: 0 / 490.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3005, allocations: 7.984 kB / 490.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.3006, allocations: 165.6 kB / 490.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3007, allocations: 3.938 kB / 490.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.3007, allocations: 11.98 kB / 490.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3007, allocations: 3.953 kB / 490.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3007, allocations: 8 kB / 490.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3007, allocations: 4 kB / 490.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3007, allocations: 0 / 490.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3009, allocations: 174.3 kB / 490.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.301, allocations: 101 kB / 490.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.301, allocations: 7.984 kB / 490.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/0.3011, allocations: 4 kB / 490.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.3011, allocations: 3.938 kB / 490.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3011, allocations: 7.922 kB / 490.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.3012, allocations: 103.3 kB / 490.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3012, allocations: 0 / 490.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.3014, allocations: 4 kB / 490.9 MB, free: 8.812 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0004833/0.3019, allocations: 0.7798 MB / 491.7 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3021, allocations: 40.05 kB / 491.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3021, allocations: 0 / 491.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.3021, allocations: 7.984 kB / 491.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3023, allocations: 30.19 kB / 491.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.3033, allocations: 0.9035 MB / 492.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3036, allocations: 0.6992 MB / 493.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.661e-05/0.3036, allocations: 7.922 kB / 493.4 MB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.3037, allocations: 11.44 kB / 493.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3037, allocations: 4 kB / 493.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.3149, allocations: 1.216 MB / 494.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.3151, allocations: 186.8 kB / 494.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/1.815, allocations: 6.953 kB / 494.8 MB, free: 4.879 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat does not exist to compare? outputFormat=mat