Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.001019/0.00102, allocations: 176.1 kB / 16.72 MB, free: 5.082 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.311/1.311, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007415/0.0007414, allocations: 86.36 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3111/0.3111, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 12 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09616, allocations: 58.83 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2946/0.3908, allocations: 137.3 MB / 0.6135 GB, free: 13.54 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006771/0.3976, allocations: 6.456 MB / 0.6198 GB, free: 7.094 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.3978, allocations: 4 kB / 0.6198 GB, free: 7.09 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.3981, allocations: 43.8 kB / 0.6198 GB, free: 7.047 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.4014, allocations: 1.186 MB / 0.621 GB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.4018, allocations: 140.4 kB / 0.6211 GB, free: 5.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.4024, allocations: 414 kB / 0.6215 GB, free: 5.324 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.4024, allocations: 16.59 kB / 0.6216 GB, free: 5.312 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.4028, allocations: 155.4 kB / 0.6217 GB, free: 5.16 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.4031, allocations: 183.5 kB / 0.6219 GB, free: 4.98 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.4031, allocations: 4 kB / 0.6219 GB, free: 4.977 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.4053, allocations: 1.115 MB / 0.623 GB, free: 3.859 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.4054, allocations: 47.75 kB / 0.623 GB, free: 3.812 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.4056, allocations: 129.3 kB / 0.6231 GB, free: 3.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.4068, allocations: 0.6608 MB / 0.6238 GB, free: 3.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4068, allocations: 4 kB / 0.6238 GB, free: 3.016 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4068, allocations: 0 / 0.6238 GB, free: 3.016 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4068, allocations: 0 / 0.6238 GB, free: 3.016 MB / 442.7 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.001345/0.4081, allocations: 0.6524 MB / 0.6244 GB, free: 2.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.4082, allocations: 12.03 kB / 0.6244 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.176e-05/0.4083, allocations: 62.72 kB / 0.6245 GB, free: 2.238 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007036/0.4153, allocations: 0.589 MB / 0.6251 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.4158, allocations: 264 kB / 0.6253 GB, free: 1.359 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.4159, allocations: 131.2 kB / 0.6254 GB, free: 1.207 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.4161, allocations: 28 kB / 0.6255 GB, free: 1.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.4172, allocations: 0.5517 MB / 0.626 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4172, allocations: 0 / 0.626 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.4173, allocations: 15.98 kB / 0.626 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.4174, allocations: 8 kB / 0.626 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.4187, allocations: 0.6222 MB / 0.6266 GB, free: 15.95 MB / 458.7 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.001922/0.4207, allocations: 1.63 MB / 0.6282 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.421, allocations: 154.5 kB / 0.6284 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.4211, allocations: 81.75 kB / 0.6285 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.4224, allocations: 1.326 MB / 0.6298 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4225, allocations: 34.56 kB / 0.6298 GB, free: 12.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.4225, allocations: 0 / 0.6298 GB, free: 12.4 MB / 458.7 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.0009492/0.4234, allocations: 330.4 kB / 0.6301 GB, free: 12.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.4235, allocations: 51.41 kB / 0.6302 GB, free: 12.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.4236, allocations: 187.3 kB / 0.6303 GB, free: 11.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.4237, allocations: 33.7 kB / 0.6304 GB, free: 11.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.4238, allocations: 187.3 kB / 0.6305 GB, free: 11.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.4238, allocations: 67.08 kB / 0.6306 GB, free: 11.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.4238, allocations: 8 kB / 0.6306 GB, free: 11.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.4239, allocations: 326.8 kB / 0.6309 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4241, allocations: 64.7 kB / 0.631 GB, free: 11.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.4243, allocations: 267.8 kB / 0.6312 GB, free: 10.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.4247, allocations: 365.6 kB / 0.6316 GB, free: 10.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4248, allocations: 4 kB / 0.6316 GB, free: 10.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005693/0.4253, allocations: 360.9 kB / 0.6319 GB, free: 9.957 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4254, allocations: 10.5 kB / 0.6319 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.4254, allocations: 7.938 kB / 0.632 GB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4254, allocations: 16.69 kB / 0.632 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.4258, allocations: 123.9 kB / 0.6321 GB, free: 9.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003197/0.4261, allocations: 0.6055 MB / 0.6327 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.4264, allocations: 49.59 kB / 0.6327 GB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.4264, allocations: 36 kB / 0.6328 GB, free: 9.094 MB / 458.7 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.0001348/0.4266, allocations: 153.6 kB / 0.6329 GB, free: 8.934 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.4266, allocations: 23.91 kB / 0.6329 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.4273, allocations: 292.8 kB / 0.6332 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4274, allocations: 4 kB / 0.6332 GB, free: 8.609 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4274, allocations: 0 / 0.6332 GB, free: 8.609 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4274, allocations: 3.984 kB / 0.6332 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.428, allocations: 0.5146 MB / 0.6337 GB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.428, allocations: 0 / 0.6337 GB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.4282, allocations: 60.09 kB / 0.6338 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4282, allocations: 0 / 0.6338 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.4283, allocations: 7.984 kB / 0.6338 GB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002744/0.4285, allocations: 0.6014 MB / 0.6344 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4286, allocations: 0 / 0.6344 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.4289, allocations: 278.9 kB / 0.6346 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.429, allocations: 116.8 kB / 0.6348 GB, free: 6.898 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.429, allocations: 0 / 0.6348 GB, free: 6.898 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.4293, allocations: 15.98 kB / 0.6348 GB, free: 6.883 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.4293, allocations: 19.98 kB / 0.6348 GB, free: 6.863 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.4293, allocations: 19.92 kB / 0.6348 GB, free: 6.844 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.4295, allocations: 138.1 kB / 0.6349 GB, free: 6.711 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4295, allocations: 3.938 kB / 0.6349 GB, free: 6.707 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006417/0.4301, allocations: 187.9 kB / 0.6351 GB, free: 6.523 MB / 458.7 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.001207/0.4313, allocations: 1.017 MB / 0.6361 GB, free: 5.484 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00046/0.4318, allocations: 225 kB / 0.6363 GB, free: 5.266 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4318, allocations: 1.875 kB / 0.6363 GB, free: 5.266 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.432, allocations: 83.89 kB / 0.6364 GB, free: 5.184 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.4325, allocations: 55.59 kB / 0.6365 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.4365, allocations: 2.842 MB / 0.6392 GB, free: 2.129 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.4367, allocations: 0.7207 MB / 0.6399 GB, free: 1.383 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.437, allocations: 99.38 kB / 0.64 GB, free: 1.285 MB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/0.437, allocations: 4 kB / 0.64 GB, free: 1.281 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.35/3.787, allocations: 5.751 MB / 0.6457 GB, free: 11.54 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches