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.002259/0.002264, allocations: 178.3 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 93.72 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2956/0.2956, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.122e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4399, allocations: 58.85 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.598, allocations: 84.2 MB / 0.5482 GB, free: 15.07 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.5982, allocations: 59.97 kB / 0.5483 GB, free: 15.01 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.009774/0.608, allocations: 2.285 MB / 0.5505 GB, free: 12.73 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6081, allocations: 4 kB / 0.5505 GB, free: 12.72 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.6081, allocations: 0 / 0.5505 GB, free: 12.72 MB / 395.1 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.0003925/0.6085, allocations: 364.2 kB / 0.5509 GB, free: 12.32 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.6086, allocations: 8.031 kB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.6086, allocations: 0 / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.6087, allocations: 163 kB / 0.551 GB, free: 12.11 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.6088, allocations: 3.984 kB / 0.551 GB, free: 12.11 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.6088, allocations: 4 kB / 0.551 GB, free: 12.1 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.324e-05/0.6089, allocations: 0 / 0.551 GB, free: 12.1 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.974e-05/0.6089, allocations: 33.69 kB / 0.5511 GB, free: 12.06 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.609, allocations: 4 kB / 0.5511 GB, free: 12.06 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.609, allocations: 0 / 0.5511 GB, free: 12.06 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.609, allocations: 0 / 0.5511 GB, free: 12.06 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.6091, allocations: 130.2 kB / 0.5512 GB, free: 11.89 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.943e-05/0.6092, allocations: 18.52 kB / 0.5512 GB, free: 11.87 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.6092, allocations: 12.89 kB / 0.5512 GB, free: 11.85 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.6093, allocations: 0 / 0.5512 GB, free: 11.85 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.6093, allocations: 60.27 kB / 0.5513 GB, free: 11.78 MB / 395.1 MB Notification: Performance of pre-optimization done (n=1): time 2.886e-06/0.6093, allocations: 0 / 0.5513 GB, free: 11.78 MB / 395.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002075/0.6096, allocations: 38.23 kB / 0.5513 GB, free: 11.73 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.6096, allocations: 77.11 kB / 0.5514 GB, free: 11.64 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.6097, allocations: 85 kB / 0.5515 GB, free: 11.55 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.6097, allocations: 25.7 kB / 0.5515 GB, free: 11.52 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.6098, allocations: 154.6 kB / 0.5516 GB, free: 11.37 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.6098, allocations: 11.95 kB / 0.5517 GB, free: 11.36 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.6099, allocations: 0 / 0.5517 GB, free: 11.36 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.61, allocations: 314.8 kB / 0.552 GB, free: 11.04 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-06/0.61, allocations: 0 / 0.552 GB, free: 11.04 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.61, allocations: 3.938 kB / 0.552 GB, free: 11.04 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.6101, allocations: 7.984 kB / 0.552 GB, free: 11.03 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6101, allocations: 0 / 0.552 GB, free: 11.03 MB / 395.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.956e-05/0.6102, allocations: 33.66 kB / 0.552 GB, free: 10.99 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.6103, allocations: 37.69 kB / 0.552 GB, free: 10.95 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6103, allocations: 4.094 kB / 0.552 GB, free: 10.94 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6103, allocations: 0 / 0.552 GB, free: 10.94 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-06/0.6104, allocations: 4 kB / 0.552 GB, free: 10.94 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.6104, allocations: 0 / 0.552 GB, free: 10.94 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.6104, allocations: 0 / 0.552 GB, free: 10.94 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.6104, allocations: 4 kB / 0.552 GB, free: 10.93 MB / 395.1 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.0001077/0.6105, allocations: 130.7 kB / 0.5522 GB, free: 10.79 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001105/0.6107, allocations: 53.56 kB / 0.5522 GB, free: 10.73 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.6107, allocations: 0 / 0.5522 GB, free: 10.73 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.6107, allocations: 7.781 kB / 0.5522 GB, free: 10.73 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6107, allocations: 0 / 0.5522 GB, free: 10.73 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6107, allocations: 0 / 0.5522 GB, free: 10.73 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6108, allocations: 0 / 0.5522 GB, free: 10.73 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.6109, allocations: 130.2 kB / 0.5523 GB, free: 10.56 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6109, allocations: 0 / 0.5523 GB, free: 10.56 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.6109, allocations: 0 / 0.5523 GB, free: 10.56 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.6109, allocations: 3.953 kB / 0.5524 GB, free: 10.56 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.6109, allocations: 0 / 0.5524 GB, free: 10.56 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6109, allocations: 0 / 0.5524 GB, free: 10.56 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.611, allocations: 0 / 0.5524 GB, free: 10.56 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.6111, allocations: 69.12 kB / 0.5524 GB, free: 10.47 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.6112, allocations: 77.11 kB / 0.5525 GB, free: 10.38 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.6112, allocations: 3.953 kB / 0.5525 GB, free: 10.38 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.479e-05/0.6112, allocations: 4 kB / 0.5525 GB, free: 10.37 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.6113, allocations: 3.938 kB / 0.5525 GB, free: 10.37 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.6113, allocations: 0 / 0.5525 GB, free: 10.37 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.048e-05/0.6113, allocations: 79.31 kB / 0.5526 GB, free: 10.29 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.765e-06/0.6113, allocations: 3.938 kB / 0.5526 GB, free: 10.29 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004082/0.6117, allocations: 43.92 kB / 0.5526 GB, free: 10.24 MB / 395.1 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.001134/0.6129, allocations: 0.7565 MB / 0.5534 GB, free: 9.473 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.613, allocations: 67.34 kB / 0.5534 GB, free: 9.395 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6131, allocations: 0 / 0.5534 GB, free: 9.395 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.6131, allocations: 51.41 kB / 0.5535 GB, free: 9.332 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.6132, allocations: 9.359 kB / 0.5535 GB, free: 9.324 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.6136, allocations: 125.4 kB / 0.5536 GB, free: 9.16 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.614, allocations: 0.6845 MB / 0.5543 GB, free: 8.449 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.614, allocations: 7.438 kB / 0.5543 GB, free: 8.441 MB / 395.1 MB Notification: Performance of SimCode: time 1.052e-06/0.614, allocations: 0 / 0.5543 GB, free: 8.441 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.536/3.15, allocations: 1.338 MB / 0.5556 GB, free: 7.105 MB / 395.1 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