Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 101.4 kB / 18.45 MB, free: 4.625 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.001098/0.001098, allocations: 184.3 kB / 19.38 MB, free: 3.703 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.367/1.367, allocations: 222.9 MB / 243.1 MB, free: 15.17 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.2145/0.2145, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 60.12 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3769, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2039/0.5808, allocations: 151 MB / 0.667 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.5826, allocations: 1.32 MB / 0.6683 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.5827, allocations: 0 / 0.6683 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.583, allocations: 39.81 kB / 0.6683 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.5864, allocations: 1.035 MB / 0.6693 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.841e-06/0.5864, allocations: 4 kB / 0.6693 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.5866, allocations: 51.72 kB / 0.6694 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.5866, allocations: 0 / 0.6694 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.5866, allocations: 23.91 kB / 0.6694 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.5867, allocations: 27.86 kB / 0.6694 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.5867, allocations: 3.984 kB / 0.6694 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.5903, allocations: 1.786 MB / 0.6712 GB, free: 288 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.5903, allocations: 7.984 kB / 0.6712 GB, free: 280 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.5904, allocations: 15.88 kB / 0.6712 GB, free: 264 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.5923, allocations: 0.8868 MB / 0.672 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.5923, allocations: 0 / 0.672 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5923, allocations: 7.875 kB / 0.6721 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.5923, allocations: 0 / 0.6721 GB, free: 15.36 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007951/0.5931, allocations: 495.2 kB / 0.6725 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5932, allocations: 8.031 kB / 0.6725 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.5932, allocations: 8.844 kB / 0.6725 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.916e-05/0.5933, allocations: 167.5 kB / 0.6727 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.5933, allocations: 7.938 kB / 0.6727 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.5934, allocations: 0 / 0.6727 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.5935, allocations: 73.67 kB / 0.6728 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5935, allocations: 3.938 kB / 0.6728 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.5935, allocations: 0 / 0.6728 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.5936, allocations: 11.98 kB / 0.6728 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.5937, allocations: 51.97 kB / 0.6728 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.5941, allocations: 296.7 kB / 0.6731 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.03e-05/0.5942, allocations: 34.5 kB / 0.6732 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.5942, allocations: 16.86 kB / 0.6732 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.5945, allocations: 255.4 kB / 0.6734 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.5945, allocations: 46.5 kB / 0.6735 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.5945, allocations: 0 / 0.6735 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.5947, allocations: 49.69 kB / 0.6735 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.5947, allocations: 51.41 kB / 0.6736 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.5948, allocations: 105.8 kB / 0.6737 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.5948, allocations: 25.7 kB / 0.6737 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.5949, allocations: 99.83 kB / 0.6738 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.5949, allocations: 15.75 kB / 0.6738 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.5949, allocations: 25.7 kB / 0.6738 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.595, allocations: 318.8 kB / 0.6741 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.5951, allocations: 4 kB / 0.6741 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.614e-05/0.5951, allocations: 35.42 kB / 0.6742 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/0.5952, allocations: 55.36 kB / 0.6742 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5952, allocations: 112 / 0.6742 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001115/0.5953, allocations: 69.94 kB / 0.6743 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5953, allocations: 7.938 kB / 0.6743 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5954, allocations: 7.938 kB / 0.6743 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5954, allocations: 8.016 kB / 0.6743 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.5955, allocations: 12 kB / 0.6743 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.5955, allocations: 3.938 kB / 0.6743 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.5955, allocations: 8 kB / 0.6743 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5955, allocations: 8 kB / 0.6743 GB, free: 12.72 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.5956, allocations: 113.8 kB / 0.6744 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.5957, allocations: 7.938 kB / 0.6745 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.5958, allocations: 57.19 kB / 0.6745 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5958, allocations: 0 / 0.6745 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5958, allocations: 7.984 kB / 0.6745 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.5959, allocations: 81.11 kB / 0.6746 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5959, allocations: 3.938 kB / 0.6746 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.5959, allocations: 4 kB / 0.6746 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.596, allocations: 0 / 0.6746 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.458e-05/0.5961, allocations: 125 kB / 0.6747 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000139/0.5962, allocations: 234.7 kB / 0.6749 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.485e-05/0.5963, allocations: 15.94 kB / 0.675 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.5963, allocations: 83.27 kB / 0.675 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of Backend: time 3.91e-07/0.5963, allocations: 0 / 0.675 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.598, allocations: 492.5 kB / 0.6755 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0004656/0.5985, allocations: 0.5866 MB / 0.6761 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.01047/0.6089, allocations: 6.436 MB / 0.6824 GB, free: 4.395 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches