Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008185/0.0008187, allocations: 90.73 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 45.15 MB / 383.8 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.426e-05/1.441e-05, allocations: 0 / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 63.25 MB / 0.5044 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5577, allocations: 86.39 MB / 0.5888 GB, free: 15.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.5579, allocations: 66.59 kB / 0.5889 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006082/0.564, allocations: 2.294 MB / 0.5911 GB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5641, allocations: 0 / 0.5911 GB, free: 13.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.5641, allocations: 3.875 kB / 0.5911 GB, free: 13.9 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003274/0.5644, allocations: 360.2 kB / 0.5915 GB, free: 13.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5645, allocations: 8.031 kB / 0.5915 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.5645, allocations: 0 / 0.5915 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.5646, allocations: 163 kB / 0.5916 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5647, allocations: 4 kB / 0.5916 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.5647, allocations: 0 / 0.5916 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.64e-05/0.5647, allocations: 7.875 kB / 0.5916 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.14e-05/0.5648, allocations: 37.69 kB / 0.5917 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5648, allocations: 0 / 0.5917 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.5648, allocations: 0 / 0.5917 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5648, allocations: 0 / 0.5917 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.565, allocations: 130.1 kB / 0.5918 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.565, allocations: 14.58 kB / 0.5918 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.5651, allocations: 8.953 kB / 0.5918 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.5651, allocations: 0 / 0.5918 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.5651, allocations: 60.27 kB / 0.5919 GB, free: 12.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.5651, allocations: 0 / 0.5919 GB, free: 12.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000215/0.5654, allocations: 41.62 kB / 0.5919 GB, free: 12.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.5654, allocations: 77.11 kB / 0.592 GB, free: 12.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.954e-05/0.5655, allocations: 88.94 kB / 0.5921 GB, free: 12.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.5655, allocations: 25.7 kB / 0.5921 GB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.5655, allocations: 80.14 kB / 0.5922 GB, free: 12.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.5656, allocations: 0 / 0.5922 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.5656, allocations: 8.031 kB / 0.5922 GB, free: 12.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5657, allocations: 310.8 kB / 0.5925 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/0.5657, allocations: 0 / 0.5925 GB, free: 12.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.5657, allocations: 3.984 kB / 0.5925 GB, free: 12.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.159e-05/0.5658, allocations: 4 kB / 0.5925 GB, free: 12.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5658, allocations: 0 / 0.5925 GB, free: 12.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.28e-05/0.5659, allocations: 41.64 kB / 0.5925 GB, free: 12.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.5659, allocations: 29.7 kB / 0.5926 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.566, allocations: 4.938 kB / 0.5926 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.566, allocations: 3.938 kB / 0.5926 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.566, allocations: 0 / 0.5926 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.566, allocations: 0 / 0.5926 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/0.566, allocations: 0 / 0.5926 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.566, allocations: 4 kB / 0.5926 GB, free: 12.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.771e-05/0.5661, allocations: 130.6 kB / 0.5927 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.718e-05/0.5662, allocations: 45.64 kB / 0.5927 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-06/0.5662, allocations: 0 / 0.5927 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.5663, allocations: 15.67 kB / 0.5927 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.5663, allocations: 0 / 0.5927 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5663, allocations: 3.938 kB / 0.5928 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5663, allocations: 0 / 0.5928 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.373e-05/0.5664, allocations: 130.2 kB / 0.5929 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5664, allocations: 3.984 kB / 0.5929 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-06/0.5664, allocations: 0 / 0.5929 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.5664, allocations: 3.953 kB / 0.5929 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.5664, allocations: 0 / 0.5929 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5664, allocations: 0 / 0.5929 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5664, allocations: 0 / 0.5929 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.5666, allocations: 80.92 kB / 0.593 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.5666, allocations: 77.11 kB / 0.593 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.5666, allocations: 3.953 kB / 0.593 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.5667, allocations: 4 kB / 0.593 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.5667, allocations: 0 / 0.593 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.5667, allocations: 3.984 kB / 0.593 GB, free: 11.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.136e-05/0.5667, allocations: 75.28 kB / 0.5931 GB, free: 11.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5667, allocations: 4.031 kB / 0.5931 GB, free: 11.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.567, allocations: 39.94 kB / 0.5932 GB, free: 11.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009288/0.5679, allocations: 0.7623 MB / 0.5939 GB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.5681, allocations: 63.28 kB / 0.594 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5681, allocations: 0 / 0.594 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.5681, allocations: 55.41 kB / 0.594 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.575e-05/0.5682, allocations: 7.891 kB / 0.594 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.5685, allocations: 95.98 kB / 0.5941 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.5688, allocations: 0.6768 MB / 0.5948 GB, free: 9.785 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.232e-06/0.5689, allocations: 0 / 0.5948 GB, free: 9.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.5689, allocations: 7.438 kB / 0.5948 GB, free: 9.777 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5689, allocations: 0 / 0.5948 GB, free: 9.777 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.592, allocations: 1.268 MB / 0.596 GB, free: 8.52 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/0.5924, allocations: 157.4 kB / 0.5962 GB, free: 8.328 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.095, allocations: 2.75 kB / 0.5962 GB, free: 8.328 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat