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.00122/0.00122, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008528/0.0008528, allocations: 96.59 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 45.14 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.236e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1256, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5679/0.6935, allocations: 191.4 MB / 0.6914 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.6939, allocations: 80.02 kB / 0.6915 GB, free: 11.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08906/0.7829, allocations: 34.67 MB / 0.7253 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.012e-06/0.783, allocations: 0 / 0.7253 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.783, allocations: 4 kB / 0.7254 GB, free: 12.92 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.001222/0.7843, allocations: 0.58 MB / 0.7259 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.7843, allocations: 12.03 kB / 0.7259 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004602/0.7848, allocations: 51.67 kB / 0.726 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.785, allocations: 218.8 kB / 0.7262 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7851, allocations: 4 kB / 0.7262 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.7851, allocations: 8 kB / 0.7262 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000321/0.7854, allocations: 203.8 kB / 0.7264 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.7857, allocations: 216.8 kB / 0.7266 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.7858, allocations: 0 / 0.7266 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.7858, allocations: 3.938 kB / 0.7266 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.7858, allocations: 7.953 kB / 0.7266 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.7879, allocations: 2.383 MB / 0.7289 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.7881, allocations: 66.5 kB / 0.729 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.7882, allocations: 24.86 kB / 0.729 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000349/0.7885, allocations: 498.6 kB / 0.7295 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.7887, allocations: 106 kB / 0.7296 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 3.246e-06/0.7887, allocations: 3.938 kB / 0.7296 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0009508/0.7897, allocations: 220.5 kB / 0.7298 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.7898, allocations: 106.8 kB / 0.7299 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.7899, allocations: 147.6 kB / 0.7301 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.7899, allocations: 29.69 kB / 0.7301 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.7901, allocations: 167.5 kB / 0.7302 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.7901, allocations: 43.42 kB / 0.7303 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.7901, allocations: 0 / 0.7303 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7903, allocations: 326.8 kB / 0.7306 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.7903, allocations: 35.86 kB / 0.7306 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.7905, allocations: 171.4 kB / 0.7308 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.7913, allocations: 139.8 kB / 0.7309 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7913, allocations: 0 / 0.7309 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001005/0.7923, allocations: 293.4 kB / 0.7312 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.7924, allocations: 11.95 kB / 0.7312 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.7924, allocations: 4 kB / 0.7312 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.7924, allocations: 8 kB / 0.7312 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.793, allocations: 99.86 kB / 0.7313 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004228/0.7934, allocations: 0.5979 MB / 0.7319 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.7936, allocations: 8.062 kB / 0.7319 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.7936, allocations: 16 kB / 0.7319 GB, free: 5.395 MB / 0.5105 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 0.0001296/0.7938, allocations: 128.7 kB / 0.7321 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003362/0.7941, allocations: 125.4 kB / 0.7322 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.7942, allocations: 12.19 kB / 0.7322 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.7946, allocations: 153.1 kB / 0.7323 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7946, allocations: 0 / 0.7323 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.7946, allocations: 4 kB / 0.7323 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.7947, allocations: 3.984 kB / 0.7323 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.7953, allocations: 387.8 kB / 0.7327 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7953, allocations: 0 / 0.7327 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.7957, allocations: 55.95 kB / 0.7328 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.7957, allocations: 0 / 0.7328 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.7957, allocations: 7.938 kB / 0.7328 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003854/0.7961, allocations: 0.5899 MB / 0.7334 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.7961, allocations: 3.938 kB / 0.7334 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.7965, allocations: 214 kB / 0.7336 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.7966, allocations: 124.9 kB / 0.7337 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.7967, allocations: 0 / 0.7337 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.7968, allocations: 0 / 0.7337 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.7969, allocations: 7.984 kB / 0.7337 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.7969, allocations: 12 kB / 0.7337 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000123/0.797, allocations: 120.5 kB / 0.7338 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.797, allocations: 0 / 0.7338 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008098/0.7978, allocations: 147.8 kB / 0.734 GB, free: 3.191 MB / 0.5105 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.001195/0.799, allocations: 0.9874 MB / 0.7349 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004053/0.7995, allocations: 127.8 kB / 0.735 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7995, allocations: 0 / 0.735 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.7996, allocations: 49.22 kB / 0.7351 GB, free: 2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.7999, allocations: 28.03 kB / 0.7351 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/0.828, allocations: 11.36 MB / 0.7462 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.8284, allocations: 0.7165 MB / 0.7469 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003026/0.8287, allocations: 73.56 kB / 0.747 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.8288, allocations: 55.41 kB / 0.747 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of SimCode: time 7.42e-07/0.8288, allocations: 0 / 0.747 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.8554, allocations: 4.873 MB / 0.7518 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.8557, allocations: 190.3 kB / 0.752 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.554, allocations: 4 kB / 0.752 GB, free: 0.5898 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