Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008922/0.0008921, allocations: 86.58 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3593/0.3593, allocations: 44.22 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004794, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3396, allocations: 61.9 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.4589, allocations: 86.09 MB / 0.5937 GB, free: 9.027 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4592, allocations: 67.94 kB / 0.5938 GB, free: 8.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006125/0.4653, allocations: 2.303 MB / 0.596 GB, free: 6.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4653, allocations: 0 / 0.596 GB, free: 6.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.4653, allocations: 3.938 kB / 0.596 GB, free: 6.652 MB / 410.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.0003203/0.4657, allocations: 365.1 kB / 0.5964 GB, free: 6.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4657, allocations: 20.02 kB / 0.5964 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.4658, allocations: 30.56 kB / 0.5964 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.4658, allocations: 0 / 0.5964 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.4659, allocations: 159.1 kB / 0.5966 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4659, allocations: 0 / 0.5966 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.466, allocations: 7.891 kB / 0.5966 GB, free: 5.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.263e-05/0.466, allocations: 29.7 kB / 0.5966 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4661, allocations: 0 / 0.5966 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.4661, allocations: 0 / 0.5966 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.4661, allocations: 0 / 0.5966 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.4661, allocations: 15.98 kB / 0.5966 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.4663, allocations: 141.7 kB / 0.5968 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.72e-05/0.4663, allocations: 14.58 kB / 0.5968 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.4663, allocations: 3.938 kB / 0.5968 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.4664, allocations: 68.3 kB / 0.5968 GB, free: 5.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.4664, allocations: 0 / 0.5968 GB, free: 5.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001791/0.4666, allocations: 75.3 kB / 0.5969 GB, free: 5.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.4666, allocations: 77.11 kB / 0.597 GB, free: 5.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.4667, allocations: 85 kB / 0.5971 GB, free: 5.363 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4667, allocations: 25.7 kB / 0.5971 GB, free: 5.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.4667, allocations: 80.14 kB / 0.5972 GB, free: 5.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.4668, allocations: 0 / 0.5972 GB, free: 5.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.4668, allocations: 0 / 0.5972 GB, free: 5.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4669, allocations: 314.8 kB / 0.5975 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.4669, allocations: 0 / 0.5975 GB, free: 4.934 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.021e-05/0.4669, allocations: 12.06 kB / 0.5975 GB, free: 4.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.467, allocations: 33.69 kB / 0.5975 GB, free: 4.883 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.467, allocations: 0 / 0.5975 GB, free: 4.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.019e-05/0.4671, allocations: 55.41 kB / 0.5976 GB, free: 4.816 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.4671, allocations: 33.7 kB / 0.5976 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4671, allocations: 3.984 kB / 0.5976 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4672, allocations: 3.953 kB / 0.5976 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.4672, allocations: 0 / 0.5976 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4672, allocations: 0 / 0.5976 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.388e-05/0.4672, allocations: 4.094 kB / 0.5976 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.4672, allocations: 3.938 kB / 0.5976 GB, free: 4.762 MB / 410.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 () * Number of clocked 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 9.205e-05/0.4673, allocations: 141.4 kB / 0.5977 GB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.4673, allocations: 4 kB / 0.5977 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.4673, allocations: 6.719 kB / 0.5978 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4673, allocations: 4 kB / 0.5978 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4674, allocations: 7.891 kB / 0.5978 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4674, allocations: 0 / 0.5978 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.4675, allocations: 149.7 kB / 0.5979 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4675, allocations: 4 kB / 0.5979 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-06/0.4675, allocations: 0 / 0.5979 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4675, allocations: 3.938 kB / 0.5979 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4675, allocations: 4 kB / 0.5979 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4675, allocations: 0 / 0.5979 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4675, allocations: 0 / 0.5979 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.4677, allocations: 94.78 kB / 0.598 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.4677, allocations: 77.11 kB / 0.5981 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.4677, allocations: 4.031 kB / 0.5981 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.4677, allocations: 0 / 0.5981 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.4678, allocations: 0 / 0.5981 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4678, allocations: 4 kB / 0.5981 GB, free: 4.164 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.204e-05/0.4678, allocations: 79.23 kB / 0.5982 GB, free: 4.086 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4678, allocations: 0 / 0.5982 GB, free: 4.086 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.4681, allocations: 43.98 kB / 0.5982 GB, free: 4.043 MB / 410.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) * Number of clocked states: 0 () * 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.0009778/0.4691, allocations: 0.8116 MB / 0.599 GB, free: 3.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.692e-05/0.4692, allocations: 63.39 kB / 0.5991 GB, free: 3.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4692, allocations: 0 / 0.5991 GB, free: 3.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.4693, allocations: 55.41 kB / 0.5991 GB, free: 3.121 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.4694, allocations: 0 / 0.5991 GB, free: 3.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.4697, allocations: 131.2 kB / 0.5992 GB, free: 2.953 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.47, allocations: 0.6731 MB / 0.5999 GB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.76e-06/0.47, allocations: 128 / 0.5999 GB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.47, allocations: 11.44 kB / 0.5999 GB, free: 2.242 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.47, allocations: 0 / 0.5999 GB, free: 2.242 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.4831, allocations: 1.55 MB / 0.6014 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.4834, allocations: 207.9 kB / 0.6016 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.994, allocations: 0 / 0.6016 GB, free: 0.5547 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat