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.002257/0.002257, allocations: 189.2 kB / 16.4 MB, free: 5.625 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.176/2.176, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001083/0.001083, allocations: 102.8 kB / 270.9 MB, free: 13.37 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.2896/0.2896, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006371/0.0006374, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1224, allocations: 58.87 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0006777/0.1232, allocations: 204.7 kB / 490.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009194/0.1241, allocations: 282.9 kB / 490.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.1241, allocations: 0 / 490.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.1242, allocations: 0 / 490.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.1242, allocations: 0 / 490.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.1246, allocations: 79.73 kB / 490.9 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.058e-05/0.1247, allocations: 0 / 490.9 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.1247, allocations: 0 / 490.9 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.1248, allocations: 4 kB / 490.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.1248, allocations: 3.984 kB / 490.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.1248, allocations: 0 / 490.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.125, allocations: 83.86 kB / 491 MB, free: 8.598 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.1251, allocations: 0 / 491 MB, free: 8.598 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.1251, allocations: 29.64 kB / 491 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1253, allocations: 51.91 kB / 491 MB, free: 8.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1253, allocations: 0 / 491 MB, free: 8.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1253, allocations: 4 kB / 491.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1253, allocations: 0 / 491.1 MB, free: 8.508 MB / 330.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.0003695/0.1257, allocations: 361.1 kB / 491.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1257, allocations: 8.031 kB / 491.4 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.1258, allocations: 30.56 kB / 491.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.1258, allocations: 0 / 491.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.126, allocations: 163 kB / 491.6 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.126, allocations: 4 kB / 491.6 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.126, allocations: 0 / 491.6 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.31e-05/0.1261, allocations: 33.69 kB / 491.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1261, allocations: 0 / 491.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1262, allocations: 7.938 kB / 491.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1262, allocations: 3.938 kB / 491.6 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.325e-05/0.1262, allocations: 3.984 kB / 491.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.1264, allocations: 149.6 kB / 491.8 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.1264, allocations: 18.61 kB / 491.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-06/0.1264, allocations: 0 / 491.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.1265, allocations: 60.27 kB / 491.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.664e-06/0.1265, allocations: 0 / 491.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002077/0.1267, allocations: 71.39 kB / 491.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.1268, allocations: 77.11 kB / 492 MB, free: 7.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.783e-05/0.1269, allocations: 89.86 kB / 492.1 MB, free: 7.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1269, allocations: 29.7 kB / 492.1 MB, free: 7.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.127, allocations: 150.6 kB / 492.3 MB, free: 7.043 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.127, allocations: 4.125 kB / 492.3 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.127, allocations: 0 / 492.3 MB, free: 7.039 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1271, allocations: 310.8 kB / 492.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.1272, allocations: 0 / 492.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.1272, allocations: 8 kB / 492.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.1272, allocations: 33.62 kB / 492.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1273, allocations: 3.953 kB / 492.6 MB, free: 6.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.1274, allocations: 63.34 kB / 492.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.1274, allocations: 33.23 kB / 492.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1274, allocations: 4 kB / 492.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1275, allocations: 0 / 492.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.1275, allocations: 0 / 492.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1275, allocations: 4 kB / 492.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.1275, allocations: 7.969 kB / 492.7 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.1276, allocations: 0 / 492.7 MB, free: 6.551 MB / 330.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.0001097/0.1277, allocations: 139.5 kB / 492.9 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.1277, allocations: 3.953 kB / 492.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.1277, allocations: 7.125 kB / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1277, allocations: 4 kB / 492.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1277, allocations: 0 / 492.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1278, allocations: 0 / 492.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1279, allocations: 149.7 kB / 493 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1279, allocations: 0 / 493 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-06/0.1279, allocations: 7.891 kB / 493.1 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1279, allocations: 4 kB / 493.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1279, allocations: 0 / 493.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.128, allocations: 0 / 493.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.128, allocations: 0 / 493.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1281, allocations: 98.77 kB / 493.2 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1282, allocations: 77.11 kB / 493.2 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1282, allocations: 3.953 kB / 493.2 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.1282, allocations: 4 kB / 493.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.1282, allocations: 0 / 493.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1283, allocations: 0 / 493.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.306e-05/0.1283, allocations: 75.28 kB / 493.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1283, allocations: 4.031 kB / 493.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.1287, allocations: 35.98 kB / 493.3 MB, free: 5.84 MB / 330.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.001083/0.1298, allocations: 0.7837 MB / 494.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.1299, allocations: 67.33 kB / 494.2 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1299, allocations: 0 / 494.2 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.13, allocations: 55.41 kB / 494.3 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.1301, allocations: 3.953 kB / 494.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.1305, allocations: 154 kB / 494.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1308, allocations: 0.677 MB / 495.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.1308, allocations: 11.38 kB / 495.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1309, allocations: 4.125 kB / 495.1 MB, free: 3.992 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.6/2.731, allocations: 1.332 MB / 496.4 MB, free: 2.66 MB / 330.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