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.00172/0.00172, allocations: 176.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, 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.0009487/0.0009488, allocations: 91.91 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.34/0.34, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004165, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1457, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.5052/0.6509, allocations: 139.2 MB / 0.6147 GB, free: 11.81 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.6675, allocations: 12.26 MB / 0.6267 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.6679, allocations: 4 kB / 0.6267 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.6684, allocations: 55.64 kB / 0.6267 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009253/0.6777, allocations: 2.463 MB / 0.6291 GB, free: 13.05 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.6782, allocations: 148.7 kB / 0.6293 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.6792, allocations: 0.6464 MB / 0.6299 GB, free: 12.27 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.6793, allocations: 19.33 kB / 0.6299 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004822/0.6798, allocations: 211.2 kB / 0.6301 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009289/0.6807, allocations: 402.9 kB / 0.6305 GB, free: 11.65 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.6808, allocations: 12 kB / 0.6305 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009244/0.6901, allocations: 3.985 MB / 0.6344 GB, free: 7.648 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.6903, allocations: 91.73 kB / 0.6345 GB, free: 7.559 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.6905, allocations: 77.58 kB / 0.6346 GB, free: 7.477 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004528/0.695, allocations: 1.6 MB / 0.6361 GB, free: 5.875 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6951, allocations: 0 / 0.6361 GB, free: 5.875 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6951, allocations: 0 / 0.6361 GB, free: 5.875 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.6951, allocations: 0 / 0.6361 GB, free: 5.875 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.003225/0.6983, allocations: 1.056 MB / 0.6372 GB, free: 4.773 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6984, allocations: 8.031 kB / 0.6372 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.6986, allocations: 35.62 kB / 0.6372 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.699, allocations: 247.7 kB / 0.6374 GB, free: 4.449 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.6991, allocations: 135.4 kB / 0.6376 GB, free: 4.293 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.6992, allocations: 31.98 kB / 0.6376 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009259/0.7001, allocations: 0.572 MB / 0.6381 GB, free: 3.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.7002, allocations: 0 / 0.6381 GB, free: 3.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.7002, allocations: 15.94 kB / 0.6382 GB, free: 3.645 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.7003, allocations: 32.55 kB / 0.6382 GB, free: 3.613 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.7018, allocations: 1.255 MB / 0.6394 GB, free: 2.355 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.002885/0.7047, allocations: 1.999 MB / 0.6414 GB, free: 216 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.7054, allocations: 272.2 kB / 0.6416 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.7057, allocations: 118 kB / 0.6417 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004043/0.7097, allocations: 3.347 MB / 0.645 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.7098, allocations: 42.52 kB / 0.6451 GB, free: 11.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 2.093e-06/0.7098, allocations: 0 / 0.6451 GB, free: 11.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.002136/0.7119, allocations: 0.7229 MB / 0.6458 GB, free: 11.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.712, allocations: 59.34 kB / 0.6458 GB, free: 11.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.7123, allocations: 198.3 kB / 0.646 GB, free: 10.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.7124, allocations: 33.7 kB / 0.646 GB, free: 10.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.7125, allocations: 195.8 kB / 0.6462 GB, free: 10.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.7127, allocations: 153.8 kB / 0.6464 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.7128, allocations: 11.94 kB / 0.6464 GB, free: 10.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7129, allocations: 342.8 kB / 0.6467 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.7131, allocations: 105.2 kB / 0.6468 GB, free: 10 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.7136, allocations: 409.6 kB / 0.6472 GB, free: 9.461 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.7139, allocations: 181.3 kB / 0.6474 GB, free: 9.289 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.7139, allocations: 8 kB / 0.6474 GB, free: 9.281 MB / 474.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009954/0.7149, allocations: 0.5445 MB / 0.6479 GB, free: 8.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.715, allocations: 15.98 kB / 0.6479 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.715, allocations: 15.94 kB / 0.6479 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.715, allocations: 16 kB / 0.648 GB, free: 8.684 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.7157, allocations: 204.9 kB / 0.6482 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007398/0.7165, allocations: 1.195 MB / 0.6493 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.7168, allocations: 28 kB / 0.6493 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.7169, allocations: 59.98 kB / 0.6494 GB, free: 7.16 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.0002397/0.7172, allocations: 179.6 kB / 0.6496 GB, free: 6.977 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.7173, allocations: 31.62 kB / 0.6496 GB, free: 6.945 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.7187, allocations: 0.6523 MB / 0.6502 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.7187, allocations: 8 kB / 0.6502 GB, free: 6.254 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7187, allocations: 0 / 0.6502 GB, free: 6.254 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.7187, allocations: 7.938 kB / 0.6503 GB, free: 6.246 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.7198, allocations: 0.6452 MB / 0.6509 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7198, allocations: 0 / 0.6509 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.7203, allocations: 99.88 kB / 0.651 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.7203, allocations: 3.984 kB / 0.651 GB, free: 5.441 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.7204, allocations: 19.97 kB / 0.651 GB, free: 5.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006265/0.721, allocations: 1.164 MB / 0.6521 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.721, allocations: 3.938 kB / 0.6521 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.7215, allocations: 348.8 kB / 0.6525 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.7217, allocations: 144.7 kB / 0.6526 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.7217, allocations: 8 kB / 0.6526 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.722, allocations: 9.938 kB / 0.6526 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.7221, allocations: 24.25 kB / 0.6527 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.7221, allocations: 27.98 kB / 0.6527 GB, free: 3.621 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001827/0.7223, allocations: 168.5 kB / 0.6528 GB, free: 3.457 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7223, allocations: 4 kB / 0.6528 GB, free: 3.453 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001953/0.7243, allocations: 0.5426 MB / 0.6534 GB, free: 2.91 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.002903/0.7272, allocations: 0.8281 MB / 0.6542 GB, free: 2.078 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009732/0.7282, allocations: 382.5 kB / 0.6546 GB, free: 1.707 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7282, allocations: 1.75 kB / 0.6546 GB, free: 1.707 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.7286, allocations: 148 kB / 0.6547 GB, free: 1.562 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.7293, allocations: 92.38 kB / 0.6548 GB, free: 1.469 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.7432, allocations: 8.485 MB / 0.6631 GB, free: 8.941 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.7437, allocations: 0.7659 MB / 0.6638 GB, free: 8.152 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.7442, allocations: 91.39 kB / 0.6639 GB, free: 8.062 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/0.7442, allocations: 0 / 0.6639 GB, free: 8.062 MB / 490.7 MB Notification: Performance of Templates: time 0.2707/1.015, allocations: 14.32 MB / 0.6779 GB, free: 144.9 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/jenkins/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