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.001102/0.001102, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002687, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001064/0.001064, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002536, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9061/0.9061, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07947/0.9856, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.2399/0.2399, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02225/0.2622, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 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 1.262e-06/1.262e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.288e-05, allocations: 9.25 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.128/0.128, allocations: 146.7 MB / 439.5 MB, free: 2.926 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1296, allocations: 1.472 MB / 441 MB, free: 1.449 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.1296, allocations: 4 kB / 441 MB, free: 1.445 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.1299, allocations: 47.69 kB / 441.1 MB, free: 1.398 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.132, allocations: 1.027 MB / 442.1 MB, free: 376 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.48e-06/0.132, allocations: 0 / 442.1 MB, free: 376 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1321, allocations: 67.59 kB / 442.2 MB, free: 308 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.1322, allocations: 0 / 442.2 MB, free: 308 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.1322, allocations: 43.89 kB / 442.2 MB, free: 264 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.1323, allocations: 35.83 kB / 442.2 MB, free: 228 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1323, allocations: 0 / 442.2 MB, free: 228 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1748/0.3071, allocations: 1.678 MB / 443.9 MB, free: 4.113 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.3071, allocations: 17.12 kB / 443.9 MB, free: 4.113 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.3071, allocations: 14.03 kB / 443.9 MB, free: 4.113 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000975/0.3081, allocations: 0.8566 MB / 444.8 MB, free: 4.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.3081, allocations: 0 / 444.8 MB, free: 4.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3081, allocations: 4.344 kB / 444.8 MB, free: 4.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3081, allocations: 0 / 444.8 MB, free: 4.094 MB / 426.7 MB 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.0006955/0.3088, allocations: 0.5804 MB / 445.4 MB, free: 19.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.3089, allocations: 11.12 kB / 445.4 MB, free: 19.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.3089, allocations: 7.938 kB / 445.4 MB, free: 19.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.453e-05/0.309, allocations: 106.9 kB / 445.5 MB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.309, allocations: 5.875 kB / 445.5 MB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.309, allocations: 5.25 kB / 445.5 MB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.982e-05/0.3091, allocations: 60.73 kB / 445.6 MB, free: 19.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.3091, allocations: 0 / 445.6 MB, free: 19.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.3091, allocations: 0.5938 kB / 445.6 MB, free: 19.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.3091, allocations: 9.672 kB / 445.6 MB, free: 19.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.3091, allocations: 24.5 kB / 445.6 MB, free: 19.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.3094, allocations: 210.3 kB / 445.8 MB, free: 19.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.514e-05/0.3094, allocations: 82.84 kB / 445.9 MB, free: 19.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.3094, allocations: 17.91 kB / 445.9 MB, free: 19.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.3096, allocations: 49.33 kB / 446 MB, free: 19.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.3096, allocations: 30.56 kB / 446 MB, free: 19.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3096, allocations: 0 / 446 MB, free: 19.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 9.878e-05/0.3097, allocations: 53.42 kB / 446 MB, free: 19.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.3097, allocations: 54.91 kB / 446.1 MB, free: 19.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.434e-05/0.3098, allocations: 107.9 kB / 446.2 MB, free: 19.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.3098, allocations: 28.91 kB / 446.2 MB, free: 18.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.3098, allocations: 97.81 kB / 446.3 MB, free: 18.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.183e-06/0.3098, allocations: 17.12 kB / 446.3 MB, free: 18.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.3098, allocations: 27.2 kB / 446.4 MB, free: 18.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.3099, allocations: 316.6 kB / 446.7 MB, free: 18.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.3099, allocations: 9.578 kB / 446.7 MB, free: 18.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.3099, allocations: 32.62 kB / 446.7 MB, free: 18.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.31, allocations: 59.8 kB / 446.8 MB, free: 18.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.31, allocations: 0.7188 kB / 446.8 MB, free: 18.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.269e-05/0.31, allocations: 69.91 kB / 446.9 MB, free: 18.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.31, allocations: 6.281 kB / 446.9 MB, free: 18.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.31, allocations: 4.203 kB / 446.9 MB, free: 18.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.31, allocations: 3.625 kB / 446.9 MB, free: 18.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.048e-05/0.3101, allocations: 12.95 kB / 446.9 MB, free: 18.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.3101, allocations: 2.656 kB / 446.9 MB, free: 18.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.3101, allocations: 7.641 kB / 446.9 MB, free: 18.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3101, allocations: 2.656 kB / 446.9 MB, free: 18.44 MB / 442.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 (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 4.542e-05/0.3102, allocations: 129.3 kB / 447 MB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3102, allocations: 2.688 kB / 447 MB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.3103, allocations: 60.16 kB / 447.1 MB, free: 18.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3103, allocations: 2.688 kB / 447.1 MB, free: 18.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.3103, allocations: 2.109 kB / 447.1 MB, free: 18.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3103, allocations: 0.8125 kB / 447.1 MB, free: 18.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.887e-05/0.3103, allocations: 77.67 kB / 447.2 MB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3103, allocations: 0.7812 kB / 447.2 MB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.3104, allocations: 13.2 kB / 447.2 MB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-06/0.3104, allocations: 3.25 kB / 447.2 MB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.3104, allocations: 0 / 447.2 MB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-06/0.3104, allocations: 2.609 kB / 447.2 MB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.3104, allocations: 3.859 kB / 447.2 MB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.3104, allocations: 0.6562 kB / 447.2 MB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.233e-05/0.3104, allocations: 198.2 kB / 447.4 MB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.3104, allocations: 1.938 kB / 447.4 MB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/0.3105, allocations: 4 kB / 447.4 MB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.3105, allocations: 5.578 kB / 447.4 MB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3105, allocations: 3.828 kB / 447.4 MB, free: 18.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.687e-06/0.3105, allocations: 12.81 kB / 447.4 MB, free: 18.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.3105, allocations: 1 kB / 447.4 MB, free: 18.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.3108, allocations: 159.7 kB / 447.6 MB, free: 17.98 MB / 442.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 (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.0004226/0.3112, allocations: 330.9 kB / 447.9 MB, free: 17.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.605e-05/0.3113, allocations: 35 kB / 447.9 MB, free: 17.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3113, allocations: 3.312 kB / 447.9 MB, free: 17.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.3113, allocations: 14.45 kB / 447.9 MB, free: 17.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.3114, allocations: 62.95 kB / 448 MB, free: 17.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3128, allocations: 177.8 kB / 448.2 MB, free: 17.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.937e-05/0.3128, allocations: 61.55 kB / 448.2 MB, free: 17.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.98e-05/0.3128, allocations: 19.72 kB / 448.3 MB, free: 17.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.3129, allocations: 66.69 kB / 448.3 MB, free: 17.57 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3129, allocations: 1 kB / 448.3 MB, free: 17.57 MB / 442.7 MB Notification: Performance of Templates: time 0.004692/0.3176, allocations: 4.287 MB / 452.6 MB, free: 17.41 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3278349861502647]