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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 195.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008759/0.0008759, allocations: 92.91 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.486e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5574, allocations: 192.1 MB / 0.6991 GB, free: 2.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.5577, allocations: 80.39 kB / 0.6991 GB, free: 2.457 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08465/0.6424, allocations: 34.89 MB / 0.7332 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6424, allocations: 0 / 0.7332 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.6424, allocations: 0 / 0.7332 GB, free: 3.312 MB / 0.5105 GB 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.001089/0.6435, allocations: 0.5917 MB / 0.7338 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.6436, allocations: 15.97 kB / 0.7338 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.6436, allocations: 50.48 kB / 0.7339 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.6441, allocations: 55.72 kB / 0.7339 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.6443, allocations: 198.9 kB / 0.7341 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.6444, allocations: 16 kB / 0.7341 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.6444, allocations: 16 kB / 0.7341 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.6448, allocations: 232.8 kB / 0.7343 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.6448, allocations: 0 / 0.7343 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.6449, allocations: 12 kB / 0.7344 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.6449, allocations: 7.953 kB / 0.7344 GB, free: 2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.6452, allocations: 228.5 kB / 0.7346 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.6465, allocations: 1.342 MB / 0.7359 GB, free: 312 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.6467, allocations: 82.56 kB / 0.736 GB, free: 220 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.6468, allocations: 45.19 kB / 0.736 GB, free: 172 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.6483, allocations: 2.102 MB / 0.7381 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.6485, allocations: 159.6 kB / 0.7382 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.6485, allocations: 0 / 0.7382 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0008504/0.6494, allocations: 323 kB / 0.7385 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6495, allocations: 265.5 kB / 0.7388 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.6497, allocations: 148.4 kB / 0.7389 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.6497, allocations: 29.7 kB / 0.739 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.6498, allocations: 143.8 kB / 0.7391 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.6499, allocations: 71.08 kB / 0.7392 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.6499, allocations: 4 kB / 0.7392 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.65, allocations: 322.8 kB / 0.7395 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.6501, allocations: 43.86 kB / 0.7395 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.6503, allocations: 179.2 kB / 0.7397 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.6504, allocations: 70.91 kB / 0.7397 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6505, allocations: 4 kB / 0.7398 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004256/0.6509, allocations: 257.5 kB / 0.74 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6509, allocations: 8.062 kB / 0.74 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.6509, allocations: 8 kB / 0.74 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.651, allocations: 8 kB / 0.74 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.6514, allocations: 95.88 kB / 0.7401 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003203/0.6518, allocations: 0.5941 MB / 0.7407 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.6519, allocations: 12 kB / 0.7407 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.652, allocations: 20 kB / 0.7407 GB, free: 10.7 MB / 0.5261 GB 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 () * 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 9.603e-05/0.6521, allocations: 134.5 kB / 0.7409 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.6521, allocations: 27.72 kB / 0.7409 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/0.6526, allocations: 219.6 kB / 0.7411 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6526, allocations: 3.953 kB / 0.7411 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.6526, allocations: 4 kB / 0.7411 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6526, allocations: 4 kB / 0.7411 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.6528, allocations: 213.6 kB / 0.7413 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6528, allocations: 0 / 0.7413 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.6532, allocations: 47.95 kB / 0.7413 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6532, allocations: 4 kB / 0.7414 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.6532, allocations: 0 / 0.7414 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002535/0.6534, allocations: 0.5938 MB / 0.7419 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6535, allocations: 0 / 0.7419 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.6537, allocations: 143.4 kB / 0.7421 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.6538, allocations: 124.8 kB / 0.7422 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.6538, allocations: 4.094 kB / 0.7422 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.654, allocations: 11.98 kB / 0.7422 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.654, allocations: 7.938 kB / 0.7422 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.654, allocations: 7.984 kB / 0.7422 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001021/0.6541, allocations: 127.2 kB / 0.7423 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.623e-06/0.6541, allocations: 0 / 0.7423 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005787/0.6547, allocations: 159.8 kB / 0.7425 GB, free: 8.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0009383/0.6556, allocations: 0.9258 MB / 0.7434 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.6561, allocations: 148.5 kB / 0.7435 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6561, allocations: 0 / 0.7435 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.6563, allocations: 47.92 kB / 0.7436 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.6565, allocations: 28.16 kB / 0.7436 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2578/0.9143, allocations: 11.65 MB / 0.755 GB, free: 178 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.9146, allocations: 0.7189 MB / 0.7557 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003218/0.9149, allocations: 76.27 kB / 0.7558 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.915, allocations: 56.7 kB / 0.7558 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.864e-06/0.915, allocations: 0 / 0.7558 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.9346, allocations: 5.48 MB / 0.7612 GB, free: 177.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.9348, allocations: 241.2 kB / 0.7614 GB, free: 176.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.588, allocations: 0 / 0.7614 GB, free: 176.8 MB / 0.5261 GB (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