Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.001599/0.001599, allocations: 105.9 kB / 16.27 MB, free: 5.93 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.001961/0.001961, allocations: 191.3 kB / 17.2 MB, free: 5.574 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.439/1.439, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.225/0.225, allocations: 43.51 MB / 313.9 MB, free: 0.5273 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.001309/0.00131, allocations: 69.7 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1013, allocations: 57.78 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.00843/0.1098, allocations: 8.141 MB / 448.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1122, allocations: 1.897 MB / 450.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1123, allocations: 0 / 450.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1127, allocations: 51.67 kB / 450.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.1159, allocations: 1.283 MB / 452 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1163, allocations: 151.6 kB / 452.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.1167, allocations: 306.5 kB / 452.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.1167, allocations: 13.55 kB / 452.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.1178, allocations: 0.7406 MB / 453.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.1181, allocations: 151.6 kB / 453.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1181, allocations: 4 kB / 453.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.1202, allocations: 1.412 MB / 454.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.1203, allocations: 39.77 kB / 454.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1204, allocations: 83.64 kB / 454.9 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1215, allocations: 0.6509 MB / 455.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1215, allocations: 0 / 455.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1215, allocations: 0 / 455.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1215, allocations: 0 / 455.5 MB, free: 7.82 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00111/0.1226, allocations: 0.5887 MB / 456.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.1227, allocations: 15.89 kB / 456.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.843e-05/0.1227, allocations: 50.73 kB / 456.2 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.1232, allocations: 56.7 kB / 456.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1235, allocations: 200.2 kB / 456.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1235, allocations: 16.38 kB / 456.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1235, allocations: 12.38 kB / 456.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.1239, allocations: 248.6 kB / 456.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.124, allocations: 0 / 456.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.124, allocations: 12 kB / 456.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.124, allocations: 8 kB / 456.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.1244, allocations: 232.5 kB / 457 MB, free: 6.273 MB / 334.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.001385/0.1258, allocations: 1.38 MB / 458.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.126, allocations: 87.81 kB / 458.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.126, allocations: 40.84 kB / 458.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002156/0.1282, allocations: 2.649 MB / 461.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000309/0.1285, allocations: 167.9 kB / 461.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.1285, allocations: 0 / 461.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009537/0.1295, allocations: 363.3 kB / 461.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.1296, allocations: 266 kB / 461.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1298, allocations: 153.7 kB / 462 MB, free: 404 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1298, allocations: 37.7 kB / 462.1 MB, free: 360 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.1299, allocations: 135.8 kB / 462.2 MB, free: 220 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.13, allocations: 75.02 kB / 462.3 MB, free: 144 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.1301, allocations: 61.69 kB / 462.3 MB, free: 76 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1302, allocations: 322.8 kB / 462.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.1303, allocations: 43.97 kB / 462.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.1305, allocations: 194.6 kB / 462.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1308, allocations: 258.6 kB / 463.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1308, allocations: 0 / 463.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000416/0.1312, allocations: 264.7 kB / 463.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1313, allocations: 11.98 kB / 463.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1313, allocations: 4 kB / 463.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1313, allocations: 8.656 kB / 463.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.1318, allocations: 99.81 kB / 463.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003396/0.1321, allocations: 0.5941 MB / 464.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.1323, allocations: 19.89 kB / 464.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.1323, allocations: 23.98 kB / 464.2 MB, free: 14.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.1324, allocations: 141.7 kB / 464.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.1325, allocations: 15.84 kB / 464.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.1329, allocations: 231.9 kB / 464.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.133, allocations: 4.062 kB / 464.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.133, allocations: 7.938 kB / 464.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.133, allocations: 0 / 464.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.1332, allocations: 229.5 kB / 464.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1332, allocations: 0 / 464.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.1336, allocations: 55.94 kB / 464.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1336, allocations: 0 / 464.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1336, allocations: 3.984 kB / 464.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002567/0.1339, allocations: 0.5977 MB / 465.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1339, allocations: 0 / 465.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1341, allocations: 146.6 kB / 465.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/0.1342, allocations: 104.9 kB / 465.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1342, allocations: 3.906 kB / 465.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1344, allocations: 12.09 kB / 465.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.1344, allocations: 15.92 kB / 465.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1344, allocations: 11.98 kB / 465.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.539e-05/0.1345, allocations: 119.2 kB / 465.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1345, allocations: 0 / 465.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005572/0.1351, allocations: 179.9 kB / 466 MB, free: 12.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.1362, allocations: 0.9197 MB / 466.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004846/0.1367, allocations: 164.9 kB / 467.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1367, allocations: 4.062 kB / 467.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.1369, allocations: 55.91 kB / 467.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1373, allocations: 48.06 kB / 467.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.1402, allocations: 2.51 MB / 469.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1405, allocations: 0.7167 MB / 470.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.1408, allocations: 77.53 kB / 470.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1409, allocations: 51.42 kB / 470.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1409, allocations: 0 / 470.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05899/0.1999, allocations: 7.388 MB / 477.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.66, allocations: 7.797 kB / 477.9 MB, free: 15.91 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches