Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",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.001453/0.001453, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001822/0.001822, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1968/0.1968, allocations: 44.17 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.92 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1262, allocations: 60.84 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007979/0.1342, allocations: 5.345 MB / 474 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.1378, allocations: 2.682 MB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.138, allocations: 4 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.1383, allocations: 31.83 kB / 476.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.1412, allocations: 0.9484 MB / 477.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.1416, allocations: 143 kB / 477.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.1421, allocations: 334.6 kB / 478.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.1422, allocations: 13.55 kB / 478.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.1435, allocations: 0.7445 MB / 478.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.1439, allocations: 155.5 kB / 479 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.1439, allocations: 4 kB / 479 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.1462, allocations: 1.236 MB / 480.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.999e-05/0.1463, allocations: 35.83 kB / 480.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1464, allocations: 79.59 kB / 480.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.1476, allocations: 0.5378 MB / 480.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1476, allocations: 0 / 480.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1476, allocations: 0 / 480.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1476, allocations: 4 kB / 480.9 MB, free: 2.402 MB / 350.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.001198/0.1488, allocations: 0.5615 MB / 481.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1489, allocations: 8.031 kB / 481.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.171e-05/0.149, allocations: 46.73 kB / 481.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004669/0.1495, allocations: 48.72 kB / 481.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1497, allocations: 216 kB / 481.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1497, allocations: 16.12 kB / 481.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1498, allocations: 20 kB / 481.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.1502, allocations: 249.7 kB / 482.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1503, allocations: 0 / 482.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.1503, allocations: 8 kB / 482.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1503, allocations: 8 kB / 482.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.1507, allocations: 240.5 kB / 482.3 MB, free: 0.8711 MB / 350.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.001463/0.1522, allocations: 1.353 MB / 483.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1524, allocations: 86.55 kB / 483.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.1525, allocations: 48.84 kB / 483.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001704/0.1542, allocations: 2.035 MB / 485.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/0.1545, allocations: 178.8 kB / 486 MB, free: 12.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1545, allocations: 0 / 486 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009391/0.1555, allocations: 352 kB / 486.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1556, allocations: 273.1 kB / 486.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1558, allocations: 149.7 kB / 486.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1558, allocations: 33.7 kB / 486.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.1559, allocations: 143.7 kB / 486.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.1559, allocations: 67.09 kB / 487 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.156, allocations: 61.61 kB / 487.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1562, allocations: 326.8 kB / 487.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.1563, allocations: 43.98 kB / 487.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1565, allocations: 186.7 kB / 487.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.1568, allocations: 257.9 kB / 487.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-05/0.1569, allocations: 4 kB / 487.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004337/0.1574, allocations: 257.7 kB / 488.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1574, allocations: 14.5 kB / 488.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1574, allocations: 4 kB / 488.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1574, allocations: 8 kB / 488.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.1579, allocations: 99.88 kB / 488.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003585/0.1583, allocations: 0.5975 MB / 488.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.1584, allocations: 15.94 kB / 488.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.1585, allocations: 24.09 kB / 488.9 MB, free: 9.434 MB / 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.0001305/0.1586, allocations: 133.7 kB / 489 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.1587, allocations: 23.8 kB / 489 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.1592, allocations: 228.5 kB / 489.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1592, allocations: 4 kB / 489.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1592, allocations: 3.938 kB / 489.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1592, allocations: 3.984 kB / 489.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.1597, allocations: 444.8 kB / 489.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1597, allocations: 0 / 489.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.1601, allocations: 51.95 kB / 489.8 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1601, allocations: 3.938 kB / 489.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1601, allocations: 8.094 kB / 489.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000322/0.1604, allocations: 0.5821 MB / 490.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1605, allocations: 0 / 490.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1607, allocations: 154.6 kB / 490.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.1608, allocations: 93 kB / 490.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.1608, allocations: 11.88 kB / 490.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.161, allocations: 15.98 kB / 490.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.161, allocations: 7.984 kB / 490.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.161, allocations: 8 kB / 490.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1612, allocations: 131.8 kB / 490.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1612, allocations: 0 / 490.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005344/0.1617, allocations: 135.9 kB / 490.9 MB, free: 7.234 MB / 366.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.001087/0.1628, allocations: 0.8432 MB / 491.7 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.1633, allocations: 160.9 kB / 491.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1633, allocations: 96 / 491.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.1635, allocations: 55.84 kB / 492 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.164, allocations: 49.27 kB / 492 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.1672, allocations: 2.535 MB / 494.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1676, allocations: 0.7167 MB / 495.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.1679, allocations: 77.7 kB / 495.3 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.168, allocations: 55.41 kB / 495.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.168, allocations: 0 / 495.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.1884, allocations: 6.322 MB / 0.4899 GB, free: 12.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.1886, allocations: 303.7 kB / 0.4902 GB, free: 11.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.29, allocations: 0 / 0.4902 GB, free: 11.99 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches