Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 108.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001276, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.3 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.12 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 76.38 kB / 416.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 62.45 MB / 479.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008917/0.1278, allocations: 5.423 MB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.1314, allocations: 2.671 MB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1316, allocations: 4 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1319, allocations: 31.81 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.135, allocations: 0.9577 MB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.1354, allocations: 142.4 kB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006169/0.1361, allocations: 342.6 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.1362, allocations: 13.55 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.1375, allocations: 0.7406 MB / 489.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.1378, allocations: 167.5 kB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.1379, allocations: 4 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.1402, allocations: 1.267 MB / 491.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.1403, allocations: 35.89 kB / 491.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1404, allocations: 75.59 kB / 491.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1416, allocations: 0.5418 MB / 491.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1416, allocations: 0 / 491.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1416, allocations: 0 / 491.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1416, allocations: 0 / 491.8 MB, free: 9.121 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.001074/0.1427, allocations: 0.5654 MB / 492.4 MB, free: 8.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1427, allocations: 12.81 kB / 492.4 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.958e-05/0.1428, allocations: 50.73 kB / 492.4 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.1433, allocations: 48.72 kB / 492.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1436, allocations: 212 kB / 492.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1436, allocations: 16.12 kB / 492.7 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1436, allocations: 20 kB / 492.7 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.1441, allocations: 244.4 kB / 492.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1441, allocations: 0 / 492.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.1441, allocations: 12 kB / 493 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1441, allocations: 4 kB / 493 MB, free: 7.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.1445, allocations: 232.5 kB / 493.2 MB, free: 7.594 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.001369/0.1459, allocations: 1.365 MB / 494.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1461, allocations: 90.53 kB / 494.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.1462, allocations: 40.84 kB / 494.7 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/0.1478, allocations: 2.055 MB / 496.7 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.1481, allocations: 174.9 kB / 496.9 MB, free: 3.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/0.1481, allocations: 0 / 496.9 MB, free: 3.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001004/0.1491, allocations: 351.6 kB / 497.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.1493, allocations: 278 kB / 497.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1494, allocations: 145.7 kB / 497.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1494, allocations: 29.7 kB / 497.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/0.1495, allocations: 147.7 kB / 497.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.1496, allocations: 67.09 kB / 497.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.1497, allocations: 61.61 kB / 498 MB, free: 2.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1498, allocations: 326.8 kB / 498.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.1499, allocations: 39.97 kB / 498.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.1501, allocations: 195.5 kB / 498.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.1504, allocations: 254.5 kB / 498.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.1505, allocations: 4 kB / 498.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004392/0.1509, allocations: 257.7 kB / 499 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1509, allocations: 4 kB / 499 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.1509, allocations: 12.03 kB / 499 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.151, allocations: 4 kB / 499 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.1514, allocations: 99.88 kB / 499.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003638/0.1518, allocations: 0.6015 MB / 499.7 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.152, allocations: 15.92 kB / 499.8 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.152, allocations: 24 kB / 499.8 MB, free: 132 kB / 366.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.000162/0.1522, allocations: 133.9 kB / 499.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.1523, allocations: 19.81 kB / 499.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.1528, allocations: 227.8 kB / 0.4884 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1528, allocations: 4 kB / 0.4884 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1528, allocations: 8.188 kB / 0.4884 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1528, allocations: 0 / 0.4884 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.1533, allocations: 448.7 kB / 0.4889 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1533, allocations: 0 / 0.4889 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.1537, allocations: 47.95 kB / 0.4889 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.1537, allocations: 7.938 kB / 0.4889 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1538, allocations: 4 kB / 0.4889 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003502/0.1541, allocations: 0.586 MB / 0.4895 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1541, allocations: 4.031 kB / 0.4895 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1544, allocations: 154.3 kB / 0.4896 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.1545, allocations: 97 kB / 0.4897 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.1545, allocations: 12.03 kB / 0.4897 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1547, allocations: 11.98 kB / 0.4898 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.1547, allocations: 8 kB / 0.4898 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.1547, allocations: 7.984 kB / 0.4898 GB, free: 14.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1548, allocations: 123.8 kB / 0.4899 GB, free: 14.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1549, allocations: 4 kB / 0.4899 GB, free: 14.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005445/0.1554, allocations: 135.9 kB / 0.49 GB, free: 13.93 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.00111/0.1565, allocations: 0.8416 MB / 0.4908 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005035/0.157, allocations: 156.2 kB / 0.491 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1571, allocations: 4.312 kB / 0.491 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1573, allocations: 59.84 kB / 0.4911 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.1577, allocations: 51.89 kB / 0.4911 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.1612, allocations: 2.558 MB / 0.4936 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1615, allocations: 0.7206 MB / 0.4943 GB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003042/0.1618, allocations: 73.7 kB / 0.4944 GB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1619, allocations: 55.41 kB / 0.4944 GB, free: 9.148 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1619, allocations: 0 / 0.4944 GB, free: 9.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.1831, allocations: 6.4 MB / 0.5007 GB, free: 2.945 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/0.1833, allocations: 290.8 kB / 0.501 GB, free: 2.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.348, allocations: 5.75 kB / 0.501 GB, free: 2.562 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches