Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.00193/0.00193, allocations: 108.3 kB / 20.48 MB, free: 1.125 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.001612/0.001612, allocations: 209.5 kB / 23.77 MB, free: 4.332 MB / 14.72 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.44/1.44, allocations: 230.6 MB / 257.6 MB, free: 7.711 MB / 206.1 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.243/0.243, allocations: 44.94 MB / 358.9 MB, free: 6.004 MB / 286.1 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.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002277/0.002277, allocations: 63.91 kB / 0.4936 GB, free: 9.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3739, allocations: 65.48 MB / 0.5576 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2231/0.597, allocations: 168.7 MB / 0.7224 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.6071, allocations: 6.823 MB / 0.729 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005172/0.6076, allocations: 27.75 kB / 0.7291 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.6087, allocations: 409.6 kB / 0.7294 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00591/0.6146, allocations: 2.404 MB / 0.7318 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00594/0.6206, allocations: 2.367 MB / 0.7341 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4019/1.022, allocations: 2.202 MB / 0.7363 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/1.024, allocations: 0.5083 MB / 0.7367 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005945/1.03, allocations: 1.883 MB / 0.7386 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/1.031, allocations: 0.8878 MB / 0.7395 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/1.032, allocations: 96.31 kB / 0.7395 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009256/1.041, allocations: 4.274 MB / 0.7437 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007216/1.042, allocations: 442.3 kB / 0.7441 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008392/1.042, allocations: 461.4 kB / 0.7446 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008281/1.051, allocations: 3.679 MB / 0.7482 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.051, allocations: 0 / 0.7482 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/1.051, allocations: 0.9375 kB / 0.7482 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.36e-05/1.051, allocations: 1.203 kB / 0.7482 GB, free: 3.617 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.004689/1.055, allocations: 1.703 MB / 0.7498 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.055, allocations: 8.219 kB / 0.7498 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/1.056, allocations: 119.6 kB / 0.75 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/1.057, allocations: 0.5572 MB / 0.7505 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/1.057, allocations: 171.3 kB / 0.7507 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.057, allocations: 68.77 kB / 0.7507 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.059, allocations: 1.568 MB / 0.7523 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/1.059, allocations: 3.953 kB / 0.7523 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.996e-05/1.059, allocations: 35.31 kB / 0.7523 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/1.059, allocations: 63.69 kB / 0.7524 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/1.061, allocations: 1.148 MB / 0.7535 GB, free: 17.69 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.006021/1.067, allocations: 3.671 MB / 0.7571 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/1.069, allocations: 0.782 MB / 0.7578 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/1.069, allocations: 412.7 kB / 0.7582 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/1.07, allocations: 208.8 kB / 0.7584 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/1.07, allocations: 44 kB / 0.7585 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/1.07, allocations: 0.75 kB / 0.7585 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.0127/1.082, allocations: 3.936 MB / 0.7623 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002357/1.083, allocations: 116.4 kB / 0.7624 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/1.083, allocations: 0.5354 MB / 0.7629 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/1.083, allocations: 45.39 kB / 0.763 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/1.084, allocations: 406.2 kB / 0.7634 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/1.084, allocations: 310.7 kB / 0.7637 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/1.084, allocations: 193.6 kB / 0.7639 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002045/1.084, allocations: 381.5 kB / 0.7642 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008893/1.085, allocations: 496.9 kB / 0.7647 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.086, allocations: 0.8066 MB / 0.7655 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/1.088, allocations: 1.281 MB / 0.7667 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.088, allocations: 3.219 kB / 0.7667 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003348/1.092, allocations: 1.653 MB / 0.7684 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.092, allocations: 12.25 kB / 0.7684 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.092, allocations: 11.25 kB / 0.7684 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007128/1.099, allocations: 1.308 MB / 0.7697 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/1.1, allocations: 155.1 kB / 0.7698 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/1.102, allocations: 1.53 MB / 0.7713 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008958/1.103, allocations: 55 kB / 0.7713 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/1.103, allocations: 55.28 kB / 0.7714 GB, free: 13.46 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.0005177/1.104, allocations: 300.3 kB / 0.7717 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/1.104, allocations: 78.28 kB / 0.7718 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/1.107, allocations: 1.666 MB / 0.7734 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.107, allocations: 9.531 kB / 0.7734 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/1.107, allocations: 3.094 kB / 0.7734 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.107, allocations: 5.625 kB / 0.7734 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/1.111, allocations: 2.276 MB / 0.7756 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.111, allocations: 3.438 kB / 0.7756 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.112, allocations: 261.5 kB / 0.7759 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/1.114, allocations: 379.3 kB / 0.7762 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-05/1.114, allocations: 38.33 kB / 0.7763 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/1.117, allocations: 2.23 MB / 0.7785 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.117, allocations: 7.031 kB / 0.7785 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/1.12, allocations: 2.017 MB / 0.7804 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000553/1.121, allocations: 205.5 kB / 0.7806 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/1.121, allocations: 27.41 kB / 0.7807 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007858/1.122, allocations: 53.52 kB / 0.7807 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/1.122, allocations: 72.67 kB / 0.7808 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.122, allocations: 45.03 kB / 0.7808 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004483/1.122, allocations: 385.9 kB / 0.7812 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.122, allocations: 0 / 0.7812 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001983/1.124, allocations: 0.6897 MB / 0.7819 GB, free: 10.53 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.002176/1.126, allocations: 0.8104 MB / 0.7827 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002647/1.129, allocations: 1.187 MB / 0.7838 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.129, allocations: 6.844 kB / 0.7838 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/1.131, allocations: 0.6874 MB / 0.7845 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.133, allocations: 427.7 kB / 0.7849 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/1.138, allocations: 2.164 MB / 0.787 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/1.138, allocations: 455.7 kB / 0.7874 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009872/1.139, allocations: 355 kB / 0.7878 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/1.139, allocations: 84.66 kB / 0.7879 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/1.139, allocations: 0 / 0.7879 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of Templates: time 0.04763/1.187, allocations: 31.34 MB / 0.8185 GB, free: 5.973 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.500120364129543]