Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.001973/0.001973, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002327/0.002327, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.237/0.237, allocations: 46.95 MB / 360.8 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002903/0.002903, allocations: 79.88 kB / 0.4967 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4044, allocations: 66.08 MB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2366/0.641, allocations: 168.7 MB / 0.726 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.6517, allocations: 6.83 MB / 0.7326 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.6524, allocations: 27.75 kB / 0.7327 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.6535, allocations: 413.5 kB / 0.733 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006302/0.6598, allocations: 2.407 MB / 0.7354 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3903/1.05, allocations: 2.347 MB / 0.7377 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003961/1.054, allocations: 2.209 MB / 0.7398 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/1.055, allocations: 0.5105 MB / 0.7403 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005562/1.061, allocations: 1.879 MB / 0.7422 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/1.063, allocations: 0.8908 MB / 0.743 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/1.063, allocations: 93.28 kB / 0.7431 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009185/1.072, allocations: 4.273 MB / 0.7473 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/1.073, allocations: 440 kB / 0.7477 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/1.075, allocations: 466.2 kB / 0.7482 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01166/1.086, allocations: 3.679 MB / 0.7518 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.086, allocations: 1.094 kB / 0.7518 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/1.086, allocations: 0 / 0.7518 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.614e-05/1.086, allocations: 0 / 0.7518 GB, free: 2.988 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004389/1.091, allocations: 1.7 MB / 0.7534 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.091, allocations: 9.938 kB / 0.7534 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/1.091, allocations: 118.8 kB / 0.7536 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/1.092, allocations: 0.5607 MB / 0.7541 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/1.092, allocations: 171.3 kB / 0.7543 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.093, allocations: 71.09 kB / 0.7543 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/1.095, allocations: 1.558 MB / 0.7559 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/1.095, allocations: 6.703 kB / 0.7559 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/1.095, allocations: 38.45 kB / 0.7559 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.109e-05/1.095, allocations: 59.12 kB / 0.756 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/1.096, allocations: 1.151 MB / 0.7571 GB, free: 17.06 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005908/1.102, allocations: 3.674 MB / 0.7607 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/1.104, allocations: 0.7954 MB / 0.7614 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/1.105, allocations: 408.6 kB / 0.7618 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/1.105, allocations: 213.8 kB / 0.762 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/1.105, allocations: 44.09 kB / 0.7621 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.385e-06/1.105, allocations: 0.9688 kB / 0.7621 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01223/1.117, allocations: 3.935 MB / 0.7659 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/1.118, allocations: 115.2 kB / 0.766 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006538/1.118, allocations: 0.5392 MB / 0.7666 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/1.118, allocations: 42.23 kB / 0.7666 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/1.118, allocations: 407.8 kB / 0.767 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/1.119, allocations: 309.1 kB / 0.7673 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/1.119, allocations: 193.2 kB / 0.7675 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.119, allocations: 378.6 kB / 0.7678 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008786/1.12, allocations: 496.7 kB / 0.7683 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.121, allocations: 0.8051 MB / 0.7691 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/1.123, allocations: 1.285 MB / 0.7703 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.123, allocations: 4.922 kB / 0.7703 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003018/1.126, allocations: 1.646 MB / 0.772 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.126, allocations: 8.375 kB / 0.772 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.126, allocations: 13.09 kB / 0.772 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006573/1.133, allocations: 1.308 MB / 0.7732 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/1.133, allocations: 157.9 kB / 0.7734 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/1.136, allocations: 1.526 MB / 0.7749 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009793/1.137, allocations: 52.25 kB / 0.7749 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.137, allocations: 53.52 kB / 0.775 GB, free: 12.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006399/1.138, allocations: 303 kB / 0.7753 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/1.138, allocations: 78.55 kB / 0.7754 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/1.141, allocations: 1.667 MB / 0.777 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/1.141, allocations: 11.91 kB / 0.777 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.141, allocations: 1.203 kB / 0.777 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.141, allocations: 6.5 kB / 0.777 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004313/1.146, allocations: 2.279 MB / 0.7792 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.146, allocations: 2.594 kB / 0.7792 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.147, allocations: 259.7 kB / 0.7795 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/1.148, allocations: 379.2 kB / 0.7798 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.805e-05/1.149, allocations: 37.83 kB / 0.7799 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00288/1.151, allocations: 2.22 MB / 0.782 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.151, allocations: 3.938 kB / 0.782 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/1.155, allocations: 2.024 MB / 0.784 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006019/1.156, allocations: 201.8 kB / 0.7842 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.156, allocations: 23.69 kB / 0.7842 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/1.157, allocations: 56.19 kB / 0.7843 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.157, allocations: 76.62 kB / 0.7844 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-05/1.157, allocations: 45.27 kB / 0.7844 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000529/1.157, allocations: 387.3 kB / 0.7848 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.157, allocations: 0.9375 kB / 0.7848 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002423/1.16, allocations: 0.6886 MB / 0.7855 GB, free: 9.883 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/1.162, allocations: 0.8113 MB / 0.7862 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002732/1.164, allocations: 1.184 MB / 0.7874 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.164, allocations: 6.891 kB / 0.7874 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/1.166, allocations: 0.686 MB / 0.7881 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/1.168, allocations: 437.5 kB / 0.7885 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/1.173, allocations: 2.164 MB / 0.7906 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/1.173, allocations: 458.1 kB / 0.791 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001001/1.174, allocations: 337.7 kB / 0.7914 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/1.174, allocations: 85.31 kB / 0.7914 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of SimCode: time 6.92e-07/1.174, allocations: 4 kB / 0.7915 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.05439/1.229, allocations: 32.66 MB / 0.8233 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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: 7.603370448574424]