Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001608, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.23/2.23, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2802/0.2802, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.031e-05, allocations: 0 / 425.4 MB, free: 23.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 58.87 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5104/0.6404, allocations: 84.86 MB / 0.5558 GB, free: 2.281 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.6408, allocations: 71.92 kB / 0.5558 GB, free: 2.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01366/0.6545, allocations: 2.29 MB / 0.5581 GB, free: 288 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6545, allocations: 0 / 0.5581 GB, free: 288 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.6546, allocations: 0 / 0.5581 GB, free: 288 kB / 362.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.0004156/0.655, allocations: 360.2 kB / 0.5584 GB, free: 15.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/0.6551, allocations: 12.03 kB / 0.5584 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.249e-05/0.6552, allocations: 34.19 kB / 0.5584 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.6552, allocations: 0 / 0.5584 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.6554, allocations: 163 kB / 0.5586 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.6554, allocations: 4 kB / 0.5586 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.6555, allocations: 0 / 0.5586 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.6556, allocations: 37.64 kB / 0.5586 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6556, allocations: 0 / 0.5586 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.6557, allocations: 0 / 0.5586 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.6557, allocations: 3.984 kB / 0.5586 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/0.6557, allocations: 4 kB / 0.5587 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.656, allocations: 145.6 kB / 0.5588 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.841e-05/0.6561, allocations: 22.3 kB / 0.5588 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.6561, allocations: 8.859 kB / 0.5588 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.6562, allocations: 0 / 0.5588 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/0.6562, allocations: 60.2 kB / 0.5589 GB, free: 15.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.407e-06/0.6563, allocations: 0 / 0.5589 GB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002432/0.6565, allocations: 63.39 kB / 0.5589 GB, free: 15.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.6566, allocations: 80.86 kB / 0.559 GB, free: 15.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.6567, allocations: 89.03 kB / 0.5591 GB, free: 15.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.6568, allocations: 25.7 kB / 0.5591 GB, free: 14.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.6569, allocations: 154.5 kB / 0.5593 GB, free: 14.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.6569, allocations: 4 kB / 0.5593 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.657, allocations: 0 / 0.5593 GB, free: 14.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.6571, allocations: 310.8 kB / 0.5596 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.6572, allocations: 0 / 0.5596 GB, free: 14.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.6572, allocations: 0 / 0.5596 GB, free: 14.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.78e-05/0.6573, allocations: 33.77 kB / 0.5596 GB, free: 14.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.6573, allocations: 7.891 kB / 0.5596 GB, free: 14.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001469/0.6575, allocations: 67.08 kB / 0.5597 GB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.6576, allocations: 29.7 kB / 0.5597 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.6576, allocations: 0 / 0.5597 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.6576, allocations: 3.938 kB / 0.5597 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.6576, allocations: 0 / 0.5597 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.6577, allocations: 0 / 0.5597 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.6577, allocations: 4 kB / 0.5597 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6577, allocations: 0 / 0.5597 GB, free: 14.34 MB / 378.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 0.0001336/0.6579, allocations: 134.7 kB / 0.5598 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.6579, allocations: 7.953 kB / 0.5598 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.658, allocations: 3.125 kB / 0.5599 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.658, allocations: 0 / 0.5599 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.658, allocations: 0 / 0.5599 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.658, allocations: 0 / 0.5599 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.6582, allocations: 145.7 kB / 0.56 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6583, allocations: 0 / 0.56 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-06/0.6583, allocations: 7.953 kB / 0.56 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6583, allocations: 0 / 0.56 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.6583, allocations: 7.984 kB / 0.56 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6584, allocations: 0 / 0.56 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.6584, allocations: 3.938 kB / 0.56 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.6586, allocations: 90.52 kB / 0.5601 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.6587, allocations: 77.11 kB / 0.5602 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.6587, allocations: 3.953 kB / 0.5602 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.6588, allocations: 3.625 kB / 0.5602 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.6588, allocations: 8.031 kB / 0.5602 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.6589, allocations: 0 / 0.5602 GB, free: 13.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.6589, allocations: 75.28 kB / 0.5603 GB, free: 13.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.6589, allocations: 3.938 kB / 0.5603 GB, free: 13.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006167/0.6596, allocations: 39.97 kB / 0.5603 GB, free: 13.64 MB / 378.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.001579/0.6612, allocations: 0.7906 MB / 0.5611 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.6614, allocations: 55.41 kB / 0.5611 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6614, allocations: 0 / 0.5611 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.6615, allocations: 62.97 kB / 0.5612 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.6617, allocations: 3.953 kB / 0.5612 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.6623, allocations: 130.3 kB / 0.5613 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.6627, allocations: 0.677 MB / 0.562 GB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.6627, allocations: 7.438 kB / 0.562 GB, free: 11.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.624e-06/0.6628, allocations: 0 / 0.562 GB, free: 11.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.642/3.305, allocations: 1.333 MB / 0.5633 GB, free: 10.51 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat