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.001378/0.001378, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 80.98 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1261, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007942/0.1341, allocations: 5.308 MB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.1378, allocations: 2.643 MB / 488.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.138, allocations: 4 kB / 488.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1384, allocations: 43.69 kB / 488.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.1419, allocations: 1.062 MB / 489.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.1423, allocations: 151.4 kB / 489.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005474/0.1428, allocations: 298.6 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.1429, allocations: 17.48 kB / 489.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.144, allocations: 0.6473 MB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.1444, allocations: 155.5 kB / 490.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.1444, allocations: 8 kB / 490.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.1466, allocations: 1.166 MB / 491.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.1467, allocations: 35.83 kB / 491.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1468, allocations: 79.64 kB / 491.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.1481, allocations: 0.5379 MB / 492.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1481, allocations: 4 kB / 492.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1481, allocations: 0 / 492.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1481, allocations: 0 / 492.3 MB, free: 9.016 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.001035/0.1492, allocations: 0.5614 MB / 492.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1492, allocations: 8.031 kB / 492.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.797e-05/0.1493, allocations: 50.73 kB / 492.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/0.1498, allocations: 48.72 kB / 492.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.15, allocations: 216 kB / 493.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.15, allocations: 20.12 kB / 493.2 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.1501, allocations: 16 kB / 493.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.1505, allocations: 240.5 kB / 493.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1505, allocations: 0 / 493.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.1505, allocations: 12 kB / 493.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1505, allocations: 4 kB / 493.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.1509, allocations: 233.4 kB / 493.7 MB, free: 7.496 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.001349/0.1523, allocations: 1.368 MB / 495 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1525, allocations: 94.52 kB / 495.1 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.1526, allocations: 40.84 kB / 495.2 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/0.1541, allocations: 2.051 MB / 497.2 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.1544, allocations: 177.3 kB / 497.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.1545, allocations: 0 / 497.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009392/0.1554, allocations: 351.1 kB / 497.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.1556, allocations: 274 kB / 498 MB, free: 2.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1557, allocations: 149.7 kB / 498.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1558, allocations: 30.36 kB / 498.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.1559, allocations: 147.7 kB / 498.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.1559, allocations: 67.09 kB / 498.4 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.156, allocations: 61.61 kB / 498.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1561, allocations: 322.8 kB / 498.8 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.1562, allocations: 39.97 kB / 498.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.1564, allocations: 190.6 kB / 499 MB, free: 1.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.1567, allocations: 258.5 kB / 499.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1567, allocations: 4 kB / 499.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004321/0.1572, allocations: 260.5 kB / 499.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1572, allocations: 8.656 kB / 499.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1572, allocations: 4 kB / 499.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1573, allocations: 12 kB / 499.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.1577, allocations: 103.8 kB / 499.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003561/0.1581, allocations: 0.5975 MB / 0.4885 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1583, allocations: 15.94 kB / 0.4885 GB, free: 52 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.1583, allocations: 23.98 kB / 0.4885 GB, free: 28 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.0001685/0.1585, allocations: 133.9 kB / 0.4887 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.1585, allocations: 19.81 kB / 0.4887 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/0.1591, allocations: 227.7 kB / 0.4889 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1591, allocations: 7.984 kB / 0.4889 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1591, allocations: 3.938 kB / 0.4889 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1591, allocations: 4.062 kB / 0.4889 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.1596, allocations: 440.9 kB / 0.4893 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1596, allocations: 4 kB / 0.4893 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.16, allocations: 55.89 kB / 0.4894 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.16, allocations: 7.938 kB / 0.4894 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.16, allocations: 0 / 0.4894 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003362/0.1604, allocations: 0.5822 MB / 0.49 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1604, allocations: 4.031 kB / 0.49 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1606, allocations: 150.4 kB / 0.4901 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.217e-05/0.1607, allocations: 97.09 kB / 0.4902 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.1608, allocations: 11.88 kB / 0.4902 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1609, allocations: 12.08 kB / 0.4902 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.161, allocations: 8 kB / 0.4902 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.161, allocations: 7.984 kB / 0.4902 GB, free: 14.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1611, allocations: 127.2 kB / 0.4904 GB, free: 13.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1611, allocations: 0 / 0.4904 GB, free: 13.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005695/0.1617, allocations: 131.9 kB / 0.4905 GB, free: 13.84 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.001104/0.1628, allocations: 0.8506 MB / 0.4913 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005051/0.1633, allocations: 160.9 kB / 0.4915 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1633, allocations: 0 / 0.4915 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.1636, allocations: 52.08 kB / 0.4915 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.164, allocations: 64.88 kB / 0.4916 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.1679, allocations: 2.508 MB / 0.494 GB, free: 9.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1683, allocations: 0.7168 MB / 0.4947 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.1687, allocations: 73.7 kB / 0.4948 GB, free: 9.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1688, allocations: 59.41 kB / 0.4949 GB, free: 9.094 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1688, allocations: 0 / 0.4949 GB, free: 9.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.196, allocations: 6.626 MB / 0.5013 GB, free: 2.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.57, allocations: 9.297 kB / 0.5013 GB, free: 2.641 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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