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.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.001903/0.001903, allocations: 96.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.002278/0.002278, allocations: 165.6 kB / 24.27 MB, free: 144 kB / 18.57 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: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3199/0.3199, allocations: 32.8 MB / 293.9 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.594e-05/3.819e-05, allocations: 6.25 kB / 375.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3276/0.3277, allocations: 132.8 MB / 0.4961 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3294, allocations: 1.2 MB / 0.4973 GB, free: 25.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.3295, allocations: 1.094 kB / 0.4973 GB, free: 25.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.3298, allocations: 35.34 kB / 0.4973 GB, free: 25.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.3326, allocations: 1.059 MB / 0.4984 GB, free: 25.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.681e-06/0.3326, allocations: 0 / 0.4984 GB, free: 25.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.3328, allocations: 55.38 kB / 0.4984 GB, free: 25.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.3328, allocations: 7.031 kB / 0.4984 GB, free: 25.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.3328, allocations: 21.78 kB / 0.4984 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.3329, allocations: 27.58 kB / 0.4985 GB, free: 25.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.3329, allocations: 1.094 kB / 0.4985 GB, free: 25.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.336, allocations: 1.585 MB / 0.5 GB, free: 24.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.3361, allocations: 14.94 kB / 0.5 GB, free: 24.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.3361, allocations: 18.56 kB / 0.5 GB, free: 24.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.3381, allocations: 1.014 MB / 0.501 GB, free: 24.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3381, allocations: 0 / 0.501 GB, free: 24.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3381, allocations: 0 / 0.501 GB, free: 24.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3381, allocations: 0.6562 kB / 0.501 GB, free: 24.36 MB / 410.7 MB 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.0006897/0.3388, allocations: 440.1 kB / 0.5015 GB, free: 23.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3388, allocations: 8.781 kB / 0.5015 GB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.3389, allocations: 10 kB / 0.5015 GB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.628e-05/0.339, allocations: 108.2 kB / 0.5016 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.339, allocations: 2.344 kB / 0.5016 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.339, allocations: 10.59 kB / 0.5016 GB, free: 23.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3391, allocations: 71.66 kB / 0.5017 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3391, allocations: 0 / 0.5017 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3392, allocations: 0 / 0.5017 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.3392, allocations: 11.17 kB / 0.5017 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.3e-05/0.3393, allocations: 58.83 kB / 0.5017 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.3396, allocations: 247.2 kB / 0.502 GB, free: 23.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.77e-05/0.3397, allocations: 31.14 kB / 0.502 GB, free: 23.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.3397, allocations: 9.891 kB / 0.502 GB, free: 23.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.3398, allocations: 28.14 kB / 0.502 GB, free: 23.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.3399, allocations: 32.36 kB / 0.5021 GB, free: 23.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.3399, allocations: 3.938 kB / 0.5021 GB, free: 23.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.3401, allocations: 65.09 kB / 0.5021 GB, free: 23.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.3401, allocations: 53 kB / 0.5022 GB, free: 23.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.244e-05/0.3401, allocations: 109.9 kB / 0.5023 GB, free: 23.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-06/0.3402, allocations: 29.7 kB / 0.5023 GB, free: 23.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.3402, allocations: 92.89 kB / 0.5024 GB, free: 23.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.3402, allocations: 17.67 kB / 0.5024 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.3402, allocations: 21.92 kB / 0.5024 GB, free: 23.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.3403, allocations: 313.2 kB / 0.5027 GB, free: 22.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.3403, allocations: 11.69 kB / 0.5027 GB, free: 22.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.3403, allocations: 31.59 kB / 0.5028 GB, free: 22.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.3404, allocations: 47.83 kB / 0.5028 GB, free: 22.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3404, allocations: 5.516 kB / 0.5028 GB, free: 22.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001055/0.3405, allocations: 78.83 kB / 0.5029 GB, free: 22.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3405, allocations: 5.906 kB / 0.5029 GB, free: 22.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3405, allocations: 1.625 kB / 0.5029 GB, free: 22.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3405, allocations: 2.031 kB / 0.5029 GB, free: 22.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.3406, allocations: 12.41 kB / 0.5029 GB, free: 22.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3406, allocations: 5.25 kB / 0.5029 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.3406, allocations: 5.328 kB / 0.5029 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3407, allocations: 4.547 kB / 0.5029 GB, free: 22.64 MB / 410.7 MB 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 5.428e-05/0.3407, allocations: 123 kB / 0.5031 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3407, allocations: 2.75 kB / 0.5031 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.3409, allocations: 62.62 kB / 0.5031 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3409, allocations: 0 / 0.5031 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.3409, allocations: 0 / 0.5031 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3409, allocations: 5.906 kB / 0.5031 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.341, allocations: 111.3 kB / 0.5032 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.341, allocations: 4 kB / 0.5032 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.341, allocations: 7.641 kB / 0.5032 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.341, allocations: 0 / 0.5032 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3411, allocations: 6.938 kB / 0.5032 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3411, allocations: 1.062 kB / 0.5032 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3411, allocations: 0 / 0.5032 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.868e-05/0.3411, allocations: 154.1 kB / 0.5034 GB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.3412, allocations: 6 kB / 0.5034 GB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3412, allocations: 6.047 kB / 0.5034 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.978e-05/0.3412, allocations: 4 kB / 0.5034 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.3412, allocations: 4.625 kB / 0.5034 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.3412, allocations: 6.094 kB / 0.5034 GB, free: 22.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.3413, allocations: 83.88 kB / 0.5035 GB, free: 22.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3413, allocations: 0 / 0.5035 GB, free: 22.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004969/0.3418, allocations: 145.1 kB / 0.5036 GB, free: 22.06 MB / 410.7 MB 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 (4): * Single equations (assignments): 4 * 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.000745/0.3425, allocations: 339.9 kB / 0.504 GB, free: 21.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.3426, allocations: 30.27 kB / 0.504 GB, free: 21.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3426, allocations: 0 / 0.504 GB, free: 21.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.3426, allocations: 7.812 kB / 0.504 GB, free: 21.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3429, allocations: 14.36 kB / 0.504 GB, free: 21.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.3432, allocations: 134 kB / 0.5041 GB, free: 21.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.3433, allocations: 64.62 kB / 0.5042 GB, free: 21.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.192e-05/0.3433, allocations: 15.06 kB / 0.5042 GB, free: 21.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.3434, allocations: 14.72 kB / 0.5042 GB, free: 21.7 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3434, allocations: 3.938 kB / 0.5042 GB, free: 21.69 MB / 410.7 MB Notification: Performance of Templates: time 0.007073/0.3504, allocations: 3.446 MB / 0.5076 GB, free: 21.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.2937251219991595]