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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008788/0.0008788, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004276/0.004276, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8968/0.8968, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.286/0.286, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.136e-05, allocations: 2.281 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3015/0.3016, allocations: 132.8 MB / 0.5627 GB, free: 11.34 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3028, allocations: 1.293 MB / 0.564 GB, free: 10.05 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.3029, allocations: 4 kB / 0.564 GB, free: 10.04 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.3032, allocations: 35.81 kB / 0.564 GB, free: 10.01 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.3056, allocations: 1.111 MB / 0.5651 GB, free: 8.898 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.944e-06/0.3056, allocations: 0 / 0.5651 GB, free: 8.898 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3057, allocations: 63.59 kB / 0.5652 GB, free: 8.836 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.3058, allocations: 7.984 kB / 0.5652 GB, free: 8.828 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.3058, allocations: 35.91 kB / 0.5652 GB, free: 8.793 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.3059, allocations: 31.89 kB / 0.5652 GB, free: 8.762 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.3059, allocations: 0 / 0.5652 GB, free: 8.762 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.3083, allocations: 1.614 MB / 0.5668 GB, free: 7.145 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.3084, allocations: 15.92 kB / 0.5668 GB, free: 7.129 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.3084, allocations: 23.92 kB / 0.5669 GB, free: 7.105 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3098, allocations: 1.033 MB / 0.5679 GB, free: 6.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3098, allocations: 4 kB / 0.5679 GB, free: 6.066 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3098, allocations: 0 / 0.5679 GB, free: 6.066 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3098, allocations: 4 kB / 0.5679 GB, free: 6.062 MB / 474.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.0006515/0.3104, allocations: 439.9 kB / 0.5683 GB, free: 5.605 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3105, allocations: 8.031 kB / 0.5683 GB, free: 5.598 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3105, allocations: 11.11 kB / 0.5683 GB, free: 5.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.955e-05/0.3106, allocations: 109.7 kB / 0.5684 GB, free: 5.457 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3106, allocations: 3.938 kB / 0.5684 GB, free: 5.453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.3106, allocations: 7.984 kB / 0.5684 GB, free: 5.445 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3108, allocations: 89.64 kB / 0.5685 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3108, allocations: 0 / 0.5685 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3108, allocations: 0 / 0.5685 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.3108, allocations: 13.88 kB / 0.5685 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.3109, allocations: 71.89 kB / 0.5686 GB, free: 5.27 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.3112, allocations: 252.4 kB / 0.5688 GB, free: 4.992 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.551e-05/0.3113, allocations: 38.67 kB / 0.5689 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.3113, allocations: 16.92 kB / 0.5689 GB, free: 4.926 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.3114, allocations: 35.91 kB / 0.5689 GB, free: 4.891 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3115, allocations: 30.56 kB / 0.569 GB, free: 4.852 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.3115, allocations: 0 / 0.569 GB, free: 4.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001617/0.3116, allocations: 68.33 kB / 0.569 GB, free: 4.781 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.3117, allocations: 59.34 kB / 0.5691 GB, free: 4.711 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.3117, allocations: 109.8 kB / 0.5692 GB, free: 4.594 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3117, allocations: 29.69 kB / 0.5692 GB, free: 4.559 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.3118, allocations: 99.97 kB / 0.5693 GB, free: 4.457 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.3118, allocations: 11.91 kB / 0.5693 GB, free: 4.445 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.3118, allocations: 25.72 kB / 0.5693 GB, free: 4.414 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.3119, allocations: 314.8 kB / 0.5696 GB, free: 4.098 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.3119, allocations: 12 kB / 0.5697 GB, free: 4.086 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.3119, allocations: 43.36 kB / 0.5697 GB, free: 4.031 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.312, allocations: 59.36 kB / 0.5697 GB, free: 3.961 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.312, allocations: 0 / 0.5697 GB, free: 3.961 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.55e-05/0.3121, allocations: 85.25 kB / 0.5698 GB, free: 3.875 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.3121, allocations: 4 kB / 0.5698 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3121, allocations: 2.578 kB / 0.5698 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3121, allocations: 4 kB / 0.5698 GB, free: 3.867 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.3122, allocations: 15.94 kB / 0.5699 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3122, allocations: 4 kB / 0.5699 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.3122, allocations: 3.938 kB / 0.5699 GB, free: 3.844 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3122, allocations: 8.094 kB / 0.5699 GB, free: 3.836 MB / 474.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 7.749e-05/0.3123, allocations: 121.8 kB / 0.57 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.3123, allocations: 7.953 kB / 0.57 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.3125, allocations: 73.42 kB / 0.5701 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3125, allocations: 4 kB / 0.5701 GB, free: 3.617 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3125, allocations: 3.938 kB / 0.5701 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3125, allocations: 0 / 0.5701 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.3126, allocations: 117.3 kB / 0.5702 GB, free: 3.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3126, allocations: 0 / 0.5702 GB, free: 3.469 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.3126, allocations: 8 kB / 0.5702 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3126, allocations: 0 / 0.5702 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3126, allocations: 3.25 kB / 0.5702 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3126, allocations: 7.875 kB / 0.5702 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3126, allocations: 4 kB / 0.5702 GB, free: 3.449 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.545e-05/0.3127, allocations: 159.4 kB / 0.5704 GB, free: 3.277 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.3127, allocations: 4 kB / 0.5704 GB, free: 3.273 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.3127, allocations: 4 kB / 0.5704 GB, free: 3.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.636e-05/0.3128, allocations: 0 / 0.5704 GB, free: 3.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.3128, allocations: 15.92 kB / 0.5704 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.3128, allocations: 0 / 0.5704 GB, free: 3.254 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.3128, allocations: 79.28 kB / 0.5705 GB, free: 3.176 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3128, allocations: 0 / 0.5705 GB, free: 3.176 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.3132, allocations: 155.5 kB / 0.5706 GB, free: 3.023 MB / 474.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.0005674/0.3138, allocations: 346.5 kB / 0.5709 GB, free: 2.676 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3139, allocations: 39.98 kB / 0.571 GB, free: 2.637 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3139, allocations: 0 / 0.571 GB, free: 2.637 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.3139, allocations: 19.92 kB / 0.571 GB, free: 2.617 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.3141, allocations: 15.22 kB / 0.571 GB, free: 2.605 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.3145, allocations: 191.3 kB / 0.5712 GB, free: 2.395 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.283e-05/0.3145, allocations: 63.34 kB / 0.5712 GB, free: 2.312 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.3146, allocations: 20.62 kB / 0.5713 GB, free: 2.297 MB / 474.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3146, allocations: 0 / 0.5713 GB, free: 2.297 MB / 474.7 MB Notification: Performance of Templates: time 0.004208/0.3188, allocations: 3.253 MB / 0.5744 GB, free: 15.05 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.593973001465201]