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.001226/0.001227, allocations: 110.8 kB / 17.33 MB, free: 6.023 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.001029/0.001029, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.368/1.368, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2051/0.2051, allocations: 44.18 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 58.92 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.006858/0.112, allocations: 5.282 MB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1147, allocations: 2.636 MB / 476.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.1148, allocations: 3.938 kB / 476.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1151, allocations: 39.75 kB / 476.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.1175, allocations: 0.9679 MB / 477.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1178, allocations: 141.5 kB / 477.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.1182, allocations: 302.7 kB / 478.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.1182, allocations: 13.56 kB / 478.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.1193, allocations: 0.7446 MB / 478.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.1196, allocations: 171.4 kB / 479.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.1196, allocations: 8 kB / 479.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.1214, allocations: 1.244 MB / 480.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.107e-05/0.1215, allocations: 35.83 kB / 480.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.1216, allocations: 87.59 kB / 480.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000861/0.1224, allocations: 0.534 MB / 481 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1224, allocations: 0 / 481 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1224, allocations: 0 / 481 MB, free: 2.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1225, allocations: 0 / 481 MB, free: 2.398 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.0009706/0.1234, allocations: 0.5614 MB / 481.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1235, allocations: 12.03 kB / 481.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.1235, allocations: 54.73 kB / 481.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.124, allocations: 44.72 kB / 481.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1242, allocations: 216 kB / 481.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1242, allocations: 16.12 kB / 481.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1243, allocations: 16 kB / 481.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.1247, allocations: 241.8 kB / 482.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1247, allocations: 0 / 482.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.1247, allocations: 8 kB / 482.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1247, allocations: 4 kB / 482.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.1251, allocations: 240.5 kB / 482.4 MB, free: 0.875 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.001208/0.1263, allocations: 1.357 MB / 483.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1265, allocations: 94.53 kB / 483.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.1266, allocations: 40.84 kB / 483.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.128, allocations: 2.051 MB / 485.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.1283, allocations: 173.8 kB / 486.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.1283, allocations: 0 / 486.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009085/0.1292, allocations: 351.6 kB / 486.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1293, allocations: 269 kB / 486.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1295, allocations: 151.2 kB / 486.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1295, allocations: 33.7 kB / 486.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.1296, allocations: 144.3 kB / 487 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.1296, allocations: 71.08 kB / 487.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.1297, allocations: 61.61 kB / 487.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.1298, allocations: 322.8 kB / 487.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.1299, allocations: 47.97 kB / 487.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1301, allocations: 188.4 kB / 487.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.1304, allocations: 262.6 kB / 488 MB, free: 10.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1304, allocations: 4 kB / 488 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000404/0.1308, allocations: 253.2 kB / 488.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1308, allocations: 8 kB / 488.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1308, allocations: 4 kB / 488.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1308, allocations: 8 kB / 488.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.1313, allocations: 99.81 kB / 488.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003062/0.1316, allocations: 0.5988 MB / 488.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1318, allocations: 15.94 kB / 489 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.1319, allocations: 23.94 kB / 489 MB, free: 9.426 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.0001288/0.132, allocations: 129.8 kB / 489.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.132, allocations: 23.8 kB / 489.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.1325, allocations: 227.8 kB / 489.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1325, allocations: 7.938 kB / 489.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1326, allocations: 3.938 kB / 489.4 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1326, allocations: 0 / 489.4 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.133, allocations: 448.9 kB / 489.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.133, allocations: 3.984 kB / 489.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.1334, allocations: 59.89 kB / 489.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1334, allocations: 3.938 kB / 489.9 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1334, allocations: 0 / 489.9 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002864/0.1337, allocations: 0.5861 MB / 490.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1337, allocations: 3.938 kB / 490.5 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1339, allocations: 150.6 kB / 490.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.134, allocations: 93 kB / 490.7 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.134, allocations: 11.94 kB / 490.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1342, allocations: 7.984 kB / 490.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.1342, allocations: 11.98 kB / 490.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1343, allocations: 8 kB / 490.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1344, allocations: 131.8 kB / 490.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1344, allocations: 0 / 490.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005941/0.135, allocations: 139.9 kB / 491 MB, free: 7.219 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.001129/0.1361, allocations: 0.8422 MB / 491.8 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.1367, allocations: 163.6 kB / 492 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1367, allocations: 0 / 492 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1369, allocations: 57.33 kB / 492.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.1373, allocations: 43.97 kB / 492.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.1407, allocations: 2.55 MB / 494.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.141, allocations: 0.7128 MB / 495.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.1413, allocations: 81.58 kB / 495.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.1415, allocations: 55.41 kB / 495.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1415, allocations: 0 / 495.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.1633, allocations: 6.446 MB / 0.4902 GB, free: 12.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.1636, allocations: 292.8 kB / 0.4905 GB, free: 11.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.199, allocations: 0 / 0.4905 GB, free: 11.87 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