Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 210.9 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2327/0.2327, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.343, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1755/0.5185, allocations: 132.8 MB / 0.6915 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.5205, allocations: 1.308 MB / 0.6928 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.5205, allocations: 0 / 0.6928 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.5209, allocations: 39.75 kB / 0.6928 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.5239, allocations: 1.087 MB / 0.6939 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.161e-06/0.5239, allocations: 0 / 0.6939 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.524, allocations: 67.64 kB / 0.6939 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.524, allocations: 7.984 kB / 0.6939 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.5241, allocations: 23.94 kB / 0.694 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.5242, allocations: 39.81 kB / 0.694 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.5242, allocations: 4 kB / 0.694 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.5274, allocations: 1.645 MB / 0.6956 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.5274, allocations: 23.84 kB / 0.6956 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.5275, allocations: 15.94 kB / 0.6956 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.5291, allocations: 0.8845 MB / 0.6965 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5291, allocations: 0 / 0.6965 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5291, allocations: 0 / 0.6965 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5291, allocations: 4 kB / 0.6965 GB, free: 9.73 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.0007507/0.5298, allocations: 440.5 kB / 0.6969 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.5299, allocations: 12.03 kB / 0.6969 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.5299, allocations: 4.891 kB / 0.6969 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.53, allocations: 113.7 kB / 0.6971 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.53, allocations: 3.938 kB / 0.6971 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.5301, allocations: 4 kB / 0.6971 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.5302, allocations: 89.59 kB / 0.6971 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5302, allocations: 0 / 0.6971 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.5303, allocations: 11.92 kB / 0.6972 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.5303, allocations: 8 kB / 0.6972 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.5304, allocations: 67.95 kB / 0.6972 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.5309, allocations: 260.3 kB / 0.6975 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.531, allocations: 38.56 kB / 0.6975 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.531, allocations: 12.98 kB / 0.6975 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.5312, allocations: 35.97 kB / 0.6976 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.5312, allocations: 30.56 kB / 0.6976 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.5312, allocations: 0 / 0.6976 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002208/0.5314, allocations: 69.56 kB / 0.6977 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.5315, allocations: 59.41 kB / 0.6977 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.5316, allocations: 109.8 kB / 0.6978 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.5316, allocations: 29.7 kB / 0.6978 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.5316, allocations: 88.05 kB / 0.6979 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.5317, allocations: 31.77 kB / 0.698 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.5317, allocations: 21.72 kB / 0.698 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5319, allocations: 314.8 kB / 0.6983 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.5319, allocations: 12 kB / 0.6983 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.5319, allocations: 39.42 kB / 0.6983 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.532, allocations: 59.86 kB / 0.6984 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.532, allocations: 0 / 0.6984 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001478/0.5322, allocations: 85.56 kB / 0.6985 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5322, allocations: 11.92 kB / 0.6985 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5322, allocations: 0 / 0.6985 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5322, allocations: 4 kB / 0.6985 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.5323, allocations: 8 kB / 0.6985 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5323, allocations: 4 kB / 0.6985 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.5324, allocations: 3.953 kB / 0.6985 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.5324, allocations: 4.156 kB / 0.6985 GB, free: 7.488 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 (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.451e-05/0.5325, allocations: 121.9 kB / 0.6986 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.5325, allocations: 7.938 kB / 0.6986 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.5327, allocations: 85.28 kB / 0.6987 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.5327, allocations: 3.938 kB / 0.6987 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5327, allocations: 112 / 0.6987 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5327, allocations: 3.938 kB / 0.6987 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.5329, allocations: 113.3 kB / 0.6988 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5329, allocations: 4 kB / 0.6988 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.5329, allocations: 8 kB / 0.6988 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5329, allocations: 0 / 0.6988 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.5329, allocations: 7.922 kB / 0.6988 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5329, allocations: 4 kB / 0.6988 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5329, allocations: 0 / 0.6988 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.5331, allocations: 163.4 kB / 0.699 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.5331, allocations: 4 kB / 0.699 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.5331, allocations: 3.938 kB / 0.699 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.5331, allocations: 192 / 0.699 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.5332, allocations: 11.98 kB / 0.699 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.5332, allocations: 4 kB / 0.699 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.5332, allocations: 83.28 kB / 0.6991 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5332, allocations: 0 / 0.6991 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005478/0.5338, allocations: 151.5 kB / 0.6993 GB, free: 6.66 MB / 0.5294 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.0007984/0.5346, allocations: 330.5 kB / 0.6996 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.5347, allocations: 36.11 kB / 0.6996 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5347, allocations: 4 kB / 0.6996 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.5347, allocations: 12 kB / 0.6996 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.5351, allocations: 11.98 kB / 0.6996 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.5355, allocations: 190.3 kB / 0.6998 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.065e-05/0.5356, allocations: 79.22 kB / 0.6999 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.5356, allocations: 19.44 kB / 0.6999 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.5356, allocations: 0 / 0.6999 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.00608/0.5417, allocations: 3.204 MB / 0.703 GB, free: 2.727 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.726759304990992]