Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009936/0.0009937, allocations: 204.6 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009125/0.0009125, allocations: 99.84 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1883/0.1883, allocations: 44.84 MB / 392 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 4 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1119, allocations: 62.95 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.2195/0.3314, allocations: 25.12 MB / 0.5399 GB, free: 12.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.3434, allocations: 10.24 MB / 0.5499 GB, free: 5.531 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.3437, allocations: 1.094 kB / 0.5499 GB, free: 5.531 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.344, allocations: 50.55 kB / 0.5499 GB, free: 5.488 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02189/0.3659, allocations: 6.778 MB / 0.5565 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.3667, allocations: 312.4 kB / 0.5568 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006688/0.3674, allocations: 0.5703 MB / 0.5574 GB, free: 200 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.037e-05/0.3675, allocations: 18.08 kB / 0.5574 GB, free: 188 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.3678, allocations: 188.7 kB / 0.5576 GB, free: 100 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01326/0.381, allocations: 11.37 MB / 0.5687 GB, free: 7.148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.3811, allocations: 8 kB / 0.5687 GB, free: 7.141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0202/0.4014, allocations: 11.47 MB / 0.5799 GB, free: 11.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.4015, allocations: 87.67 kB / 0.58 GB, free: 11.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.4017, allocations: 77.58 kB / 0.58 GB, free: 11.49 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008879/0.4106, allocations: 4.265 MB / 0.5842 GB, free: 7.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4106, allocations: 0 / 0.5842 GB, free: 7.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4107, allocations: 0 / 0.5842 GB, free: 7.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4107, allocations: 0 / 0.5842 GB, free: 7.215 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003971/0.4146, allocations: 1.494 MB / 0.5857 GB, free: 5.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4147, allocations: 8.031 kB / 0.5857 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.4149, allocations: 35.7 kB / 0.5857 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.4152, allocations: 242.6 kB / 0.5859 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.4152, allocations: 20.56 kB / 0.586 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.4152, allocations: 27.98 kB / 0.586 GB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007987/0.416, allocations: 0.5091 MB / 0.5865 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4161, allocations: 0 / 0.5865 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.4161, allocations: 23.94 kB / 0.5865 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.4162, allocations: 24.48 kB / 0.5865 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.4172, allocations: 0.9155 MB / 0.5874 GB, free: 3.801 MB / 394.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.002025/0.4193, allocations: 1.902 MB / 0.5893 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.4199, allocations: 267.9 kB / 0.5895 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.4201, allocations: 101.5 kB / 0.5896 GB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01842/0.4385, allocations: 15.75 MB / 0.605 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/0.439, allocations: 245.1 kB / 0.6053 GB, free: 14.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.439, allocations: 0 / 0.6053 GB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002139/0.4412, allocations: 0.7828 MB / 0.606 GB, free: 13.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.4413, allocations: 261 kB / 0.6063 GB, free: 13.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.4415, allocations: 203 kB / 0.6065 GB, free: 13.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.4416, allocations: 33.7 kB / 0.6065 GB, free: 12.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.4417, allocations: 199.4 kB / 0.6067 GB, free: 12.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.4418, allocations: 126.5 kB / 0.6068 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.4418, allocations: 16 kB / 0.6068 GB, free: 12.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4419, allocations: 330.8 kB / 0.6071 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.4421, allocations: 93.06 kB / 0.6072 GB, free: 12.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.4425, allocations: 365.5 kB / 0.6076 GB, free: 11.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.4429, allocations: 162.8 kB / 0.6077 GB, free: 11.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.4429, allocations: 4 kB / 0.6077 GB, free: 11.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00113/0.444, allocations: 0.4981 MB / 0.6082 GB, free: 11.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4441, allocations: 11.98 kB / 0.6082 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.4441, allocations: 8 kB / 0.6082 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.4441, allocations: 16 kB / 0.6083 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.4447, allocations: 172.3 kB / 0.6084 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006489/0.4454, allocations: 1.195 MB / 0.6096 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.4457, allocations: 28.81 kB / 0.6096 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.4458, allocations: 51.97 kB / 0.6097 GB, free: 9.531 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.446, allocations: 169.6 kB / 0.6098 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.4461, allocations: 35.8 kB / 0.6099 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.4471, allocations: 0.491 MB / 0.6103 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4471, allocations: 4 kB / 0.6103 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4472, allocations: 11.92 kB / 0.6104 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4472, allocations: 0 / 0.6104 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009016/0.4481, allocations: 0.5913 MB / 0.6109 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.4481, allocations: 8.062 kB / 0.6109 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.4485, allocations: 79.94 kB / 0.611 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4485, allocations: 0 / 0.611 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.4485, allocations: 20.06 kB / 0.611 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005225/0.449, allocations: 1.164 MB / 0.6122 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4491, allocations: 3.938 kB / 0.6122 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.4496, allocations: 325.5 kB / 0.6125 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4497, allocations: 124.7 kB / 0.6126 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.4498, allocations: 4 kB / 0.6126 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.45, allocations: 19.98 kB / 0.6126 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.4501, allocations: 27.86 kB / 0.6127 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.4501, allocations: 16 kB / 0.6127 GB, free: 6.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.4503, allocations: 164.5 kB / 0.6128 GB, free: 6.094 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4503, allocations: 0 / 0.6128 GB, free: 6.094 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0045/0.4548, allocations: 1.679 MB / 0.6145 GB, free: 4.414 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007291/0.4621, allocations: 2.12 MB / 0.6165 GB, free: 2.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.4632, allocations: 325.2 kB / 0.6168 GB, free: 1.977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4632, allocations: 0 / 0.6168 GB, free: 1.977 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.4636, allocations: 119.8 kB / 0.617 GB, free: 1.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.4642, allocations: 81.08 kB / 0.617 GB, free: 1.781 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3675/0.8317, allocations: 140.8 MB / 0.7545 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.8319, allocations: 0.7519 MB / 0.7553 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.8321, allocations: 65.5 kB / 0.7553 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of SimCode: time 8.02e-07/0.8322, allocations: 0 / 0.7553 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.04015/0.8723, allocations: 35.36 MB / 0.7899 GB, free: 117.9 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches