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.0009533/0.0009533, allocations: 98.27 kB / 16.99 MB, free: 6.402 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.0009102/0.0009102, allocations: 183.5 kB / 17.88 MB, free: 5.965 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.335/1.335, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2036/0.2036, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 9.531 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1136, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.00501/0.1187, allocations: 3.812 MB / 475.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.1221, allocations: 2.709 MB / 478.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1222, allocations: 0 / 478.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1225, allocations: 31.81 kB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.1252, allocations: 0.8649 MB / 479 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1256, allocations: 137.9 kB / 479.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.1259, allocations: 207.5 kB / 479.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.427e-05/0.126, allocations: 9.547 kB / 479.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.1272, allocations: 0.6787 MB / 480 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.1275, allocations: 135.7 kB / 480.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1275, allocations: 7.938 kB / 480.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.1296, allocations: 1.108 MB / 481.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.1297, allocations: 31.84 kB / 481.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.1297, allocations: 61.62 kB / 481.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.1304, allocations: 359.6 kB / 481.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1304, allocations: 3.938 kB / 481.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1305, allocations: 0 / 481.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1305, allocations: 0 / 481.7 MB, free: 3.453 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.0009257/0.1314, allocations: 0.5222 MB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1314, allocations: 16.03 kB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.1315, allocations: 50.55 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.132, allocations: 47.78 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1322, allocations: 210.8 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1322, allocations: 15.95 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1323, allocations: 20 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.1327, allocations: 233.8 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1327, allocations: 4 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.1328, allocations: 8 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1328, allocations: 4 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.1331, allocations: 240.5 kB / 483 MB, free: 1.969 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.001794/0.1349, allocations: 1.384 MB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1351, allocations: 82.61 kB / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/0.137, allocations: 2.059 MB / 486.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.1374, allocations: 159.5 kB / 486.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/0.1374, allocations: 4 kB / 486.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001062/0.1385, allocations: 355.5 kB / 487.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.1387, allocations: 265 kB / 487.3 MB, free: 13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1388, allocations: 150.2 kB / 487.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1389, allocations: 34.23 kB / 487.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.139, allocations: 147.7 kB / 487.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.139, allocations: 78.95 kB / 487.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.1391, allocations: 4 kB / 487.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1392, allocations: 322.8 kB / 488.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.1393, allocations: 44.62 kB / 488.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.1395, allocations: 179.4 kB / 488.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1396, allocations: 67.94 kB / 488.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1396, allocations: 0 / 488.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003972/0.14, allocations: 261.4 kB / 488.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.14, allocations: 4 kB / 488.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1401, allocations: 8 kB / 488.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1401, allocations: 11.89 kB / 488.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.1405, allocations: 95.88 kB / 488.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005586/0.1411, allocations: 0.6018 MB / 489.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.1413, allocations: 12 kB / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.1413, allocations: 16 kB / 489.3 MB, free: 10.87 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.0002096/0.1415, allocations: 142.2 kB / 489.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.1416, allocations: 23.77 kB / 489.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/0.1421, allocations: 235.8 kB / 489.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1421, allocations: 0 / 489.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1421, allocations: 4 kB / 489.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1421, allocations: 7.984 kB / 489.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.1428, allocations: 452.9 kB / 490.2 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1429, allocations: 0 / 490.2 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.1432, allocations: 47.97 kB / 490.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1432, allocations: 3.984 kB / 490.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1432, allocations: 8 kB / 490.2 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004385/0.1437, allocations: 0.5821 MB / 490.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1437, allocations: 4.125 kB / 490.8 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.1439, allocations: 170 kB / 491 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1441, allocations: 120.9 kB / 491.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.1441, allocations: 7.953 kB / 491.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.1442, allocations: 11.98 kB / 491.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.1443, allocations: 7.938 kB / 491.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1443, allocations: 15.98 kB / 491.2 MB, free: 8.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1444, allocations: 123.3 kB / 491.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1444, allocations: 3.938 kB / 491.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005344/0.1449, allocations: 139.9 kB / 491.4 MB, free: 8.594 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.001185/0.1461, allocations: 0.9988 MB / 492.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.1466, allocations: 152.9 kB / 492.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.1466, allocations: 4.062 kB / 492.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.1468, allocations: 52.06 kB / 492.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.1471, allocations: 32.08 kB / 492.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.1509, allocations: 4.201 MB / 496.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.1515, allocations: 0.7245 MB / 497.6 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.1518, allocations: 77.83 kB / 497.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.1519, allocations: 63.33 kB / 497.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1519, allocations: 0 / 497.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.1713, allocations: 5.703 MB / 0.4916 GB, free: 12.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003941/0.1717, allocations: 270 kB / 0.4919 GB, free: 12.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.209, allocations: 0 / 0.4919 GB, free: 12.27 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