Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007638/0.0007638, allocations: 94.86 kB / 295.1 MB, free: 4.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1819/0.1819, allocations: 44.84 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002208/0.0002208, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08749, allocations: 62.95 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.313/0.4005, allocations: 138.1 MB / 0.6502 GB, free: 11.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.4108, allocations: 9.659 MB / 0.6596 GB, free: 1.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.4111, allocations: 4 kB / 0.6596 GB, free: 1.586 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.4114, allocations: 51.64 kB / 0.6597 GB, free: 1.535 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.4173, allocations: 2.131 MB / 0.6618 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.4177, allocations: 156.1 kB / 0.6619 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007072/0.4184, allocations: 0.6348 MB / 0.6625 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.871e-05/0.4185, allocations: 20.41 kB / 0.6626 GB, free: 14.59 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.4188, allocations: 215.2 kB / 0.6628 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007289/0.4196, allocations: 411 kB / 0.6632 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.4196, allocations: 12 kB / 0.6632 GB, free: 13.97 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006537/0.4262, allocations: 3.691 MB / 0.6668 GB, free: 10.27 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4263, allocations: 99.66 kB / 0.6669 GB, free: 10.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.4265, allocations: 81.58 kB / 0.6669 GB, free: 10.09 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.4294, allocations: 1.475 MB / 0.6684 GB, free: 8.613 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4294, allocations: 0 / 0.6684 GB, free: 8.613 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4294, allocations: 0 / 0.6684 GB, free: 8.613 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4294, allocations: 0 / 0.6684 GB, free: 8.613 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003053/0.4325, allocations: 0.9982 MB / 0.6694 GB, free: 7.566 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4325, allocations: 8.031 kB / 0.6694 GB, free: 7.559 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.4328, allocations: 35.67 kB / 0.6694 GB, free: 7.523 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.4332, allocations: 242.7 kB / 0.6696 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.4333, allocations: 127.5 kB / 0.6698 GB, free: 7.098 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.4334, allocations: 28 kB / 0.6698 GB, free: 7.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4345, allocations: 0.5642 MB / 0.6703 GB, free: 6.473 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4345, allocations: 0 / 0.6703 GB, free: 6.473 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.4346, allocations: 19.98 kB / 0.6704 GB, free: 6.453 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.334e-05/0.4347, allocations: 36.5 kB / 0.6704 GB, free: 6.418 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.4365, allocations: 1.243 MB / 0.6716 GB, free: 5.172 MB / 458.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.003072/0.4396, allocations: 1.976 MB / 0.6735 GB, free: 3.051 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008138/0.4404, allocations: 260.2 kB / 0.6738 GB, free: 2.789 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.4407, allocations: 122 kB / 0.6739 GB, free: 2.668 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004001/0.4447, allocations: 3.099 MB / 0.6769 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4448, allocations: 42.34 kB / 0.677 GB, free: 14.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 2.905e-06/0.4448, allocations: 0 / 0.677 GB, free: 14.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.002319/0.4471, allocations: 0.7075 MB / 0.6777 GB, free: 14.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.4472, allocations: 59.41 kB / 0.6777 GB, free: 14.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.4474, allocations: 191.2 kB / 0.6779 GB, free: 13.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.4475, allocations: 37.7 kB / 0.6779 GB, free: 13.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.4477, allocations: 199.7 kB / 0.6781 GB, free: 13.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.4478, allocations: 149.8 kB / 0.6783 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.4479, allocations: 15.94 kB / 0.6783 GB, free: 13.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.448, allocations: 334.8 kB / 0.6786 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.4483, allocations: 109.2 kB / 0.6787 GB, free: 13.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.4488, allocations: 413.5 kB / 0.6791 GB, free: 12.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.4492, allocations: 171.1 kB / 0.6793 GB, free: 12.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.4492, allocations: 4 kB / 0.6793 GB, free: 12.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009441/0.4502, allocations: 0.5397 MB / 0.6798 GB, free: 11.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.4502, allocations: 16.92 kB / 0.6798 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4503, allocations: 8 kB / 0.6798 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.4503, allocations: 20 kB / 0.6798 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.451, allocations: 193.1 kB / 0.68 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005694/0.4515, allocations: 1.191 MB / 0.6812 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.4519, allocations: 32.14 kB / 0.6812 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/0.452, allocations: 55.98 kB / 0.6813 GB, free: 10.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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.0001865/0.4522, allocations: 173.5 kB / 0.6814 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.4522, allocations: 31.66 kB / 0.6815 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.4534, allocations: 0.6417 MB / 0.6821 GB, free: 9.434 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/0.4534, allocations: 4 kB / 0.6821 GB, free: 9.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4534, allocations: 4 kB / 0.6821 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4535, allocations: 3.938 kB / 0.6821 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.4544, allocations: 0.8164 MB / 0.6829 GB, free: 8.504 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4544, allocations: 4 kB / 0.6829 GB, free: 8.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.4549, allocations: 95.86 kB / 0.683 GB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.4549, allocations: 4 kB / 0.683 GB, free: 8.402 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.4549, allocations: 11.94 kB / 0.683 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004915/0.4554, allocations: 1.18 MB / 0.6842 GB, free: 7.164 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4554, allocations: 4.031 kB / 0.6842 GB, free: 7.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.4558, allocations: 345.8 kB / 0.6845 GB, free: 6.797 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.456, allocations: 144.7 kB / 0.6846 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.456, allocations: 8 kB / 0.6846 GB, free: 6.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.4563, allocations: 8 kB / 0.6846 GB, free: 6.621 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.4563, allocations: 23.97 kB / 0.6847 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.4564, allocations: 19.98 kB / 0.6847 GB, free: 6.578 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.4565, allocations: 172.4 kB / 0.6848 GB, free: 6.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4565, allocations: 0 / 0.6848 GB, free: 6.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001823/0.4583, allocations: 499.5 kB / 0.6853 GB, free: 5.922 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 1 * 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.002655/0.461, allocations: 0.7132 MB / 0.686 GB, free: 5.203 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.4622, allocations: 361.9 kB / 0.6864 GB, free: 4.852 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4622, allocations: 4 kB / 0.6864 GB, free: 4.848 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.4627, allocations: 140 kB / 0.6865 GB, free: 4.711 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009059/0.4636, allocations: 98.09 kB / 0.6866 GB, free: 4.617 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.4764, allocations: 5.99 MB / 0.6924 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4767, allocations: 0.7699 MB / 0.6932 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.4771, allocations: 83.39 kB / 0.6933 GB, free: 13.7 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4771, allocations: 3.938 kB / 0.6933 GB, free: 13.69 MB / 490.7 MB Notification: Performance of Templates: time 0.01759/0.4947, allocations: 13.45 MB / 0.7064 GB, free: 272 kB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches