Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001015/0.001015, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 175.4 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4365/0.4365, allocations: 43.57 MB / 314.6 MB, free: 8.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007657/0.0007658, allocations: 19.94 kB / 384 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1542, allocations: 58.85 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4813/0.6355, allocations: 139.2 MB / 0.5684 GB, free: 348 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01536/0.6509, allocations: 12.26 MB / 0.5803 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003763/0.6514, allocations: 0 / 0.5803 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.6519, allocations: 59.62 kB / 0.5804 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0092/0.6611, allocations: 2.467 MB / 0.5828 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.6615, allocations: 150.3 kB / 0.583 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009635/0.6625, allocations: 0.6387 MB / 0.5836 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.6626, allocations: 23.03 kB / 0.5836 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005496/0.6631, allocations: 215.2 kB / 0.5838 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.6642, allocations: 405.1 kB / 0.5842 GB, free: 176 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.6642, allocations: 8 kB / 0.5842 GB, free: 168 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00926/0.6735, allocations: 3.978 MB / 0.5881 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.6738, allocations: 95.66 kB / 0.5882 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.6739, allocations: 81.58 kB / 0.5883 GB, free: 12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004125/0.6781, allocations: 1.594 MB / 0.5898 GB, free: 10.4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6781, allocations: 0 / 0.5898 GB, free: 10.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6781, allocations: 7.938 kB / 0.5898 GB, free: 10.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.6781, allocations: 0 / 0.5898 GB, free: 10.39 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.003169/0.6813, allocations: 1.049 MB / 0.5908 GB, free: 9.301 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6813, allocations: 8.031 kB / 0.5909 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.6815, allocations: 37.34 kB / 0.5909 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.6819, allocations: 250.7 kB / 0.5911 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.6821, allocations: 131.4 kB / 0.5913 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.6822, allocations: 35.98 kB / 0.5913 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.6832, allocations: 0.5681 MB / 0.5918 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.6832, allocations: 4 kB / 0.5918 GB, free: 8.184 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.6833, allocations: 12 kB / 0.5919 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.766e-05/0.6834, allocations: 32.48 kB / 0.5919 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.685, allocations: 1.247 MB / 0.5931 GB, free: 6.895 MB / 462.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.002656/0.6877, allocations: 2.015 MB / 0.5951 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.6884, allocations: 264.2 kB / 0.5953 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.6886, allocations: 110.1 kB / 0.5954 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004034/0.6926, allocations: 3.343 MB / 0.5987 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.6927, allocations: 43.27 kB / 0.5987 GB, free: 428 kB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/0.6927, allocations: 4 kB / 0.5987 GB, free: 424 kB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.001886/0.6946, allocations: 0.7287 MB / 0.5995 GB, free: 15.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.6947, allocations: 59.41 kB / 0.5995 GB, free: 15.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.6951, allocations: 194.3 kB / 0.5997 GB, free: 15.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.6951, allocations: 33.7 kB / 0.5997 GB, free: 15.35 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.6953, allocations: 203.7 kB / 0.5999 GB, free: 15.15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.6954, allocations: 153.8 kB / 0.6001 GB, free: 15 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.6955, allocations: 12 kB / 0.6001 GB, free: 14.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6957, allocations: 334.8 kB / 0.6004 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.6958, allocations: 109.2 kB / 0.6005 GB, free: 14.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.6963, allocations: 417.6 kB / 0.6009 GB, free: 13.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.6965, allocations: 172.5 kB / 0.6011 GB, free: 13.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6966, allocations: 7.938 kB / 0.6011 GB, free: 13.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008722/0.6974, allocations: 0.5486 MB / 0.6016 GB, free: 13.26 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.6975, allocations: 15.95 kB / 0.6016 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.6975, allocations: 8 kB / 0.6016 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.6975, allocations: 16 kB / 0.6016 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.6982, allocations: 204.2 kB / 0.6018 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008385/0.699, allocations: 1.193 MB / 0.603 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.6993, allocations: 31.94 kB / 0.603 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/0.6994, allocations: 59.98 kB / 0.6031 GB, free: 11.69 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 (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.000252/0.6997, allocations: 183.8 kB / 0.6033 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.6998, allocations: 31.61 kB / 0.6033 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.7013, allocations: 0.6496 MB / 0.6039 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.7013, allocations: 4 kB / 0.6039 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7013, allocations: 0 / 0.6039 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.7013, allocations: 7.938 kB / 0.6039 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008893/0.7022, allocations: 0.6459 MB / 0.6046 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.7022, allocations: 3.969 kB / 0.6046 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.7028, allocations: 96.59 kB / 0.6047 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.7028, allocations: 7.984 kB / 0.6047 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.7028, allocations: 8 kB / 0.6047 GB, free: 9.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006788/0.7035, allocations: 1.176 MB / 0.6058 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.7035, allocations: 0 / 0.6058 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.704, allocations: 348.6 kB / 0.6062 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.7042, allocations: 140.7 kB / 0.6063 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.7043, allocations: 15.25 kB / 0.6063 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.7045, allocations: 8 kB / 0.6063 GB, free: 8.211 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.7046, allocations: 32.31 kB / 0.6064 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.7046, allocations: 23.98 kB / 0.6064 GB, free: 8.156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.7048, allocations: 168.5 kB / 0.6065 GB, free: 7.992 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7048, allocations: 0 / 0.6065 GB, free: 7.992 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002335/0.7071, allocations: 0.5465 MB / 0.6071 GB, free: 7.445 MB / 478.1 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.002523/0.7097, allocations: 0.8271 MB / 0.6079 GB, free: 6.613 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.7108, allocations: 378.7 kB / 0.6082 GB, free: 6.246 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7108, allocations: 0 / 0.6082 GB, free: 6.246 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.7112, allocations: 148.1 kB / 0.6084 GB, free: 6.102 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.7119, allocations: 105.5 kB / 0.6085 GB, free: 5.996 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.7257, allocations: 8.446 MB / 0.6167 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.7262, allocations: 0.7699 MB / 0.6175 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009807/0.7272, allocations: 179.9 kB / 0.6177 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.7275, allocations: 75.39 kB / 0.6177 GB, free: 12.47 MB / 494.1 MB Notification: Performance of SimCode: time 1.723e-06/0.7275, allocations: 0 / 0.6177 GB, free: 12.47 MB / 494.1 MB Notification: Performance of Templates: time 0.2985/1.026, allocations: 15.82 MB / 0.6332 GB, free: 151.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches