Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009717/0.0009718, allocations: 95.42 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000955/0.0009551, allocations: 185.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 241.8 MB, free: 400 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 11.98 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4626/0.5932, allocations: 126.8 MB / 0.5844 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.5946, allocations: 1.01 MB / 0.5853 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.5946, allocations: 0 / 0.5853 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.5948, allocations: 35.8 kB / 0.5854 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.5949, allocations: 27.92 kB / 0.5854 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.596, allocations: 370.8 kB / 0.5858 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.5961, allocations: 59.84 kB / 0.5858 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.5962, allocations: 0 / 0.5858 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/0.5963, allocations: 31.92 kB / 0.5858 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.5963, allocations: 31.91 kB / 0.5859 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.5964, allocations: 4 kB / 0.5859 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.5974, allocations: 491 kB / 0.5863 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.5974, allocations: 11.97 kB / 0.5864 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.5975, allocations: 37.64 kB / 0.5864 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.5978, allocations: 198.5 kB / 0.5866 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5978, allocations: 0 / 0.5866 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.5978, allocations: 0 / 0.5866 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.5979, allocations: 4 kB / 0.5866 GB, free: 0.7812 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005101/0.5984, allocations: 396 kB / 0.587 GB, free: 356 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5984, allocations: 11.97 kB / 0.587 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.5985, allocations: 42.55 kB / 0.587 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.5985, allocations: 0 / 0.587 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.5986, allocations: 171 kB / 0.5872 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.5986, allocations: 8 kB / 0.5872 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.5987, allocations: 7.906 kB / 0.5872 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5988, allocations: 69.61 kB / 0.5873 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5988, allocations: 7.984 kB / 0.5873 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5989, allocations: 4 kB / 0.5873 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5989, allocations: 0 / 0.5873 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.599, allocations: 46.72 kB / 0.5873 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.5994, allocations: 385.8 kB / 0.5877 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.5995, allocations: 66.5 kB / 0.5877 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.6007, allocations: 1.005 MB / 0.5887 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.6008, allocations: 38.52 kB / 0.5888 GB, free: 14.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.6008, allocations: 0 / 0.5888 GB, free: 14.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.006705/0.6075, allocations: 0.6624 MB / 0.5894 GB, free: 13.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.6075, allocations: 51.41 kB / 0.5895 GB, free: 13.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.6076, allocations: 105.8 kB / 0.5896 GB, free: 13.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.6076, allocations: 29.7 kB / 0.5896 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.6077, allocations: 92.25 kB / 0.5897 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.6077, allocations: 51.36 kB / 0.5897 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.6078, allocations: 0 / 0.5897 GB, free: 13.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.6079, allocations: 322.8 kB / 0.59 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.6081, allocations: 79.94 kB / 0.5901 GB, free: 12.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.6083, allocations: 106.5 kB / 0.5902 GB, free: 12.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.6085, allocations: 96.09 kB / 0.5903 GB, free: 12.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.6085, allocations: 0 / 0.5903 GB, free: 12.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005064/0.609, allocations: 248.5 kB / 0.5905 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.609, allocations: 4 kB / 0.5905 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.609, allocations: 7.938 kB / 0.5906 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.609, allocations: 3.984 kB / 0.5906 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.6097, allocations: 55.88 kB / 0.5906 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.6097, allocations: 0 / 0.5906 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.6103, allocations: 24.05 kB / 0.5906 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.6103, allocations: 7.984 kB / 0.5906 GB, free: 12.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0001165/0.6105, allocations: 118.3 kB / 0.5908 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.6105, allocations: 11.86 kB / 0.5908 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007734/0.6113, allocations: 342.6 kB / 0.5911 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6113, allocations: 7.953 kB / 0.5911 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.6113, allocations: 0 / 0.5911 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6113, allocations: 3.625 kB / 0.5911 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.6124, allocations: 0.7618 MB / 0.5918 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6124, allocations: 7.953 kB / 0.5919 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/0.613, allocations: 43.89 kB / 0.5919 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.613, allocations: 4 kB / 0.5919 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.6131, allocations: 7.984 kB / 0.5919 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6131, allocations: 4 kB / 0.5919 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6131, allocations: 3.984 kB / 0.5919 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.6136, allocations: 350.2 kB / 0.5923 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.6137, allocations: 112.9 kB / 0.5924 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.6138, allocations: 7.953 kB / 0.5924 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.6143, allocations: 8 kB / 0.5924 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.6144, allocations: 15.97 kB / 0.5924 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.6144, allocations: 11.98 kB / 0.5924 GB, free: 10.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.726e-05/0.6145, allocations: 79.28 kB / 0.5925 GB, free: 10.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6145, allocations: 8 kB / 0.5925 GB, free: 10.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00044/0.6149, allocations: 99.92 kB / 0.5926 GB, free: 10.06 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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.001089/0.616, allocations: 1.001 MB / 0.5936 GB, free: 9.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004563/0.6165, allocations: 207.8 kB / 0.5938 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6165, allocations: 0 / 0.5938 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.6167, allocations: 120 kB / 0.5939 GB, free: 8.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.617, allocations: 31.97 kB / 0.5939 GB, free: 8.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.6178, allocations: 380.4 kB / 0.5943 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.6181, allocations: 0.6968 MB / 0.5949 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004688/0.6185, allocations: 60.75 kB / 0.595 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.6188, allocations: 51.39 kB / 0.5951 GB, free: 7.434 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6188, allocations: 0 / 0.5951 GB, free: 7.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.6358, allocations: 7.06 MB / 0.6019 GB, free: 488 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.636, allocations: 173.8 kB / 0.6021 GB, free: 240 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.487, allocations: 0 / 0.6021 GB, free: 240 kB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat