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.001269/0.001275, allocations: 101.3 kB / 17 MB, free: 6.844 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.001637/0.001637, allocations: 186.3 kB / 17.89 MB, free: 6.078 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.453/1.453, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.006139/0.1249, allocations: 4.689 MB / 476.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.128, allocations: 2.439 MB / 478.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.1281, allocations: 4 kB / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.1284, allocations: 27.83 kB / 478.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.1308, allocations: 0.8719 MB / 479.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1312, allocations: 149.2 kB / 479.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.1316, allocations: 298.7 kB / 480.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.1317, allocations: 9.562 kB / 480.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.1329, allocations: 0.7061 MB / 480.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1332, allocations: 151.6 kB / 481 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1332, allocations: 4 kB / 481 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.1354, allocations: 1.139 MB / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.1355, allocations: 27.89 kB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.1355, allocations: 57.58 kB / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.1361, allocations: 367.3 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1361, allocations: 0 / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1361, allocations: 0 / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1362, allocations: 4 kB / 482.6 MB, free: 2.676 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.0009066/0.1371, allocations: 0.5184 MB / 483.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1371, allocations: 12.03 kB / 483.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.1372, allocations: 50.55 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.1376, allocations: 47.77 kB / 483.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1378, allocations: 206.8 kB / 483.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1379, allocations: 15.95 kB / 483.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1379, allocations: 16 kB / 483.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.1383, allocations: 241.8 kB / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1383, allocations: 0 / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.1383, allocations: 11.98 kB / 483.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1384, allocations: 15.94 kB / 483.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.1387, allocations: 232.5 kB / 483.9 MB, free: 1.195 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.001318/0.14, allocations: 1.361 MB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1402, allocations: 82.55 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.728e-05/0.1403, allocations: 51.02 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/0.1419, allocations: 2.051 MB / 487.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.1421, allocations: 167 kB / 487.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1421, allocations: 0 / 487.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008757/0.143, allocations: 351.9 kB / 488 MB, free: 12.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.1432, allocations: 269.1 kB / 488.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1433, allocations: 151.8 kB / 488.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1433, allocations: 29.7 kB / 488.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.1434, allocations: 143.8 kB / 488.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.1435, allocations: 67.08 kB / 488.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.1435, allocations: 8 kB / 488.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1436, allocations: 323.5 kB / 488.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.1437, allocations: 43.97 kB / 489 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.1439, allocations: 187.4 kB / 489.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.144, allocations: 63.94 kB / 489.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.144, allocations: 4 kB / 489.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003789/0.1444, allocations: 253.7 kB / 489.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1444, allocations: 16.55 kB / 489.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1445, allocations: 7.938 kB / 489.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1445, allocations: 12 kB / 489.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.145, allocations: 107.8 kB / 489.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003908/0.1454, allocations: 0.5937 MB / 490.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1455, allocations: 11.94 kB / 490.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.1456, allocations: 20 kB / 490.2 MB, free: 10.07 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.1457, allocations: 146.3 kB / 490.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1457, allocations: 15.81 kB / 490.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.1463, allocations: 235.7 kB / 490.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1463, allocations: 0 / 490.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1463, allocations: 4.062 kB / 490.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1463, allocations: 4 kB / 490.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.1468, allocations: 440.8 kB / 491.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1468, allocations: 4 kB / 491.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.1471, allocations: 55.89 kB / 491.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1472, allocations: 0 / 491.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1472, allocations: 11.98 kB / 491.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003086/0.1475, allocations: 0.586 MB / 491.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1475, allocations: 0 / 491.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1477, allocations: 146.5 kB / 491.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.1479, allocations: 112.9 kB / 492 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.1479, allocations: 8.094 kB / 492 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.148, allocations: 0 / 492 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1481, allocations: 15.94 kB / 492 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1481, allocations: 12.08 kB / 492 MB, free: 8.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1482, allocations: 131.2 kB / 492.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1482, allocations: 0 / 492.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005246/0.1487, allocations: 135.9 kB / 492.3 MB, free: 7.852 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.1498, allocations: 0.8476 MB / 493.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1502, allocations: 152.7 kB / 493.3 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1503, allocations: 0 / 493.3 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.1504, allocations: 60.16 kB / 493.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.1508, allocations: 35.92 kB / 493.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.1531, allocations: 1.444 MB / 494.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1534, allocations: 0.7207 MB / 495.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.1537, allocations: 73.78 kB / 495.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1538, allocations: 55.41 kB / 495.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of SimCode: time 1.402e-06/0.1539, allocations: 0 / 495.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.1723, allocations: 5.751 MB / 0.4897 GB, free: 14.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.1725, allocations: 270.5 kB / 0.4899 GB, free: 14.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.267, allocations: 0 / 0.4899 GB, free: 14.44 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat