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.001202/0.001202, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001397, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 45.91 MB / 344 MB, free: 12.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002551, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 63.46 MB / 481.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.004918/0.1261, allocations: 3.868 MB / 485.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.1294, allocations: 2.694 MB / 488.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.1295, allocations: 4 kB / 488.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1298, allocations: 39.75 kB / 488.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.1321, allocations: 0.8721 MB / 489 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1324, allocations: 142.5 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.1328, allocations: 207.5 kB / 489.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.236e-05/0.1329, allocations: 13.48 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.1342, allocations: 0.6787 MB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1345, allocations: 147.6 kB / 490.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1345, allocations: 4 kB / 490.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.1367, allocations: 1.12 MB / 491.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.1368, allocations: 43.88 kB / 491.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.1368, allocations: 53.58 kB / 491.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.1375, allocations: 371.5 kB / 491.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1375, allocations: 4 kB / 491.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1375, allocations: 0 / 491.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1375, allocations: 0 / 491.8 MB, free: 11.03 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.0008367/0.1383, allocations: 0.5261 MB / 492.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1384, allocations: 16.03 kB / 492.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.354e-05/0.1385, allocations: 46.55 kB / 492.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.1389, allocations: 47.78 kB / 492.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1391, allocations: 210.8 kB / 492.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1392, allocations: 19.98 kB / 492.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1392, allocations: 12 kB / 492.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.1396, allocations: 249.5 kB / 492.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.1396, allocations: 0 / 492.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.1397, allocations: 8 kB / 492.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1397, allocations: 4 kB / 492.9 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.14, allocations: 237.4 kB / 493.1 MB, free: 9.543 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.001274/0.1413, allocations: 1.38 MB / 494.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1415, allocations: 86.55 kB / 494.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.143, allocations: 2.055 MB / 496.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.1432, allocations: 169 kB / 496.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.1432, allocations: 0 / 496.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008586/0.1441, allocations: 355.4 kB / 497.2 MB, free: 4.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.1442, allocations: 265 kB / 497.4 MB, free: 4.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1444, allocations: 154.2 kB / 497.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1444, allocations: 30.33 kB / 497.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.1445, allocations: 147.8 kB / 497.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.1445, allocations: 71.03 kB / 497.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.1446, allocations: 4 kB / 497.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1447, allocations: 330.8 kB / 498.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.1448, allocations: 39.97 kB / 498.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.1449, allocations: 183.2 kB / 498.3 MB, free: 3.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1451, allocations: 71.92 kB / 498.4 MB, free: 3.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1451, allocations: 11.89 kB / 498.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003851/0.1455, allocations: 249.4 kB / 498.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1455, allocations: 8 kB / 498.7 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.1455, allocations: 7.984 kB / 498.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1455, allocations: 8 kB / 498.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.146, allocations: 99.81 kB / 498.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003681/0.1464, allocations: 0.5941 MB / 499.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1465, allocations: 11.98 kB / 499.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.1465, allocations: 23.95 kB / 499.4 MB, free: 2.438 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.0001212/0.1467, allocations: 144.2 kB / 499.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.1467, allocations: 19.8 kB / 499.6 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.1472, allocations: 244.4 kB / 499.8 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.1472, allocations: 4 kB / 499.8 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1472, allocations: 3.938 kB / 499.8 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1472, allocations: 0 / 499.8 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.1477, allocations: 457 kB / 0.4886 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1477, allocations: 0 / 0.4886 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.148, allocations: 47.95 kB / 0.4886 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.148, allocations: 7.938 kB / 0.4886 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1481, allocations: 0 / 0.4886 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000271/0.1483, allocations: 0.5899 MB / 0.4892 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1483, allocations: 4.125 kB / 0.4892 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.1485, allocations: 169.9 kB / 0.4893 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.1487, allocations: 124.9 kB / 0.4895 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.1487, allocations: 0 / 0.4895 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.1488, allocations: 12 kB / 0.4895 GB, free: 460 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1489, allocations: 7.984 kB / 0.4895 GB, free: 452 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.1489, allocations: 8 kB / 0.4895 GB, free: 444 kB / 366.1 MB Notification: Performance of sorting global known variables: time 9.648e-05/0.149, allocations: 127.8 kB / 0.4896 GB, free: 316 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.149, allocations: 0 / 0.4896 GB, free: 316 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004999/0.1495, allocations: 135.9 kB / 0.4897 GB, free: 180 kB / 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.0009683/0.1505, allocations: 1.014 MB / 0.4907 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004423/0.1509, allocations: 156.6 kB / 0.4909 GB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.151, allocations: 4.375 kB / 0.4909 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.1512, allocations: 51.91 kB / 0.4909 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.1514, allocations: 27.94 kB / 0.491 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.1542, allocations: 4.202 MB / 0.4951 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1546, allocations: 0.7206 MB / 0.4958 GB, free: 9.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.1549, allocations: 77.7 kB / 0.4958 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.155, allocations: 51.41 kB / 0.4959 GB, free: 9.668 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.155, allocations: 0 / 0.4959 GB, free: 9.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.1739, allocations: 5.792 MB / 0.5015 GB, free: 4.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.1741, allocations: 277.3 kB / 0.5018 GB, free: 3.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.21, allocations: 3.375 kB / 0.5018 GB, free: 3.723 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat