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.002326/0.002326, allocations: 185.4 kB / 16.4 MB, free: 5.746 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.141/2.141, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001123/0.001123, allocations: 89.5 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4987/0.4987, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004822, allocations: 12 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4848/0.6094, allocations: 84.95 MB / 0.5618 GB, free: 1.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.6097, allocations: 63.97 kB / 0.5618 GB, free: 1.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.6219, allocations: 2.302 MB / 0.5641 GB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6219, allocations: 0.75 kB / 0.5641 GB, free: 15.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.6219, allocations: 0 / 0.5641 GB, free: 15.37 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.0004796/0.6224, allocations: 362.4 kB / 0.5644 GB, free: 14.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.6225, allocations: 15.06 kB / 0.5644 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.75e-05/0.6226, allocations: 30.56 kB / 0.5645 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.6226, allocations: 12.14 kB / 0.5645 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.6228, allocations: 167.6 kB / 0.5646 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.6228, allocations: 0 / 0.5646 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.6228, allocations: 4 kB / 0.5646 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.623, allocations: 25.7 kB / 0.5647 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.623, allocations: 0 / 0.5647 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6231, allocations: 7.938 kB / 0.5647 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6231, allocations: 4 kB / 0.5647 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.568e-05/0.6231, allocations: 1.031 kB / 0.5647 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.6233, allocations: 153.6 kB / 0.5648 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.6234, allocations: 22.55 kB / 0.5649 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.6235, allocations: 4 kB / 0.5649 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.063e-05/0.6235, allocations: 60.27 kB / 0.5649 GB, free: 14.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.6236, allocations: 0 / 0.5649 GB, free: 14.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002416/0.6238, allocations: 63.45 kB / 0.565 GB, free: 14.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.6239, allocations: 77.11 kB / 0.565 GB, free: 14.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.624, allocations: 85 kB / 0.5651 GB, free: 14.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.624, allocations: 25.7 kB / 0.5652 GB, free: 14.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.6241, allocations: 158.5 kB / 0.5653 GB, free: 13.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.6241, allocations: 4.938 kB / 0.5653 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.6242, allocations: 0 / 0.5653 GB, free: 13.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6244, allocations: 315 kB / 0.5656 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.6244, allocations: 0 / 0.5656 GB, free: 13.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.6244, allocations: 0 / 0.5656 GB, free: 13.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.6245, allocations: 29.7 kB / 0.5656 GB, free: 13.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6245, allocations: 0 / 0.5656 GB, free: 13.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001601/0.6247, allocations: 67.34 kB / 0.5657 GB, free: 13.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.6247, allocations: 29.7 kB / 0.5657 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6248, allocations: 0.625 kB / 0.5657 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6248, allocations: 0 / 0.5657 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-06/0.6248, allocations: 4.094 kB / 0.5657 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6248, allocations: 0 / 0.5657 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.6249, allocations: 4 kB / 0.5657 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.6249, allocations: 0 / 0.5657 GB, free: 13.43 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 () * 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 0.0001436/0.625, allocations: 143.5 kB / 0.5659 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.6251, allocations: 11.89 kB / 0.5659 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.6251, allocations: 3.125 kB / 0.5659 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.6251, allocations: 0 / 0.5659 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6252, allocations: 0 / 0.5659 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6252, allocations: 4 kB / 0.5659 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.6253, allocations: 149.6 kB / 0.566 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6254, allocations: 4 kB / 0.566 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-06/0.6254, allocations: 3.938 kB / 0.566 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.6254, allocations: 4.828 kB / 0.566 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.6254, allocations: 0 / 0.566 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6254, allocations: 0 / 0.566 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6255, allocations: 0 / 0.566 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.6256, allocations: 96.86 kB / 0.5661 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.6257, allocations: 77.11 kB / 0.5662 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.6258, allocations: 3.953 kB / 0.5662 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.6258, allocations: 0.625 kB / 0.5662 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.6258, allocations: 4 kB / 0.5662 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.6258, allocations: 0 / 0.5662 GB, free: 12.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.339e-05/0.6259, allocations: 75.28 kB / 0.5663 GB, free: 12.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6259, allocations: 3.938 kB / 0.5663 GB, free: 12.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006033/0.6265, allocations: 39.98 kB / 0.5663 GB, free: 12.71 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) * 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.001564/0.6281, allocations: 0.7945 MB / 0.5671 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.6283, allocations: 55.41 kB / 0.5672 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6284, allocations: 4.062 kB / 0.5672 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/0.6285, allocations: 63.33 kB / 0.5672 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.6286, allocations: 7.391 kB / 0.5672 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.6292, allocations: 162.6 kB / 0.5674 GB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.6296, allocations: 0.6731 MB / 0.568 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.6297, allocations: 7.438 kB / 0.5681 GB, free: 10.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6297, allocations: 0 / 0.5681 GB, free: 10.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.618/3.248, allocations: 1.347 MB / 0.5694 GB, free: 9.555 MB / 394.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