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.001061/0.001061, allocations: 108.8 kB / 17.33 MB, free: 6.02 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.0009824/0.0009824, allocations: 193.3 kB / 18.25 MB, free: 5.109 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.395/1.395, allocations: 222.9 MB / 241.9 MB, free: 13.66 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.2241/0.2241, allocations: 44.17 MB / 336.2 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.3 kB / 407.9 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1376, allocations: 60.83 MB / 468.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4459/0.5835, allocations: 150.1 MB / 0.6043 GB, free: 11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.5946, allocations: 10.41 MB / 0.6144 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.5949, allocations: 4 kB / 0.6144 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.5953, allocations: 79.61 kB / 0.6145 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007961/0.6033, allocations: 2.793 MB / 0.6172 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.6037, allocations: 159.6 kB / 0.6174 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006193/0.6043, allocations: 0.5255 MB / 0.6179 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/0.6044, allocations: 12.41 kB / 0.6179 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.6047, allocations: 235.1 kB / 0.6182 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.6054, allocations: 398.9 kB / 0.6185 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.6054, allocations: 19.94 kB / 0.6186 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008865/0.6143, allocations: 4.823 MB / 0.6233 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.6145, allocations: 103.6 kB / 0.6234 GB, free: 7.441 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.6148, allocations: 147.4 kB / 0.6235 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006231/0.621, allocations: 2.568 MB / 0.626 GB, free: 4.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6211, allocations: 3.938 kB / 0.626 GB, free: 4.719 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6211, allocations: 0 / 0.626 GB, free: 4.719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.6211, allocations: 4 kB / 0.626 GB, free: 4.715 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.002686/0.6238, allocations: 1.046 MB / 0.627 GB, free: 3.621 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6238, allocations: 8.031 kB / 0.627 GB, free: 3.613 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.624, allocations: 44.39 kB / 0.6271 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.6243, allocations: 250.6 kB / 0.6273 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.6245, allocations: 131.5 kB / 0.6275 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.6245, allocations: 24 kB / 0.6275 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008348/0.6254, allocations: 0.5643 MB / 0.628 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6254, allocations: 0 / 0.628 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.6255, allocations: 12 kB / 0.628 GB, free: 2.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-05/0.6255, allocations: 28.55 kB / 0.6281 GB, free: 2.477 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.6269, allocations: 1.259 MB / 0.6293 GB, free: 1.215 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.002386/0.6293, allocations: 1.984 MB / 0.6312 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.63, allocations: 256 kB / 0.6315 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.6302, allocations: 130 kB / 0.6316 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003152/0.6333, allocations: 3.091 MB / 0.6346 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6334, allocations: 38.56 kB / 0.6347 GB, free: 11.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 2.245e-06/0.6334, allocations: 4 kB / 0.6347 GB, free: 11.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001863/0.6352, allocations: 0.7113 MB / 0.6354 GB, free: 10.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.6353, allocations: 55.41 kB / 0.6354 GB, free: 10.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.6355, allocations: 202.3 kB / 0.6356 GB, free: 10.01 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.6355, allocations: 33.7 kB / 0.6356 GB, free: 9.973 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.6357, allocations: 191.8 kB / 0.6358 GB, free: 9.781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6358, allocations: 161.8 kB / 0.636 GB, free: 9.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.636, allocations: 130.1 kB / 0.6361 GB, free: 9.488 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6361, allocations: 338.8 kB / 0.6364 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.6363, allocations: 105.2 kB / 0.6365 GB, free: 9.047 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.6368, allocations: 413.3 kB / 0.6369 GB, free: 8.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.6375, allocations: 0.5739 MB / 0.6375 GB, free: 7.777 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.6375, allocations: 4 kB / 0.6375 GB, free: 7.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009248/0.6385, allocations: 0.552 MB / 0.638 GB, free: 7.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6385, allocations: 9 kB / 0.638 GB, free: 7.207 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.6385, allocations: 12 kB / 0.638 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.6386, allocations: 16 kB / 0.638 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008016/0.6394, allocations: 197.8 kB / 0.6382 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000652/0.64, allocations: 1.191 MB / 0.6394 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.6404, allocations: 40.16 kB / 0.6394 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.452e-05/0.6405, allocations: 55.92 kB / 0.6395 GB, free: 5.66 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.0001987/0.6407, allocations: 177.5 kB / 0.6397 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.6408, allocations: 31.62 kB / 0.6397 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.642, allocations: 0.6352 MB / 0.6403 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.642, allocations: 8 kB / 0.6403 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.642, allocations: 0 / 0.6403 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.6421, allocations: 3.984 kB / 0.6403 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.6431, allocations: 0.8207 MB / 0.6411 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6431, allocations: 0 / 0.6411 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.6436, allocations: 95.88 kB / 0.6412 GB, free: 3.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6436, allocations: 4 kB / 0.6412 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.6437, allocations: 11.98 kB / 0.6412 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005344/0.6442, allocations: 1.168 MB / 0.6424 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6442, allocations: 0 / 0.6424 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.6446, allocations: 361.7 kB / 0.6427 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.6448, allocations: 120.9 kB / 0.6428 GB, free: 2.004 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.6448, allocations: 8 kB / 0.6428 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.6451, allocations: 12 kB / 0.6429 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.6451, allocations: 23.91 kB / 0.6429 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.6452, allocations: 22.55 kB / 0.6429 GB, free: 1.941 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.6453, allocations: 176.5 kB / 0.6431 GB, free: 1.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6453, allocations: 0 / 0.6431 GB, free: 1.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001473/0.6468, allocations: 491.6 kB / 0.6435 GB, free: 1.289 MB / 478.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.001878/0.6487, allocations: 0.7382 MB / 0.6443 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008967/0.6496, allocations: 392.2 kB / 0.6446 GB, free: 172 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/0.6496, allocations: 4 kB / 0.6446 GB, free: 168 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.65, allocations: 147.9 kB / 0.6448 GB, free: 20 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007828/0.6508, allocations: 123.8 kB / 0.6449 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008332/0.6591, allocations: 5.512 MB / 0.6503 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.6596, allocations: 0.7697 MB / 0.651 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007639/0.6604, allocations: 204.2 kB / 0.6512 GB, free: 9.352 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.6606, allocations: 67.41 kB / 0.6513 GB, free: 9.289 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6606, allocations: 3.938 kB / 0.6513 GB, free: 9.285 MB / 494.1 MB Notification: Performance of Templates: time 0.02318/0.6838, allocations: 15 MB / 0.6659 GB, free: 10.38 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