Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2008/0.2008, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 58.11 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1244, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.431/0.5554, allocations: 152.2 MB / 0.6069 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.5672, allocations: 10.45 MB / 0.6171 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.5674, allocations: 4 kB / 0.6171 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.5679, allocations: 83.48 kB / 0.6171 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007705/0.5756, allocations: 3.022 MB / 0.6201 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.576, allocations: 162.3 kB / 0.6203 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000651/0.5766, allocations: 0.5295 MB / 0.6208 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.5767, allocations: 20.41 kB / 0.6208 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.577, allocations: 227.2 kB / 0.621 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006267/0.5776, allocations: 374.9 kB / 0.6214 GB, free: 9.785 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.5777, allocations: 12 kB / 0.6214 GB, free: 9.773 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008233/0.5859, allocations: 4.601 MB / 0.6259 GB, free: 5.168 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.5861, allocations: 91.75 kB / 0.626 GB, free: 5.078 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.5864, allocations: 167.2 kB / 0.6261 GB, free: 4.914 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005397/0.5918, allocations: 2.397 MB / 0.6285 GB, free: 2.512 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.5918, allocations: 0 / 0.6285 GB, free: 2.512 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5918, allocations: 0 / 0.6285 GB, free: 2.512 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.5918, allocations: 0 / 0.6285 GB, free: 2.512 MB / 462.1 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.003253/0.5951, allocations: 1.046 MB / 0.6295 GB, free: 1.418 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.5952, allocations: 8.031 kB / 0.6295 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.5955, allocations: 40.39 kB / 0.6295 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.5958, allocations: 250.6 kB / 0.6298 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.596, allocations: 127.5 kB / 0.6299 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.596, allocations: 35.92 kB / 0.6299 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008872/0.5969, allocations: 0.5681 MB / 0.6305 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.597, allocations: 0 / 0.6305 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.597, allocations: 12 kB / 0.6305 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.5971, allocations: 32.55 kB / 0.6305 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.5984, allocations: 1.255 MB / 0.6317 GB, free: 15 MB / 478.1 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.002584/0.601, allocations: 1.984 MB / 0.6337 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.6018, allocations: 256 kB / 0.6339 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.602, allocations: 118 kB / 0.634 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003163/0.6051, allocations: 3.091 MB / 0.6371 GB, free: 8.875 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.6052, allocations: 38.56 kB / 0.6371 GB, free: 8.828 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 2.364e-06/0.6052, allocations: 0 / 0.6371 GB, free: 8.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.002074/0.6073, allocations: 0.7095 MB / 0.6378 GB, free: 8.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.6073, allocations: 63.39 kB / 0.6378 GB, free: 8.016 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.6076, allocations: 198.3 kB / 0.638 GB, free: 7.812 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.6076, allocations: 33.64 kB / 0.6381 GB, free: 7.773 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.6078, allocations: 191.8 kB / 0.6382 GB, free: 7.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.6079, allocations: 157.8 kB / 0.6384 GB, free: 7.426 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.6081, allocations: 134.1 kB / 0.6385 GB, free: 7.289 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6082, allocations: 334.8 kB / 0.6388 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.6084, allocations: 113.2 kB / 0.639 GB, free: 6.844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.6088, allocations: 413.3 kB / 0.6393 GB, free: 6.293 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.6096, allocations: 0.5733 MB / 0.6399 GB, free: 5.574 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.6096, allocations: 4 kB / 0.6399 GB, free: 5.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001028/0.6106, allocations: 0.5545 MB / 0.6405 GB, free: 5.012 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.6107, allocations: 12 kB / 0.6405 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.6107, allocations: 8 kB / 0.6405 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/0.6107, allocations: 16 kB / 0.6405 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/0.6114, allocations: 192.5 kB / 0.6407 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006933/0.6121, allocations: 1.192 MB / 0.6418 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.6125, allocations: 26.8 kB / 0.6419 GB, free: 3.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/0.6125, allocations: 53.55 kB / 0.6419 GB, free: 3.477 MB / 478.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.6128, allocations: 177.7 kB / 0.6421 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.6129, allocations: 31.72 kB / 0.6421 GB, free: 3.262 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.614, allocations: 0.639 MB / 0.6427 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.6141, allocations: 8 kB / 0.6427 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6141, allocations: 4 kB / 0.6427 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.6141, allocations: 3.984 kB / 0.6428 GB, free: 2.574 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.6151, allocations: 0.824 MB / 0.6436 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6151, allocations: 0 / 0.6436 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.6156, allocations: 95.88 kB / 0.6436 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.058e-05/0.6156, allocations: 4 kB / 0.6437 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.6156, allocations: 16.08 kB / 0.6437 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005151/0.6161, allocations: 1.164 MB / 0.6448 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6162, allocations: 0 / 0.6448 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.6166, allocations: 361.9 kB / 0.6451 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.6167, allocations: 116.8 kB / 0.6453 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.6168, allocations: 11.98 kB / 0.6453 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.6171, allocations: 12.5 kB / 0.6453 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.6171, allocations: 23.91 kB / 0.6453 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.6172, allocations: 24.73 kB / 0.6453 GB, free: 15.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.6173, allocations: 176.4 kB / 0.6455 GB, free: 15.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6173, allocations: 0 / 0.6455 GB, free: 15.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001519/0.6189, allocations: 495.6 kB / 0.646 GB, free: 15.09 MB / 494.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002381/0.6213, allocations: 0.7346 MB / 0.6467 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009854/0.6223, allocations: 385 kB / 0.6471 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6223, allocations: 0 / 0.6471 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.6227, allocations: 152 kB / 0.6472 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008234/0.6235, allocations: 139 kB / 0.6473 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009036/0.6326, allocations: 5.398 MB / 0.6526 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.633, allocations: 0.7697 MB / 0.6534 GB, free: 7.457 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007813/0.6338, allocations: 210.7 kB / 0.6536 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.634, allocations: 67.41 kB / 0.6536 GB, free: 7.188 MB / 494.1 MB Notification: Performance of SimCode: time 1.173e-06/0.634, allocations: 0 / 0.6536 GB, free: 7.188 MB / 494.1 MB Notification: Performance of Templates: time 0.02386/0.6579, allocations: 15.02 MB / 0.6683 GB, free: 8.258 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches