Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 115.9 kB / 18.41 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 199.5 kB / 19.36 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 75.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.133, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4264/0.5594, allocations: 155.1 MB / 0.6216 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.5727, allocations: 10.56 MB / 0.6319 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.573, allocations: 0 / 0.6319 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.5737, allocations: 79.48 kB / 0.632 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008433/0.5822, allocations: 3.044 MB / 0.635 GB, free: 10.03 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.5826, allocations: 165.6 kB / 0.6351 GB, free: 9.875 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008446/0.5835, allocations: 0.5295 MB / 0.6356 GB, free: 9.344 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.722e-05/0.5835, allocations: 16.41 kB / 0.6357 GB, free: 9.328 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.584, allocations: 231.1 kB / 0.6359 GB, free: 9.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008011/0.5848, allocations: 383 kB / 0.6362 GB, free: 8.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/0.5849, allocations: 16 kB / 0.6363 GB, free: 8.711 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008388/0.5933, allocations: 4.694 MB / 0.6408 GB, free: 4.012 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.5934, allocations: 107.6 kB / 0.6409 GB, free: 3.906 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.5937, allocations: 147.3 kB / 0.6411 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005701/0.5994, allocations: 2.425 MB / 0.6435 GB, free: 1.332 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5995, allocations: 4 kB / 0.6435 GB, free: 1.328 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.5995, allocations: 7.922 kB / 0.6435 GB, free: 1.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.5995, allocations: 0 / 0.6435 GB, free: 1.32 MB / 478.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.003004/0.6025, allocations: 1.057 MB / 0.6445 GB, free: 220 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.6026, allocations: 12.03 kB / 0.6445 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.6028, allocations: 36.41 kB / 0.6445 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.6032, allocations: 259.4 kB / 0.6448 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.6034, allocations: 131.4 kB / 0.6449 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.6034, allocations: 24 kB / 0.6449 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.6042, allocations: 0.5604 MB / 0.6455 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6043, allocations: 3.938 kB / 0.6455 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.6043, allocations: 12 kB / 0.6455 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.6044, allocations: 28.55 kB / 0.6455 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.6057, allocations: 1.255 MB / 0.6468 GB, free: 13.81 MB / 494.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.002596/0.6083, allocations: 1.984 MB / 0.6487 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.6091, allocations: 263 kB / 0.6489 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.6093, allocations: 122 kB / 0.6491 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003471/0.6127, allocations: 3.099 MB / 0.6521 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.6128, allocations: 42.5 kB / 0.6521 GB, free: 7.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.184e-06/0.6128, allocations: 0 / 0.6521 GB, free: 7.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001939/0.6147, allocations: 0.7093 MB / 0.6528 GB, free: 6.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.6148, allocations: 55.41 kB / 0.6529 GB, free: 6.812 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.615, allocations: 203 kB / 0.6531 GB, free: 6.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.6151, allocations: 37.69 kB / 0.6531 GB, free: 6.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.6152, allocations: 191.8 kB / 0.6533 GB, free: 6.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.6153, allocations: 157.7 kB / 0.6534 GB, free: 6.211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.6155, allocations: 126.2 kB / 0.6536 GB, free: 6.082 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6157, allocations: 338.8 kB / 0.6539 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.6159, allocations: 105.2 kB / 0.654 GB, free: 5.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.6164, allocations: 413.3 kB / 0.6544 GB, free: 5.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.6171, allocations: 0.5747 MB / 0.6549 GB, free: 4.363 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6171, allocations: 8 kB / 0.6549 GB, free: 4.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001003/0.6181, allocations: 0.5556 MB / 0.6555 GB, free: 3.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.6181, allocations: 8.219 kB / 0.6555 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.6182, allocations: 19.94 kB / 0.6555 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.6182, allocations: 16 kB / 0.6555 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.6189, allocations: 191.7 kB / 0.6557 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000646/0.6195, allocations: 1.196 MB / 0.6569 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.6199, allocations: 20 kB / 0.6569 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/0.62, allocations: 55.97 kB / 0.657 GB, free: 2.25 MB / 494.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.0002029/0.6202, allocations: 173.5 kB / 0.6571 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-05/0.6203, allocations: 31.64 kB / 0.6571 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.6214, allocations: 0.6261 MB / 0.6578 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.6214, allocations: 8 kB / 0.6578 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.6214, allocations: 3.984 kB / 0.6578 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/0.6214, allocations: 0 / 0.6578 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.6226, allocations: 0.8244 MB / 0.6586 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6226, allocations: 0 / 0.6586 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.623, allocations: 99.86 kB / 0.6587 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6231, allocations: 0 / 0.6587 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.6231, allocations: 20.06 kB / 0.6587 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000574/0.6237, allocations: 1.172 MB / 0.6598 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6237, allocations: 0 / 0.6598 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.6242, allocations: 367.2 kB / 0.6602 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.6243, allocations: 116.8 kB / 0.6603 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.6244, allocations: 5.188 kB / 0.6603 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.6246, allocations: 19.98 kB / 0.6603 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.6247, allocations: 23.91 kB / 0.6603 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.6247, allocations: 23.98 kB / 0.6604 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001707/0.6249, allocations: 172.5 kB / 0.6605 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6249, allocations: 0 / 0.6605 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001698/0.6266, allocations: 499.6 kB / 0.661 GB, free: 13.86 MB / 0.4981 GB 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.001926/0.6286, allocations: 0.7582 MB / 0.6617 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009624/0.6295, allocations: 368.3 kB / 0.6621 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6295, allocations: 0 / 0.6621 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.6299, allocations: 151.8 kB / 0.6622 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007052/0.6306, allocations: 137.1 kB / 0.6624 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/0.6392, allocations: 5.88 MB / 0.6681 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.6397, allocations: 0.7662 MB / 0.6689 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006667/0.6404, allocations: 202.7 kB / 0.6691 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.6405, allocations: 67.39 kB / 0.6691 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.096e-06/0.6406, allocations: 4 kB / 0.6691 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of Templates: time 0.02178/0.6623, allocations: 15.09 MB / 0.6839 GB, free: 6.445 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches