Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001808/0.001808, allocations: 83.66 kB / 20.52 MB, free: 1.273 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.002142/0.002142, allocations: 165.2 kB / 23.77 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2099/0.2099, allocations: 32.38 MB / 270.1 MB, free: 2.695 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 67.91 kB / 407.7 MB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1164, allocations: 61.04 MB / 468.8 MB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3709/0.4872, allocations: 131 MB / 0.5857 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.4889, allocations: 1.078 MB / 0.5867 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.4889, allocations: 0 / 0.5867 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.4892, allocations: 42.69 kB / 0.5868 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.4914, allocations: 0.8852 MB / 0.5876 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.729e-06/0.4914, allocations: 2.25 kB / 0.5876 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.4916, allocations: 43.78 kB / 0.5877 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.4916, allocations: 4 kB / 0.5877 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.4916, allocations: 23.84 kB / 0.5877 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.4917, allocations: 15.98 kB / 0.5877 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.4917, allocations: 4 kB / 0.5877 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.4942, allocations: 1.372 MB / 0.5891 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.4942, allocations: 15.92 kB / 0.5891 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.4943, allocations: 15.92 kB / 0.5891 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.4954, allocations: 0.7398 MB / 0.5898 GB, free: 1.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4955, allocations: 0 / 0.5898 GB, free: 1.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4955, allocations: 0 / 0.5898 GB, free: 1.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.4955, allocations: 0 / 0.5898 GB, free: 1.879 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006412/0.4961, allocations: 396.9 kB / 0.5902 GB, free: 1.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4961, allocations: 16.03 kB / 0.5902 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.4962, allocations: 5.75 kB / 0.5902 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4963, allocations: 106.5 kB / 0.5903 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.4963, allocations: 3.938 kB / 0.5903 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.4963, allocations: 4 kB / 0.5903 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4965, allocations: 69.67 kB / 0.5904 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4965, allocations: 0 / 0.5904 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.4965, allocations: 1.781 kB / 0.5904 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.4965, allocations: 5.062 kB / 0.5904 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.4966, allocations: 55.91 kB / 0.5905 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.497, allocations: 240.4 kB / 0.5907 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.4971, allocations: 46.59 kB / 0.5907 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.4971, allocations: 8.922 kB / 0.5907 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.4972, allocations: 11.98 kB / 0.5907 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4972, allocations: 34.56 kB / 0.5908 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4972, allocations: 3.938 kB / 0.5908 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001665/0.4974, allocations: 49.69 kB / 0.5908 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.4974, allocations: 55.34 kB / 0.5909 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.4975, allocations: 106 kB / 0.591 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4975, allocations: 25.7 kB / 0.591 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.4976, allocations: 95.98 kB / 0.5911 GB, free: 428 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.4976, allocations: 11.91 kB / 0.5911 GB, free: 416 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.4976, allocations: 25.7 kB / 0.5911 GB, free: 384 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4978, allocations: 314.8 kB / 0.5914 GB, free: 60 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.4978, allocations: 4 kB / 0.5914 GB, free: 56 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.4978, allocations: 40.61 kB / 0.5915 GB, free: 8 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.4979, allocations: 47.59 kB / 0.5915 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.4979, allocations: 0 / 0.5915 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001074/0.498, allocations: 73.56 kB / 0.5916 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.498, allocations: 8 kB / 0.5916 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.498, allocations: 2.266 kB / 0.5916 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.498, allocations: 0 / 0.5916 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.4981, allocations: 15.88 kB / 0.5916 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4981, allocations: 7.984 kB / 0.5916 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.4982, allocations: 7.953 kB / 0.5916 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.4982, allocations: 4 kB / 0.5916 GB, free: 15.83 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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 8.206e-05/0.4983, allocations: 109.8 kB / 0.5917 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.4983, allocations: 96 / 0.5917 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.4984, allocations: 65.36 kB / 0.5918 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.4984, allocations: 3.938 kB / 0.5918 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4984, allocations: 0 / 0.5918 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4984, allocations: 3.938 kB / 0.5918 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.4986, allocations: 111 kB / 0.5919 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4986, allocations: 0 / 0.5919 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.4986, allocations: 7.984 kB / 0.5919 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4986, allocations: 0 / 0.5919 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.4986, allocations: 4 kB / 0.5919 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4986, allocations: 0 / 0.5919 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4986, allocations: 7.938 kB / 0.5919 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.4987, allocations: 139.5 kB / 0.5921 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.4987, allocations: 3.953 kB / 0.5921 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.4987, allocations: 3.938 kB / 0.5921 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.4988, allocations: 5.5 kB / 0.5921 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.4988, allocations: 7.922 kB / 0.5921 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.4988, allocations: 0 / 0.5921 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.4989, allocations: 83.28 kB / 0.5922 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4989, allocations: 0 / 0.5922 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003988/0.4993, allocations: 99.61 kB / 0.5923 GB, free: 15.13 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005446/0.4998, allocations: 255 kB / 0.5925 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.4999, allocations: 23.98 kB / 0.5925 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4999, allocations: 0 / 0.5925 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.771e-05/0.5, allocations: 8.969 kB / 0.5925 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.5002, allocations: 11.98 kB / 0.5926 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.5006, allocations: 140 kB / 0.5927 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.5006, allocations: 63.34 kB / 0.5927 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.362e-05/0.5007, allocations: 13.38 kB / 0.5928 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.5007, allocations: 16.5 kB / 0.5928 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.5007, allocations: 3.938 kB / 0.5928 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.006278/0.507, allocations: 2.633 MB / 0.5953 GB, free: 11.93 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.402534666936845]