Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_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.001098/0.001098, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007726/0.0007726, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.2323/0.2323, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.745e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.131, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4264/0.5574, allocations: 84.2 MB / 0.5482 GB, free: 9.078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.5577, allocations: 60.75 kB / 0.5483 GB, free: 9.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005203/0.5629, allocations: 2.287 MB / 0.5505 GB, free: 8.207 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5629, allocations: 0 / 0.5505 GB, free: 8.207 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.5629, allocations: 0 / 0.5505 GB, free: 8.207 MB / 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.0002192/0.5632, allocations: 367.4 kB / 0.5509 GB, free: 7.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5632, allocations: 12.03 kB / 0.5509 GB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.5633, allocations: 7.938 kB / 0.5509 GB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.925e-05/0.5633, allocations: 163 kB / 0.5511 GB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.5634, allocations: 0 / 0.5511 GB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.5634, allocations: 0 / 0.5511 GB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.086e-05/0.5634, allocations: 0 / 0.5511 GB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.328e-05/0.5635, allocations: 33.69 kB / 0.5511 GB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.5635, allocations: 0 / 0.5511 GB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.5635, allocations: 0 / 0.5511 GB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5635, allocations: 0 / 0.5511 GB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.5636, allocations: 134.2 kB / 0.5512 GB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.678e-05/0.5637, allocations: 22.55 kB / 0.5512 GB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.5637, allocations: 8.609 kB / 0.5512 GB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.5637, allocations: 0 / 0.5512 GB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.5638, allocations: 56.27 kB / 0.5513 GB, free: 7.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.5638, allocations: 0 / 0.5513 GB, free: 7.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001746/0.5639, allocations: 37.75 kB / 0.5513 GB, free: 7.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.564, allocations: 81.14 kB / 0.5514 GB, free: 7.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.401e-05/0.564, allocations: 85 kB / 0.5515 GB, free: 7.039 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.564, allocations: 25.7 kB / 0.5515 GB, free: 7.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.254e-05/0.564, allocations: 84.08 kB / 0.5516 GB, free: 6.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.5641, allocations: 4 kB / 0.5516 GB, free: 6.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.5641, allocations: 0 / 0.5516 GB, free: 6.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.5641, allocations: 314 kB / 0.5519 GB, free: 6.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.5641, allocations: 0 / 0.5519 GB, free: 6.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.5642, allocations: 7.938 kB / 0.5519 GB, free: 6.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.5642, allocations: 7.984 kB / 0.5519 GB, free: 6.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5642, allocations: 0 / 0.5519 GB, free: 6.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.429e-05/0.5643, allocations: 37.66 kB / 0.552 GB, free: 6.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5643, allocations: 33.69 kB / 0.552 GB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5643, allocations: 0 / 0.552 GB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5643, allocations: 4 kB / 0.552 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.5643, allocations: 0 / 0.552 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.5643, allocations: 4.703 kB / 0.552 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.5643, allocations: 4.094 kB / 0.552 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.5644, allocations: 0 / 0.552 GB, free: 6.496 MB / 362.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 5.315e-05/0.5644, allocations: 129.9 kB / 0.5521 GB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.55e-05/0.5645, allocations: 49.58 kB / 0.5522 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-06/0.5645, allocations: 0 / 0.5522 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-06/0.5645, allocations: 3.75 kB / 0.5522 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.5645, allocations: 0 / 0.5522 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5645, allocations: 0 / 0.5522 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5645, allocations: 4 kB / 0.5522 GB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.332e-05/0.5646, allocations: 134.2 kB / 0.5523 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5646, allocations: 0 / 0.5523 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.5646, allocations: 0 / 0.5523 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5646, allocations: 3.953 kB / 0.5523 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.5646, allocations: 0 / 0.5523 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.5646, allocations: 0 / 0.5523 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5646, allocations: 4 kB / 0.5523 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.753e-05/0.5647, allocations: 60.38 kB / 0.5524 GB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.5647, allocations: 81.14 kB / 0.5524 GB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.5647, allocations: 7.953 kB / 0.5525 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-06/0.5647, allocations: 0 / 0.5525 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.5648, allocations: 2.75 kB / 0.5525 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.5648, allocations: 0 / 0.5525 GB, free: 5.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.444e-05/0.5648, allocations: 83.16 kB / 0.5525 GB, free: 5.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5648, allocations: 0 / 0.5525 GB, free: 5.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.5651, allocations: 46.41 kB / 0.5526 GB, free: 5.82 MB / 362.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.0006734/0.5657, allocations: 0.7572 MB / 0.5533 GB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.5658, allocations: 65.59 kB / 0.5534 GB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5659, allocations: 0 / 0.5534 GB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.938e-05/0.5659, allocations: 55.41 kB / 0.5534 GB, free: 4.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.983e-05/0.566, allocations: 3.953 kB / 0.5534 GB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.5663, allocations: 98.3 kB / 0.5535 GB, free: 4.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.5664, allocations: 0.6806 MB / 0.5542 GB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.789e-06/0.5665, allocations: 0 / 0.5542 GB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.5665, allocations: 7.438 kB / 0.5542 GB, free: 4.078 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5665, allocations: 4.125 kB / 0.5542 GB, free: 4.074 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.5877, allocations: 1.264 MB / 0.5554 GB, free: 2.816 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.5879, allocations: 156.9 kB / 0.5556 GB, free: 2.621 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.148, allocations: 3.938 kB / 0.5556 GB, free: 2.617 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat