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.00198/0.001981, allocations: 202.2 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00092/0.00092, allocations: 99.92 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4265/0.4265, allocations: 45.23 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003128, allocations: 4 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4492, allocations: 63.24 MB / 0.5193 GB, free: 43.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5552/1.004, allocations: 192.2 MB / 0.7069 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.005, allocations: 89.69 kB / 0.707 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09141/1.096, allocations: 34.96 MB / 0.7412 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.444e-06/1.096, allocations: 0 / 0.7412 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.77e-05/1.096, allocations: 6.438 kB / 0.7412 GB, free: 139.5 MB / 0.4948 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.001411/1.098, allocations: 0.5992 MB / 0.7418 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.098, allocations: 9.281 kB / 0.7418 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.04e-05/1.098, allocations: 52.02 kB / 0.7418 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/1.098, allocations: 45.48 kB / 0.7419 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/1.099, allocations: 213.4 kB / 0.7421 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/1.099, allocations: 10.84 kB / 0.7421 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/1.099, allocations: 14.69 kB / 0.7421 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/1.099, allocations: 244.7 kB / 0.7423 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.099, allocations: 1 kB / 0.7423 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/1.099, allocations: 6.375 kB / 0.7423 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/1.099, allocations: 8.547 kB / 0.7423 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/1.1, allocations: 234.2 kB / 0.7426 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/1.101, allocations: 1.331 MB / 0.7439 GB, free: 137 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/1.101, allocations: 82.03 kB / 0.7439 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/1.103, allocations: 2.068 MB / 0.746 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/1.103, allocations: 162.8 kB / 0.7461 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 2.254e-06/1.103, allocations: 4 kB / 0.7461 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001074/1.104, allocations: 353.1 kB / 0.7464 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/1.104, allocations: 265.6 kB / 0.7467 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.104, allocations: 146.2 kB / 0.7468 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/1.104, allocations: 26.86 kB / 0.7469 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/1.104, allocations: 151.7 kB / 0.747 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/1.104, allocations: 67.34 kB / 0.7471 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/1.104, allocations: 9.344 kB / 0.7471 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/1.104, allocations: 326.9 kB / 0.7474 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/1.105, allocations: 39.41 kB / 0.7474 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/1.105, allocations: 186.5 kB / 0.7476 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/1.105, allocations: 71.86 kB / 0.7477 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.105, allocations: 1.562 kB / 0.7477 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004215/1.105, allocations: 249.5 kB / 0.7479 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.105, allocations: 6.875 kB / 0.7479 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.105, allocations: 8.125 kB / 0.7479 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.105, allocations: 8.25 kB / 0.7479 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/1.106, allocations: 113.2 kB / 0.748 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002828/1.106, allocations: 0.5955 MB / 0.7486 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/1.106, allocations: 13.69 kB / 0.7486 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/1.106, allocations: 24.73 kB / 0.7487 GB, free: 132.1 MB / 0.4948 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 () * 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.0001235/1.107, allocations: 135.3 kB / 0.7488 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/1.107, allocations: 14.78 kB / 0.7488 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/1.107, allocations: 229.5 kB / 0.749 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.107, allocations: 1.312 kB / 0.749 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.107, allocations: 5.172 kB / 0.749 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.107, allocations: 3.938 kB / 0.749 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/1.107, allocations: 221.3 kB / 0.7493 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.107, allocations: 1.344 kB / 0.7493 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/1.108, allocations: 46.83 kB / 0.7493 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.108, allocations: 1.281 kB / 0.7493 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/1.108, allocations: 5.344 kB / 0.7493 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001907/1.108, allocations: 0.5828 MB / 0.7499 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.108, allocations: 17.25 kB / 0.7499 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/1.108, allocations: 138.3 kB / 0.75 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.108, allocations: 126.4 kB / 0.7501 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/1.108, allocations: 1.438 kB / 0.7501 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/1.108, allocations: 7 kB / 0.7501 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/1.108, allocations: 8.109 kB / 0.7502 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/1.108, allocations: 8.906 kB / 0.7502 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.714e-05/1.109, allocations: 135.4 kB / 0.7503 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.109, allocations: 0 / 0.7503 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007605/1.109, allocations: 148.2 kB / 0.7504 GB, free: 130.5 MB / 0.4948 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 () * Number of clocked 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.001161/1.111, allocations: 0.9222 MB / 0.7513 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004982/1.111, allocations: 151.9 kB / 0.7515 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.111, allocations: 0 / 0.7515 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/1.111, allocations: 53.72 kB / 0.7515 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/1.112, allocations: 28.86 kB / 0.7516 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02937/1.141, allocations: 15.63 MB / 0.7668 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/1.141, allocations: 0.7128 MB / 0.7675 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003238/1.141, allocations: 69.78 kB / 0.7676 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.142, allocations: 55.41 kB / 0.7676 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/1.142, allocations: 0 / 0.7676 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/1.169, allocations: 5.459 MB / 0.773 GB, free: 110 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/1.169, allocations: 264.6 kB / 0.7732 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/3.006, allocations: 0 / 0.7732 GB, free: 109.7 MB / 0.4948 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