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.001131/0.001131, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009745/0.0009747, allocations: 89.98 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 45.16 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.293e-05/5.316e-05, allocations: 0 / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 63.24 MB / 0.5114 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.488, allocations: 87.06 MB / 0.5965 GB, free: 6.789 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.4882, allocations: 56.61 kB / 0.5965 GB, free: 6.766 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006682/0.4949, allocations: 2.302 MB / 0.5988 GB, free: 4.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.495, allocations: 0 / 0.5988 GB, free: 4.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.495, allocations: 0 / 0.5988 GB, free: 4.793 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.000295/0.4953, allocations: 365 kB / 0.5991 GB, free: 4.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4953, allocations: 11.97 kB / 0.5991 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.4954, allocations: 35.31 kB / 0.5992 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.4954, allocations: 0 / 0.5992 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.4955, allocations: 167 kB / 0.5993 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4955, allocations: 0 / 0.5993 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.4955, allocations: 3.938 kB / 0.5993 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.981e-05/0.4956, allocations: 34.56 kB / 0.5994 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.4956, allocations: 0 / 0.5994 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.4956, allocations: 0 / 0.5994 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4956, allocations: 0 / 0.5994 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.4957, allocations: 7.938 kB / 0.5994 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.4958, allocations: 151.5 kB / 0.5995 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.196e-05/0.4958, allocations: 15.33 kB / 0.5995 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.193e-05/0.4959, allocations: 5.859 kB / 0.5995 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.4959, allocations: 0 / 0.5995 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.4959, allocations: 65.06 kB / 0.5996 GB, free: 3.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4959, allocations: 4 kB / 0.5996 GB, free: 3.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.4961, allocations: 60.16 kB / 0.5997 GB, free: 3.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.4961, allocations: 82.05 kB / 0.5997 GB, free: 3.609 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/0.4962, allocations: 85 kB / 0.5998 GB, free: 3.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.4962, allocations: 25.7 kB / 0.5998 GB, free: 3.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.4962, allocations: 80.77 kB / 0.5999 GB, free: 3.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.4963, allocations: 3.938 kB / 0.5999 GB, free: 3.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.4963, allocations: 0 / 0.5999 GB, free: 3.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4964, allocations: 316.5 kB / 0.6002 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-06/0.4964, allocations: 8 kB / 0.6002 GB, free: 3.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.4964, allocations: 0 / 0.6002 GB, free: 3.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.4964, allocations: 25.7 kB / 0.6003 GB, free: 3.047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.4965, allocations: 3.953 kB / 0.6003 GB, free: 3.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.053e-05/0.4965, allocations: 64.28 kB / 0.6003 GB, free: 2.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.4966, allocations: 35.2 kB / 0.6003 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4966, allocations: 0 / 0.6003 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4966, allocations: 3.984 kB / 0.6004 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.4966, allocations: 4.094 kB / 0.6004 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4966, allocations: 0 / 0.6004 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.125e-05/0.4966, allocations: 0 / 0.6004 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.4966, allocations: 0 / 0.6004 GB, free: 2.922 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.039e-05/0.4967, allocations: 130.7 kB / 0.6005 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.4967, allocations: 5.266 kB / 0.6005 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.4968, allocations: 7.078 kB / 0.6005 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4968, allocations: 0 / 0.6005 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4968, allocations: 7.938 kB / 0.6005 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4968, allocations: 4 kB / 0.6005 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.527e-05/0.4969, allocations: 151.2 kB / 0.6006 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4969, allocations: 0 / 0.6006 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-06/0.4969, allocations: 3.953 kB / 0.6007 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.4969, allocations: 0 / 0.6007 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.4969, allocations: 3.984 kB / 0.6007 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.4969, allocations: 4 kB / 0.6007 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4969, allocations: 0 / 0.6007 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.497, allocations: 93.27 kB / 0.6007 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.4971, allocations: 81.86 kB / 0.6008 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4971, allocations: 3.953 kB / 0.6008 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-06/0.4971, allocations: 0 / 0.6008 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.4971, allocations: 0 / 0.6008 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4971, allocations: 1.125 kB / 0.6008 GB, free: 2.336 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.4972, allocations: 79.28 kB / 0.6009 GB, free: 2.258 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4972, allocations: 0 / 0.6009 GB, free: 2.258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.4974, allocations: 42.48 kB / 0.6009 GB, free: 2.219 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.0007533/0.4982, allocations: 0.8013 MB / 0.6017 GB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.913e-05/0.4983, allocations: 66.14 kB / 0.6018 GB, free: 1.367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4983, allocations: 0 / 0.6018 GB, free: 1.367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.4983, allocations: 56.09 kB / 0.6018 GB, free: 1.301 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.474e-05/0.4984, allocations: 3.953 kB / 0.6019 GB, free: 1.297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.4986, allocations: 102.4 kB / 0.6019 GB, free: 1.164 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.4989, allocations: 0.6733 MB / 0.6026 GB, free: 476 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.28e-06/0.4989, allocations: 0 / 0.6026 GB, free: 476 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.4989, allocations: 15.38 kB / 0.6026 GB, free: 460 kB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4989, allocations: 0 / 0.6026 GB, free: 460 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.5104, allocations: 1.54 MB / 0.6041 GB, free: 15.01 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.5106, allocations: 172.1 kB / 0.6043 GB, free: 14.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.034, allocations: 0 / 0.6043 GB, free: 14.79 MB / 410.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