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.0009926/0.0009927, allocations: 96.42 kB / 17 MB, free: 6.418 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.001151/0.001151, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.458/1.458, allocations: 223.2 MB / 241.9 MB, free: 256 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.221/0.221, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 12 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 61.93 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4279/0.5873, allocations: 137.4 MB / 0.5948 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.5889, allocations: 1.108 MB / 0.5959 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.589, allocations: 4 kB / 0.5959 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.5892, allocations: 30.31 kB / 0.5959 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.5893, allocations: 27.77 kB / 0.5959 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.5905, allocations: 348.9 kB / 0.5963 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.5907, allocations: 67.59 kB / 0.5963 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.5907, allocations: 8 kB / 0.5963 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.5908, allocations: 31.8 kB / 0.5964 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.5909, allocations: 27.91 kB / 0.5964 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.5909, allocations: 0 / 0.5964 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.5921, allocations: 450.9 kB / 0.5968 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.5921, allocations: 4 kB / 0.5968 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.5922, allocations: 37.64 kB / 0.5969 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.5926, allocations: 197.9 kB / 0.597 GB, free: 7.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5926, allocations: 4 kB / 0.597 GB, free: 7.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5926, allocations: 0 / 0.597 GB, free: 7.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.5926, allocations: 0 / 0.597 GB, free: 7.438 MB / 430.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.000691/0.5933, allocations: 399.9 kB / 0.5974 GB, free: 7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.5934, allocations: 12.03 kB / 0.5974 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.5934, allocations: 38.5 kB / 0.5975 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.5935, allocations: 4 kB / 0.5975 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5936, allocations: 171 kB / 0.5976 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5936, allocations: 8 kB / 0.5977 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.5937, allocations: 11.91 kB / 0.5977 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.5938, allocations: 69.67 kB / 0.5977 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5939, allocations: 0 / 0.5977 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.5939, allocations: 0 / 0.5977 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5939, allocations: 4 kB / 0.5977 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.594, allocations: 47.91 kB / 0.5978 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.5945, allocations: 385.8 kB / 0.5981 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.5946, allocations: 66.75 kB / 0.5982 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.5947, allocations: 28.72 kB / 0.5982 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/0.5964, allocations: 1.232 MB / 0.5994 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.5965, allocations: 30.56 kB / 0.5995 GB, free: 4.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.5965, allocations: 0 / 0.5995 GB, free: 4.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.005837/0.6023, allocations: 0.657 MB / 0.6001 GB, free: 3.859 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.6024, allocations: 59.42 kB / 0.6002 GB, free: 3.789 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.6025, allocations: 105.9 kB / 0.6003 GB, free: 3.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.6025, allocations: 25.7 kB / 0.6003 GB, free: 3.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.6025, allocations: 96.25 kB / 0.6004 GB, free: 3.547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.6026, allocations: 43.36 kB / 0.6004 GB, free: 3.504 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.6026, allocations: 7.938 kB / 0.6004 GB, free: 3.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.6027, allocations: 310.8 kB / 0.6007 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.6029, allocations: 79.94 kB / 0.6008 GB, free: 3.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.6031, allocations: 123.1 kB / 0.6009 GB, free: 2.977 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.6033, allocations: 83.98 kB / 0.601 GB, free: 2.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6033, allocations: 0 / 0.601 GB, free: 2.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005046/0.6039, allocations: 245.4 kB / 0.6012 GB, free: 2.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6039, allocations: 4 kB / 0.6012 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6039, allocations: 7.984 kB / 0.6013 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6039, allocations: 4.062 kB / 0.6013 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.6045, allocations: 47.89 kB / 0.6013 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.6045, allocations: 8.828 kB / 0.6013 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.605, allocations: 19.98 kB / 0.6013 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.605, allocations: 7.984 kB / 0.6013 GB, free: 2.551 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.0001201/0.6052, allocations: 118.4 kB / 0.6014 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.6052, allocations: 7.906 kB / 0.6015 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.606, allocations: 358.7 kB / 0.6018 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.606, allocations: 4 kB / 0.6018 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6061, allocations: 4 kB / 0.6018 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.6061, allocations: 0 / 0.6018 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.6072, allocations: 0.7557 MB / 0.6025 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6072, allocations: 0 / 0.6025 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.6077, allocations: 43.95 kB / 0.6026 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.6077, allocations: 0 / 0.6026 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.6078, allocations: 11.98 kB / 0.6026 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.6078, allocations: 4 kB / 0.6026 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6078, allocations: 3.938 kB / 0.6026 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.6083, allocations: 353.7 kB / 0.6029 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.6084, allocations: 104.9 kB / 0.603 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.6085, allocations: 8 kB / 0.603 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.609, allocations: 12.48 kB / 0.6031 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.609, allocations: 15.98 kB / 0.6031 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.609, allocations: 7.984 kB / 0.6031 GB, free: 0.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.72e-05/0.6091, allocations: 88.14 kB / 0.6032 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6091, allocations: 3.938 kB / 0.6032 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004744/0.6096, allocations: 103.9 kB / 0.6033 GB, free: 444 kB / 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.001345/0.6109, allocations: 0.9998 MB / 0.6042 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005117/0.6115, allocations: 207.9 kB / 0.6044 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6115, allocations: 0 / 0.6044 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.6117, allocations: 123.8 kB / 0.6046 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.6122, allocations: 29.47 kB / 0.6046 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.6131, allocations: 380.4 kB / 0.605 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.6133, allocations: 0.7007 MB / 0.6056 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004863/0.6138, allocations: 69.19 kB / 0.6057 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.614, allocations: 47.38 kB / 0.6057 GB, free: 13.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.6141, allocations: 0 / 0.6057 GB, free: 13.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.6337, allocations: 7.086 MB / 0.6127 GB, free: 6.82 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.6339, allocations: 182.6 kB / 0.6128 GB, free: 6.574 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.639, allocations: 0 / 0.6128 GB, free: 6.574 MB / 446.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