Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001183, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 74.2 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1129, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.01062/0.1236, allocations: 5.304 MB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.1283, allocations: 2.647 MB / 488.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1285, allocations: 0 / 488.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1288, allocations: 39.75 kB / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.1324, allocations: 1.105 MB / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.1329, allocations: 151 kB / 489.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.1335, allocations: 302.7 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.152e-05/0.1336, allocations: 9.547 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.1353, allocations: 0.7369 MB / 490.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.1357, allocations: 163.4 kB / 490.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.1357, allocations: 8 kB / 490.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.1385, allocations: 1.283 MB / 491.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.397e-05/0.1387, allocations: 35.83 kB / 491.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.1388, allocations: 79.64 kB / 492 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.1402, allocations: 0.5418 MB / 492.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1402, allocations: 0 / 492.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1403, allocations: 0 / 492.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1403, allocations: 4 kB / 492.5 MB, free: 8.734 MB / 366.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.001287/0.1416, allocations: 0.5614 MB / 493.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1416, allocations: 8.031 kB / 493.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.1417, allocations: 54.73 kB / 493.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006633/0.1424, allocations: 44.72 kB / 493.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1427, allocations: 220 kB / 493.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1427, allocations: 12.12 kB / 493.4 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.1427, allocations: 24 kB / 493.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.1433, allocations: 244.5 kB / 493.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1433, allocations: 3.938 kB / 493.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1434, allocations: 12 kB / 493.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1434, allocations: 8 kB / 493.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.1437, allocations: 225.4 kB / 493.9 MB, free: 7.207 MB / 366.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.001241/0.145, allocations: 1.365 MB / 495.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1452, allocations: 82.61 kB / 495.4 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.1452, allocations: 44.84 kB / 495.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/0.1467, allocations: 2.047 MB / 497.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.147, allocations: 174.9 kB / 497.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.873e-06/0.147, allocations: 3.938 kB / 497.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008629/0.1479, allocations: 352.6 kB / 498 MB, free: 2.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.148, allocations: 269 kB / 498.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1481, allocations: 148.9 kB / 498.4 MB, free: 2.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1482, allocations: 29.69 kB / 498.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.1482, allocations: 147.8 kB / 498.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.1483, allocations: 67.03 kB / 498.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.1484, allocations: 69.55 kB / 498.7 MB, free: 1.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1485, allocations: 326.9 kB / 499 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.1486, allocations: 47.97 kB / 499.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.1488, allocations: 186.7 kB / 499.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.149, allocations: 257.7 kB / 499.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1491, allocations: 0 / 499.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004012/0.1495, allocations: 261.5 kB / 499.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1495, allocations: 8 kB / 499.8 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1495, allocations: 4 kB / 499.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1495, allocations: 11.94 kB / 499.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.15, allocations: 99.86 kB / 499.9 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000332/0.1503, allocations: 0.6017 MB / 0.4887 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1505, allocations: 16 kB / 0.4888 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.1505, allocations: 23.98 kB / 0.4888 GB, free: 15.75 MB / 382.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.0001119/0.1506, allocations: 129.8 kB / 0.4889 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.1507, allocations: 23.8 kB / 0.4889 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.1511, allocations: 227.8 kB / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1511, allocations: 0 / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1512, allocations: 3.938 kB / 0.4891 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1512, allocations: 4 kB / 0.4892 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.1515, allocations: 436.8 kB / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1516, allocations: 4 kB / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.1519, allocations: 59.89 kB / 0.4896 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1519, allocations: 8.031 kB / 0.4896 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1519, allocations: 4 kB / 0.4896 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002884/0.1522, allocations: 0.5782 MB / 0.4902 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1522, allocations: 3.938 kB / 0.4902 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1525, allocations: 154.6 kB / 0.4904 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.1525, allocations: 97.09 kB / 0.4904 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1526, allocations: 7.875 kB / 0.4905 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1527, allocations: 11.98 kB / 0.4905 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.1527, allocations: 7.984 kB / 0.4905 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.1528, allocations: 11.98 kB / 0.4905 GB, free: 13.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.265e-05/0.1529, allocations: 119.2 kB / 0.4906 GB, free: 13.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1529, allocations: 0 / 0.4906 GB, free: 13.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004989/0.1534, allocations: 151.9 kB / 0.4907 GB, free: 13.55 MB / 382.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.0009357/0.1543, allocations: 0.8469 MB / 0.4916 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1548, allocations: 168.3 kB / 0.4917 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1548, allocations: 4 kB / 0.4917 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.155, allocations: 51.89 kB / 0.4918 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1554, allocations: 55.34 kB / 0.4918 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.1582, allocations: 2.508 MB / 0.4943 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1585, allocations: 0.7128 MB / 0.495 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002722/0.1588, allocations: 69.72 kB / 0.4951 GB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.1589, allocations: 63.39 kB / 0.4951 GB, free: 8.809 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1589, allocations: 0 / 0.4951 GB, free: 8.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.1848, allocations: 6.632 MB / 0.5016 GB, free: 2.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.88, allocations: 5.484 kB / 0.5016 GB, free: 2.359 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches