Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.001641/0.001645, allocations: 182.2 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 98.61 kB / 270.9 MB, free: 8.363 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.5324/0.5324, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1363, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01319/0.1495, allocations: 7.494 MB / 497.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3507/0.5002, allocations: 12.95 MB / 0.4988 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.5005, allocations: 0.9688 kB / 0.4988 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.5009, allocations: 54.02 kB / 0.4988 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.5128, allocations: 2.599 MB / 0.5014 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.5135, allocations: 142.8 kB / 0.5015 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01805/0.5315, allocations: 7.148 MB / 0.5085 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.5317, allocations: 19.69 kB / 0.5085 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.5321, allocations: 140.1 kB / 0.5086 GB, free: 33.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03321/0.5653, allocations: 13.84 MB / 0.5222 GB, free: 32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.605e-05/0.5655, allocations: 6.969 kB / 0.5222 GB, free: 32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008143/0.5736, allocations: 2.13 MB / 0.5242 GB, free: 31.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.5738, allocations: 41.73 kB / 0.5243 GB, free: 31.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.5741, allocations: 71.98 kB / 0.5243 GB, free: 31.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.5777, allocations: 1.019 MB / 0.5253 GB, free: 31.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5778, allocations: 1.062 kB / 0.5253 GB, free: 31.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5778, allocations: 0 / 0.5253 GB, free: 31.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.475e-06/0.5778, allocations: 0 / 0.5253 GB, free: 31.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003113/0.5809, allocations: 0.8706 MB / 0.5262 GB, free: 30.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.581, allocations: 13.27 kB / 0.5262 GB, free: 30.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.5811, allocations: 66.25 kB / 0.5263 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.5819, allocations: 77.61 kB / 0.5263 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.5823, allocations: 245.2 kB / 0.5266 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.5823, allocations: 22.81 kB / 0.5266 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.5824, allocations: 24.91 kB / 0.5266 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.5836, allocations: 477 kB / 0.5271 GB, free: 29.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5837, allocations: 1.312 kB / 0.5271 GB, free: 29.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.5838, allocations: 14.72 kB / 0.5271 GB, free: 29.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.5838, allocations: 6.938 kB / 0.5271 GB, free: 29.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.5854, allocations: 0.6802 MB / 0.5278 GB, free: 29.81 MB / 378.7 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.01019/0.5956, allocations: 3.111 MB / 0.5308 GB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008557/0.5965, allocations: 216.8 kB / 0.531 GB, free: 27.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1254/0.7219, allocations: 28.79 MB / 0.5591 GB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008746/0.7228, allocations: 343.3 kB / 0.5595 GB, free: 1.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.066e-06/0.7228, allocations: 0 / 0.5595 GB, free: 1.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.004188/0.727, allocations: 0.9564 MB / 0.5604 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.7272, allocations: 487.3 kB / 0.5608 GB, free: 164 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.7274, allocations: 150.4 kB / 0.561 GB, free: 4 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.7274, allocations: 33.7 kB / 0.561 GB, free: 15.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.7276, allocations: 238.3 kB / 0.5613 GB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.7278, allocations: 134.1 kB / 0.5614 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.7278, allocations: 4 kB / 0.5614 GB, free: 15.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.728, allocations: 330.8 kB / 0.5617 GB, free: 15.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.7282, allocations: 73.08 kB / 0.5618 GB, free: 15.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.7287, allocations: 316.3 kB / 0.5621 GB, free: 14.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.729, allocations: 124.3 kB / 0.5622 GB, free: 14.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7291, allocations: 0 / 0.5622 GB, free: 14.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001228/0.7303, allocations: 443.6 kB / 0.5626 GB, free: 14.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.7303, allocations: 8 kB / 0.5626 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.7304, allocations: 8 kB / 0.5626 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003212/0.7336, allocations: 311 kB / 0.5629 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.7343, allocations: 107.8 kB / 0.563 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009876/0.7353, allocations: 1.215 MB / 0.5642 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.7358, allocations: 24.09 kB / 0.5642 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.7359, allocations: 31.98 kB / 0.5643 GB, free: 12.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002626/0.7361, allocations: 158.8 kB / 0.5644 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.304e-05/0.7362, allocations: 31.75 kB / 0.5644 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.7387, allocations: 1.075 MB / 0.5655 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.7388, allocations: 11.98 kB / 0.5655 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.7388, allocations: 3.984 kB / 0.5655 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.7388, allocations: 4 kB / 0.5655 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.7414, allocations: 1.556 MB / 0.567 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.7415, allocations: 3.938 kB / 0.567 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.7418, allocations: 39.92 kB / 0.5671 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.7438, allocations: 250 kB / 0.5673 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.7439, allocations: 9.75 kB / 0.5673 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009905/0.7449, allocations: 1.27 MB / 0.5686 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.7449, allocations: 4 kB / 0.5686 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.7461, allocations: 0.709 MB / 0.5693 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.7465, allocations: 235.9 kB / 0.5695 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7466, allocations: 12 kB / 0.5695 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.7471, allocations: 15.98 kB / 0.5695 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.7471, allocations: 19.97 kB / 0.5695 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.7472, allocations: 12 kB / 0.5695 GB, free: 6.707 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004741/0.7477, allocations: 271.1 kB / 0.5698 GB, free: 6.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7477, allocations: 8 kB / 0.5698 GB, free: 6.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002177/0.7499, allocations: 439.6 kB / 0.5702 GB, free: 6.004 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004203/0.7541, allocations: 2.497 MB / 0.5727 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.7553, allocations: 364.1 kB / 0.573 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.7553, allocations: 192 / 0.573 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.7558, allocations: 225.5 kB / 0.5732 GB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.7569, allocations: 97.72 kB / 0.5733 GB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/0.7653, allocations: 8.104 MB / 0.5812 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.766, allocations: 0.839 MB / 0.5821 GB, free: 9.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.7663, allocations: 159.4 kB / 0.5822 GB, free: 9.348 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.7663, allocations: 0 / 0.5822 GB, free: 9.348 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.087/3.853, allocations: 15.96 MB / 0.5978 GB, free: 9.383 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat