Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.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.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.001124, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.09 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4172, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1929/0.6101, allocations: 153.9 MB / 0.6819 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.6124, allocations: 1.46 MB / 0.6834 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.6125, allocations: 0 / 0.6834 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.6129, allocations: 55.72 kB / 0.6834 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.6165, allocations: 1.077 MB / 0.6845 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.273e-06/0.6166, allocations: 0 / 0.6845 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.6167, allocations: 63.66 kB / 0.6845 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.6168, allocations: 0 / 0.6845 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.6168, allocations: 27.91 kB / 0.6845 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.6169, allocations: 35.84 kB / 0.6846 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.6169, allocations: 0 / 0.6846 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.6204, allocations: 1.875 MB / 0.6864 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.6205, allocations: 7.984 kB / 0.6864 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.6205, allocations: 27.88 kB / 0.6864 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.6226, allocations: 0.924 MB / 0.6873 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6227, allocations: 3.938 kB / 0.6874 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6227, allocations: 0 / 0.6874 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.6227, allocations: 0 / 0.6874 GB, free: 1.672 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009606/0.6236, allocations: 0.4951 MB / 0.6878 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.6237, allocations: 12.03 kB / 0.6878 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.6237, allocations: 0.9375 kB / 0.6878 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.6239, allocations: 179.4 kB / 0.688 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.6239, allocations: 8 kB / 0.688 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.6239, allocations: 4 kB / 0.688 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.6241, allocations: 85.59 kB / 0.6881 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6241, allocations: 3.984 kB / 0.6881 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.6241, allocations: 7.938 kB / 0.6881 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.6242, allocations: 7.984 kB / 0.6881 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.6243, allocations: 67.91 kB / 0.6882 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.6248, allocations: 308.7 kB / 0.6885 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.6249, allocations: 42.52 kB / 0.6885 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.625, allocations: 20.97 kB / 0.6885 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.6252, allocations: 255.3 kB / 0.6888 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.6253, allocations: 38.48 kB / 0.6888 GB, free: 15.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.6253, allocations: 0 / 0.6888 GB, free: 15.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002161/0.6255, allocations: 61.88 kB / 0.6889 GB, free: 15.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.6256, allocations: 55.41 kB / 0.6889 GB, free: 15.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.6257, allocations: 109.9 kB / 0.689 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.6257, allocations: 25.7 kB / 0.6891 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.6258, allocations: 99.89 kB / 0.6892 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.6258, allocations: 27.67 kB / 0.6892 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.6258, allocations: 17.72 kB / 0.6892 GB, free: 15.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.626, allocations: 318.8 kB / 0.6895 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/0.626, allocations: 12 kB / 0.6895 GB, free: 15.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.626, allocations: 39.42 kB / 0.6896 GB, free: 15.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.44e-05/0.6261, allocations: 55.36 kB / 0.6896 GB, free: 15.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6261, allocations: 0 / 0.6896 GB, free: 15.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001407/0.6263, allocations: 85.58 kB / 0.6897 GB, free: 14.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6263, allocations: 12.03 kB / 0.6897 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6263, allocations: 3.984 kB / 0.6897 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.6264, allocations: 4 kB / 0.6897 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.6264, allocations: 12 kB / 0.6897 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.6265, allocations: 3.938 kB / 0.6897 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.6265, allocations: 0 / 0.6897 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.6265, allocations: 4 kB / 0.6897 GB, free: 14.93 MB / 0.545 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 9.045e-05/0.6266, allocations: 129.7 kB / 0.6899 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.6267, allocations: 11.84 kB / 0.6899 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.6268, allocations: 77.23 kB / 0.6899 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.6269, allocations: 0 / 0.6899 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6269, allocations: 0 / 0.6899 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6269, allocations: 0 / 0.6899 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.6271, allocations: 165.6 kB / 0.6901 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6271, allocations: 384 / 0.6901 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.6271, allocations: 11.92 kB / 0.6901 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6271, allocations: 8 kB / 0.6901 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.6271, allocations: 8 kB / 0.6901 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6272, allocations: 0 / 0.6901 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6272, allocations: 0 / 0.6901 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.6273, allocations: 147.5 kB / 0.6903 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.6274, allocations: 96.88 kB / 0.6904 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.6274, allocations: 0 / 0.6904 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.6274, allocations: 0 / 0.6904 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.6275, allocations: 8 kB / 0.6904 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.6275, allocations: 4 kB / 0.6904 GB, free: 14.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.861e-05/0.6275, allocations: 87.27 kB / 0.6905 GB, free: 14.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.472e-06/0.6275, allocations: 0 / 0.6905 GB, free: 14.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005615/0.6281, allocations: 143.9 kB / 0.6906 GB, free: 13.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0009897/0.6291, allocations: 346.7 kB / 0.6909 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.6293, allocations: 39.92 kB / 0.691 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6293, allocations: 0 / 0.691 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.6293, allocations: 15.98 kB / 0.691 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.6296, allocations: 10.69 kB / 0.691 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.6301, allocations: 202 kB / 0.6912 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.6304, allocations: 0.6884 MB / 0.6919 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.6304, allocations: 23.42 kB / 0.6919 GB, free: 12.57 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.6304, allocations: 0 / 0.6919 GB, free: 12.57 MB / 0.545 GB Notification: Performance of Templates: time 0.006171/0.6366, allocations: 3.18 MB / 0.695 GB, free: 9.391 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches