Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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 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 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 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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_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.001529/0.001529, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002409/0.002409, allocations: 175.4 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4643/0.4643, allocations: 43.55 MB / 314.5 MB, free: 9.062 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005838/0.0005841, allocations: 12 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1615, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4446/0.6062, allocations: 126.2 MB / 0.5557 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009498/0.6157, allocations: 6.925 MB / 0.5624 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.616, allocations: 4 kB / 0.5624 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.6164, allocations: 40.53 kB / 0.5625 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003873/0.6202, allocations: 1.163 MB / 0.5636 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.6207, allocations: 131.7 kB / 0.5637 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.6212, allocations: 267.4 kB / 0.564 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.354e-05/0.6213, allocations: 12.34 kB / 0.564 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.6216, allocations: 167.5 kB / 0.5642 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.6219, allocations: 159.5 kB / 0.5643 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.6219, allocations: 8 kB / 0.5643 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.6246, allocations: 1.096 MB / 0.5654 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.742e-05/0.6247, allocations: 47.81 kB / 0.5654 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.6248, allocations: 61.64 kB / 0.5655 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.6261, allocations: 0.6336 MB / 0.5661 GB, free: 3.062 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6261, allocations: 0 / 0.5661 GB, free: 3.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6261, allocations: 0 / 0.5661 GB, free: 3.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.6261, allocations: 0 / 0.5661 GB, free: 3.062 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00131/0.6274, allocations: 0.6552 MB / 0.5668 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6275, allocations: 8.031 kB / 0.5668 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.875e-05/0.6276, allocations: 70.53 kB / 0.5668 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00708/0.6346, allocations: 0.5865 MB / 0.5674 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.6351, allocations: 254.7 kB / 0.5676 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.6353, allocations: 127.4 kB / 0.5678 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/0.6354, allocations: 22.75 kB / 0.5678 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.6365, allocations: 0.5595 MB / 0.5683 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6365, allocations: 0 / 0.5683 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/0.6366, allocations: 12 kB / 0.5683 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.6366, allocations: 8 kB / 0.5683 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.6379, allocations: 0.6338 MB / 0.569 GB, free: 15.99 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.64, allocations: 1.619 MB / 0.5705 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.6403, allocations: 158.5 kB / 0.5707 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007873/0.6411, allocations: 0.6658 MB / 0.5714 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.6411, allocations: 34.56 kB / 0.5714 GB, free: 13.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.532e-06/0.6412, allocations: 0 / 0.5714 GB, free: 13.3 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001027/0.6422, allocations: 329.6 kB / 0.5717 GB, free: 12.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.6423, allocations: 59.58 kB / 0.5718 GB, free: 12.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.6424, allocations: 187.2 kB / 0.5719 GB, free: 12.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.6425, allocations: 33.7 kB / 0.572 GB, free: 12.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.6426, allocations: 183.3 kB / 0.5721 GB, free: 12.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.6427, allocations: 63.11 kB / 0.5722 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.6427, allocations: 11.94 kB / 0.5722 GB, free: 12.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6428, allocations: 326.8 kB / 0.5725 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.643, allocations: 64.7 kB / 0.5726 GB, free: 12.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.6432, allocations: 275.7 kB / 0.5728 GB, free: 11.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.6434, allocations: 99.86 kB / 0.5729 GB, free: 11.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.6435, allocations: 7.938 kB / 0.573 GB, free: 11.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005739/0.644, allocations: 352.8 kB / 0.5733 GB, free: 11.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6441, allocations: 11.41 kB / 0.5733 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.6441, allocations: 11.98 kB / 0.5733 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.6441, allocations: 12 kB / 0.5733 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.6445, allocations: 123.8 kB / 0.5734 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004028/0.6449, allocations: 0.6094 MB / 0.574 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.6452, allocations: 47.47 kB / 0.5741 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.6453, allocations: 44.73 kB / 0.5741 GB, free: 10.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.6454, allocations: 141.8 kB / 0.5743 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.6455, allocations: 15.81 kB / 0.5743 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/0.6463, allocations: 304.9 kB / 0.5746 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.6463, allocations: 4 kB / 0.5746 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6463, allocations: 0 / 0.5746 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6463, allocations: 0 / 0.5746 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000704/0.647, allocations: 0.5207 MB / 0.5751 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.647, allocations: 3.938 kB / 0.5751 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.6472, allocations: 55.95 kB / 0.5751 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.6473, allocations: 4 kB / 0.5751 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.6473, allocations: 8.562 kB / 0.5751 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003344/0.6476, allocations: 0.5899 MB / 0.5757 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6476, allocations: 4.031 kB / 0.5757 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.648, allocations: 331.8 kB / 0.576 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.6482, allocations: 116.9 kB / 0.5762 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.6482, allocations: 6.5 kB / 0.5762 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.6485, allocations: 11.98 kB / 0.5762 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.6485, allocations: 11.98 kB / 0.5762 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.6485, allocations: 15.98 kB / 0.5762 GB, free: 8.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.6487, allocations: 139 kB / 0.5763 GB, free: 7.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6487, allocations: 4 kB / 0.5763 GB, free: 7.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008448/0.6495, allocations: 183.9 kB / 0.5765 GB, free: 7.703 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001572/0.6511, allocations: 1.345 MB / 0.5778 GB, free: 6.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.6516, allocations: 219.6 kB / 0.578 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6517, allocations: 1.812 kB / 0.578 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.6519, allocations: 79.89 kB / 0.5781 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.6522, allocations: 52.2 kB / 0.5782 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.6566, allocations: 5.85 MB / 0.5839 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.657, allocations: 0.7325 MB / 0.5846 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006045/0.6576, allocations: 109.3 kB / 0.5847 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.6578, allocations: 79.33 kB / 0.5848 GB, free: 14.99 MB / 462.1 MB Notification: Performance of SimCode: time 1.713e-06/0.6578, allocations: 0 / 0.5848 GB, free: 14.99 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.6826, allocations: 7.709 MB / 0.5923 GB, free: 7.355 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.6829, allocations: 250.4 kB / 0.5925 GB, free: 7.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.641, allocations: 0 / 0.5925 GB, free: 7.02 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat