Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.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: 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_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002253/0.002258, allocations: 184.4 kB / 16.4 MB, free: 5.746 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.128/2.128, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001118/0.001118, allocations: 103.2 kB / 270.9 MB, free: 8.359 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.5363/0.5363, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 8 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.5041/0.6327, allocations: 127.9 MB / 0.6036 GB, free: 6.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.6543, allocations: 11.35 MB / 0.6147 GB, free: 11.73 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.6546, allocations: 0 / 0.6147 GB, free: 11.73 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.655, allocations: 59.69 kB / 0.6148 GB, free: 11.67 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.6655, allocations: 2.491 MB / 0.6172 GB, free: 9.184 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.6662, allocations: 150.6 kB / 0.6173 GB, free: 9.043 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007786/0.6669, allocations: 339.9 kB / 0.6177 GB, free: 8.711 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.6671, allocations: 15.33 kB / 0.6177 GB, free: 8.695 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.6677, allocations: 227.3 kB / 0.6179 GB, free: 8.473 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009901/0.6687, allocations: 323.3 kB / 0.6182 GB, free: 8.156 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.6688, allocations: 8 kB / 0.6182 GB, free: 8.148 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.6814, allocations: 4.182 MB / 0.6223 GB, free: 3.961 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.6817, allocations: 95.69 kB / 0.6224 GB, free: 3.867 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.6818, allocations: 77.58 kB / 0.6225 GB, free: 3.785 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005558/0.6874, allocations: 1.579 MB / 0.624 GB, free: 2.211 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6875, allocations: 3.938 kB / 0.624 GB, free: 2.207 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6875, allocations: 0 / 0.624 GB, free: 2.207 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.6875, allocations: 0 / 0.624 GB, free: 2.207 MB / 442.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.003881/0.6914, allocations: 1.053 MB / 0.625 GB, free: 1.109 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6915, allocations: 8.031 kB / 0.625 GB, free: 1.102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.6918, allocations: 39.62 kB / 0.6251 GB, free: 1.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.6922, allocations: 247.7 kB / 0.6253 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.6924, allocations: 131.4 kB / 0.6254 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.6925, allocations: 31.98 kB / 0.6255 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.6938, allocations: 0.5681 MB / 0.626 GB, free: 0 / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6938, allocations: 128 / 0.626 GB, free: 16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.6939, allocations: 15.94 kB / 0.626 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.371e-05/0.694, allocations: 28.55 kB / 0.6261 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.6963, allocations: 1.255 MB / 0.6273 GB, free: 14.7 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.004087/0.7005, allocations: 2.054 MB / 0.6293 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.7016, allocations: 270.3 kB / 0.6296 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005127/0.7068, allocations: 3.067 MB / 0.6325 GB, free: 8.668 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.7068, allocations: 38.56 kB / 0.6326 GB, free: 8.621 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 4.028e-06/0.7069, allocations: 0 / 0.6326 GB, free: 8.621 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002973/0.7098, allocations: 0.8101 MB / 0.6334 GB, free: 7.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.7099, allocations: 55.41 kB / 0.6334 GB, free: 7.703 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.7102, allocations: 206.2 kB / 0.6336 GB, free: 7.492 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.7103, allocations: 33.7 kB / 0.6337 GB, free: 7.453 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.7105, allocations: 262.3 kB / 0.6339 GB, free: 7.195 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.7107, allocations: 157.7 kB / 0.6341 GB, free: 7.039 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.7107, allocations: 19.94 kB / 0.6341 GB, free: 7.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7109, allocations: 334.8 kB / 0.6344 GB, free: 6.684 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.7112, allocations: 101.2 kB / 0.6345 GB, free: 6.582 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.7119, allocations: 417.5 kB / 0.6349 GB, free: 6.031 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.7123, allocations: 172.7 kB / 0.6351 GB, free: 5.867 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7124, allocations: 4 kB / 0.6351 GB, free: 5.863 MB / 458.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001563/0.7139, allocations: 0.5529 MB / 0.6356 GB, free: 5.305 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.714, allocations: 11.98 kB / 0.6356 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.714, allocations: 12 kB / 0.6356 GB, free: 5.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/0.7141, allocations: 16 kB / 0.6356 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.7154, allocations: 195.7 kB / 0.6358 GB, free: 5.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000867/0.7163, allocations: 1.196 MB / 0.637 GB, free: 3.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.717, allocations: 25.25 kB / 0.637 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.7171, allocations: 63.97 kB / 0.6371 GB, free: 3.746 MB / 458.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.0002933/0.7175, allocations: 181.6 kB / 0.6373 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.7176, allocations: 35.62 kB / 0.6373 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.7199, allocations: 0.6499 MB / 0.6379 GB, free: 2.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.7199, allocations: 4 kB / 0.6379 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7199, allocations: 0 / 0.6379 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.72, allocations: 0 / 0.6379 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.7214, allocations: 0.6685 MB / 0.6386 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7215, allocations: 0 / 0.6386 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008139/0.7223, allocations: 111.8 kB / 0.6387 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.7223, allocations: 0 / 0.6387 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.7224, allocations: 12 kB / 0.6387 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006858/0.723, allocations: 1.172 MB / 0.6398 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.7231, allocations: 0 / 0.6398 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.7238, allocations: 358.3 kB / 0.6402 GB, free: 404 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.7241, allocations: 148.8 kB / 0.6403 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/0.7242, allocations: 8.094 kB / 0.6403 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.7247, allocations: 15.98 kB / 0.6403 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.7248, allocations: 20.25 kB / 0.6404 GB, free: 192 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/0.7249, allocations: 23.98 kB / 0.6404 GB, free: 168 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.7251, allocations: 168.5 kB / 0.6405 GB, free: 0 / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7251, allocations: 0 / 0.6405 GB, free: 0 / 458.7 MB Notification: Performance of remove unused functions: time 0.002289/0.7274, allocations: 0.5426 MB / 0.6411 GB, free: 15.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.003868/0.7314, allocations: 0.8472 MB / 0.6419 GB, free: 14.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.7331, allocations: 370.2 kB / 0.6423 GB, free: 14.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.7331, allocations: 0 / 0.6423 GB, free: 14.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.7338, allocations: 153.4 kB / 0.6424 GB, free: 14.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.7348, allocations: 84.94 kB / 0.6425 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.7367, allocations: 0.7773 MB / 0.6432 GB, free: 13.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.7372, allocations: 0.7698 MB / 0.644 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/0.7378, allocations: 99.36 kB / 0.6441 GB, free: 12.33 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7378, allocations: 0 / 0.6441 GB, free: 12.33 MB / 474.7 MB Notification: Performance of Templates: time 0.03659/0.7744, allocations: 15.02 MB / 0.6588 GB, free: 13.3 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches