Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.001214, allocations: 175.4 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008172/0.0008172, allocations: 86.62 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2258/0.2258, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.351e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.155, allocations: 58.86 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6304/0.7854, allocations: 193.6 MB / 0.6551 GB, free: 2.621 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.7858, allocations: 83.92 kB / 0.6552 GB, free: 2.578 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.117/0.9028, allocations: 44.69 MB / 0.6989 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9029, allocations: 0 / 0.6989 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.9029, allocations: 0 / 0.6989 GB, free: 9.574 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.001747/0.9047, allocations: 0.6225 MB / 0.6995 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.9047, allocations: 12.03 kB / 0.6995 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.9052, allocations: 43.78 kB / 0.6995 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.9056, allocations: 218.8 kB / 0.6997 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.9056, allocations: 4 kB / 0.6997 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.9056, allocations: 11.94 kB / 0.6997 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003804/0.906, allocations: 211.6 kB / 0.6999 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.9064, allocations: 209.1 kB / 0.7001 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.9064, allocations: 7.938 kB / 0.7001 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.9064, allocations: 3.984 kB / 0.7002 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.9064, allocations: 4 kB / 0.7002 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.9091, allocations: 2.399 MB / 0.7025 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.9093, allocations: 70.45 kB / 0.7026 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.9094, allocations: 28.86 kB / 0.7026 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003718/0.9097, allocations: 348.6 kB / 0.7029 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.91, allocations: 105.9 kB / 0.703 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.174e-06/0.91, allocations: 0 / 0.703 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0009917/0.911, allocations: 220.3 kB / 0.7032 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.9111, allocations: 106.9 kB / 0.7033 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.9113, allocations: 154.4 kB / 0.7035 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.9113, allocations: 25.7 kB / 0.7035 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.9114, allocations: 167.4 kB / 0.7037 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.9115, allocations: 39.45 kB / 0.7037 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.9115, allocations: 0 / 0.7037 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9117, allocations: 326.8 kB / 0.704 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.9117, allocations: 31.98 kB / 0.704 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.9119, allocations: 171.2 kB / 0.7042 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007969/0.9127, allocations: 139.8 kB / 0.7043 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.9127, allocations: 4 kB / 0.7043 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001004/0.9137, allocations: 304.9 kB / 0.7046 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.9138, allocations: 11.94 kB / 0.7047 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.9138, allocations: 7.984 kB / 0.7047 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/0.9138, allocations: 8.656 kB / 0.7047 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.9144, allocations: 97.69 kB / 0.7048 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005451/0.915, allocations: 0.6016 MB / 0.7053 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.9152, allocations: 4 kB / 0.7054 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.9152, allocations: 23.98 kB / 0.7054 GB, free: 2.148 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 () * 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.0001383/0.9154, allocations: 120.8 kB / 0.7055 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003697/0.9157, allocations: 141.5 kB / 0.7056 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.9158, allocations: 11.91 kB / 0.7056 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005832/0.9164, allocations: 201 kB / 0.7058 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.9164, allocations: 4.031 kB / 0.7058 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.9164, allocations: 0 / 0.7058 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.9164, allocations: 7.953 kB / 0.7058 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.9171, allocations: 380.1 kB / 0.7062 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.9172, allocations: 0 / 0.7062 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.9175, allocations: 52.05 kB / 0.7063 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.9175, allocations: 3.938 kB / 0.7063 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.9176, allocations: 0 / 0.7063 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004985/0.9181, allocations: 0.6016 MB / 0.7068 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9181, allocations: 0 / 0.7068 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.9185, allocations: 221.8 kB / 0.7071 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.9187, allocations: 133 kB / 0.7072 GB, free: 164 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.9187, allocations: 0 / 0.7072 GB, free: 164 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.9189, allocations: 3.906 kB / 0.7072 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.919, allocations: 11.92 kB / 0.7072 GB, free: 148 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.919, allocations: 15.98 kB / 0.7072 GB, free: 132 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001177/0.9191, allocations: 111.3 kB / 0.7073 GB, free: 20 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9191, allocations: 0 / 0.7073 GB, free: 20 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.3928/1.312, allocations: 181.4 kB / 0.7075 GB, free: 174.2 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 () * 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.001635/1.314, allocations: 1.046 MB / 0.7085 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006754/1.314, allocations: 137.8 kB / 0.7086 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.314, allocations: 0 / 0.7086 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/1.315, allocations: 41.02 kB / 0.7087 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/1.315, allocations: 31.33 kB / 0.7087 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/1.349, allocations: 11.83 MB / 0.7203 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/1.349, allocations: 0.7139 MB / 0.721 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003705/1.35, allocations: 105.3 kB / 0.7211 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/1.35, allocations: 50.64 kB / 0.7211 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/1.35, allocations: 0 / 0.7211 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/1.38, allocations: 5.591 MB / 0.7266 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.38, allocations: 196.8 kB / 0.7268 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/3.254, allocations: 0 / 0.7268 GB, free: 171.9 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat