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.001541/0.001541, allocations: 181.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008195/0.0008195, allocations: 86.86 kB / 270.2 MB, free: 13.36 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.1895/0.1895, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1017, allocations: 58.85 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3006/0.4024, allocations: 84.96 MB / 0.5618 GB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.4027, allocations: 63.75 kB / 0.5619 GB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006248/0.409, allocations: 2.298 MB / 0.5641 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.409, allocations: 0 / 0.5641 GB, free: 12.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.409, allocations: 0 / 0.5641 GB, free: 12.66 MB / 378.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.0003767/0.4094, allocations: 365.1 kB / 0.5645 GB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4095, allocations: 8.031 kB / 0.5645 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.4095, allocations: 30.56 kB / 0.5645 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.4096, allocations: 7.938 kB / 0.5645 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.4097, allocations: 163 kB / 0.5647 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4097, allocations: 0 / 0.5647 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-06/0.4097, allocations: 4 kB / 0.5647 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.719e-05/0.4098, allocations: 36.56 kB / 0.5647 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4098, allocations: 0 / 0.5647 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4099, allocations: 3.984 kB / 0.5647 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.4099, allocations: 3.938 kB / 0.5647 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.4099, allocations: 0 / 0.5647 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.41, allocations: 149.6 kB / 0.5649 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.178e-05/0.4101, allocations: 24.83 kB / 0.5649 GB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.4101, allocations: 0 / 0.5649 GB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.4101, allocations: 56.36 kB / 0.5649 GB, free: 11.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.4102, allocations: 4 kB / 0.5649 GB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001642/0.4103, allocations: 62.77 kB / 0.565 GB, free: 11.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4104, allocations: 85.05 kB / 0.5651 GB, free: 11.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.545e-05/0.4104, allocations: 85 kB / 0.5652 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4105, allocations: 25.7 kB / 0.5652 GB, free: 11.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.4105, allocations: 88.2 kB / 0.5653 GB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.4105, allocations: 0 / 0.5653 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.4105, allocations: 0 / 0.5653 GB, free: 11.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4107, allocations: 310.8 kB / 0.5656 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.4107, allocations: 11.23 kB / 0.5656 GB, free: 10.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-06/0.4107, allocations: 0 / 0.5656 GB, free: 10.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/0.4108, allocations: 25.7 kB / 0.5656 GB, free: 10.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4108, allocations: 0 / 0.5656 GB, free: 10.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.724e-05/0.4108, allocations: 67.42 kB / 0.5657 GB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.4109, allocations: 33.14 kB / 0.5657 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4109, allocations: 4 kB / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4109, allocations: 0 / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.207e-06/0.4109, allocations: 3.984 kB / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4109, allocations: 0 / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.4109, allocations: 0 / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.4109, allocations: 0 / 0.5657 GB, free: 10.79 MB / 378.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 8.97e-05/0.411, allocations: 146.3 kB / 0.5658 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.4111, allocations: 11.92 kB / 0.5659 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.125e-05/0.4111, allocations: 3.125 kB / 0.5659 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.4111, allocations: 0 / 0.5659 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4111, allocations: 0 / 0.5659 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4111, allocations: 0 / 0.5659 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.306e-05/0.4112, allocations: 149.7 kB / 0.566 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4112, allocations: 0 / 0.566 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.4112, allocations: 0 / 0.566 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4112, allocations: 7.891 kB / 0.566 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4112, allocations: 0 / 0.566 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4112, allocations: 0 / 0.566 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4112, allocations: 8 kB / 0.566 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.017e-05/0.4113, allocations: 90.31 kB / 0.5661 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.4114, allocations: 80.92 kB / 0.5662 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4114, allocations: 11.95 kB / 0.5662 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.4114, allocations: 0 / 0.5662 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.4114, allocations: 0 / 0.5662 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.4114, allocations: 0 / 0.5662 GB, free: 10.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.952e-05/0.4115, allocations: 79.31 kB / 0.5663 GB, free: 10.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4115, allocations: 3.938 kB / 0.5663 GB, free: 10.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.4117, allocations: 39.98 kB / 0.5663 GB, free: 10.07 MB / 378.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.0007553/0.4125, allocations: 0.797 MB / 0.5671 GB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.632e-05/0.4126, allocations: 62.77 kB / 0.5671 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4126, allocations: 0 / 0.5671 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.966e-05/0.4126, allocations: 63.28 kB / 0.5672 GB, free: 9.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.454e-05/0.4127, allocations: 3.953 kB / 0.5672 GB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.413, allocations: 126.7 kB / 0.5673 GB, free: 8.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.4133, allocations: 0.677 MB / 0.568 GB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.228e-06/0.4133, allocations: 4.125 kB / 0.568 GB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.113e-05/0.4133, allocations: 7.438 kB / 0.568 GB, free: 8.258 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4133, allocations: 4 kB / 0.568 GB, free: 8.254 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.4305, allocations: 1.515 MB / 0.5695 GB, free: 6.766 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003203/0.4309, allocations: 212.2 kB / 0.5697 GB, free: 6.516 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.93, allocations: 4 kB / 0.5697 GB, free: 6.512 MB / 378.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