Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001645/0.001645, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002173/0.002173, allocations: 209 kB / 24.48 MB, free: 3.938 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.506/1.506, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2323/0.2323, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.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_4.1.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.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 67.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3873, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2323/0.6196, allocations: 168.7 MB / 0.7266 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.6312, allocations: 6.815 MB / 0.7333 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009389/0.6321, allocations: 31.69 kB / 0.7333 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.6336, allocations: 409.6 kB / 0.7337 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006992/0.6406, allocations: 2.404 MB / 0.736 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3441/0.9847, allocations: 2.351 MB / 0.7383 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003143/0.9878, allocations: 2.208 MB / 0.7405 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009628/0.9888, allocations: 0.509 MB / 0.741 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.993, allocations: 1.882 MB / 0.7428 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.9945, allocations: 0.8925 MB / 0.7437 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.9948, allocations: 97.05 kB / 0.7438 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008771/1.004, allocations: 4.269 MB / 0.748 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008714/1.004, allocations: 436.5 kB / 0.7484 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/1.006, allocations: 468.4 kB / 0.7488 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009955/1.016, allocations: 3.677 MB / 0.7524 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.016, allocations: 4.031 kB / 0.7524 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.285e-06/1.016, allocations: 1.203 kB / 0.7524 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.525e-05/1.016, allocations: 0.9375 kB / 0.7524 GB, free: 3.023 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.004651/1.02, allocations: 1.695 MB / 0.7541 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.021, allocations: 8.219 kB / 0.7541 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/1.021, allocations: 120.5 kB / 0.7542 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.022, allocations: 0.5577 MB / 0.7547 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/1.022, allocations: 169.2 kB / 0.7549 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.022, allocations: 73.11 kB / 0.755 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/1.024, allocations: 1.561 MB / 0.7565 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.024, allocations: 10.58 kB / 0.7565 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-05/1.024, allocations: 33.67 kB / 0.7565 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/1.024, allocations: 59.77 kB / 0.7566 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/1.026, allocations: 1.153 MB / 0.7577 GB, free: 17.09 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.006001/1.032, allocations: 3.679 MB / 0.7613 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/1.033, allocations: 0.7919 MB / 0.7621 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005316/1.034, allocations: 404.1 kB / 0.7625 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/1.035, allocations: 210.4 kB / 0.7627 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/1.035, allocations: 49.33 kB / 0.7627 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.885e-06/1.035, allocations: 0.9375 kB / 0.7627 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01244/1.047, allocations: 3.924 MB / 0.7666 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/1.047, allocations: 114.5 kB / 0.7667 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/1.048, allocations: 0.541 MB / 0.7672 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/1.048, allocations: 42.45 kB / 0.7672 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/1.048, allocations: 408 kB / 0.7676 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/1.048, allocations: 310.2 kB / 0.7679 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/1.049, allocations: 195.1 kB / 0.7681 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001918/1.049, allocations: 381.2 kB / 0.7685 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008655/1.05, allocations: 499.2 kB / 0.7689 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.051, allocations: 0.8031 MB / 0.7697 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.053, allocations: 1.281 MB / 0.771 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.053, allocations: 3.5 kB / 0.771 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003215/1.056, allocations: 1.646 MB / 0.7726 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/1.056, allocations: 12.75 kB / 0.7726 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.056, allocations: 16.44 kB / 0.7726 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006706/1.063, allocations: 1.304 MB / 0.7739 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/1.063, allocations: 155 kB / 0.774 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/1.066, allocations: 1.531 MB / 0.7755 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/1.067, allocations: 56.19 kB / 0.7756 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.067, allocations: 56.38 kB / 0.7756 GB, free: 12.85 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.0005639/1.068, allocations: 299.8 kB / 0.7759 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/1.068, allocations: 78.84 kB / 0.776 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/1.071, allocations: 1.667 MB / 0.7776 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.071, allocations: 14.55 kB / 0.7776 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.071, allocations: 0 / 0.7776 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/1.071, allocations: 6.703 kB / 0.7776 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004155/1.075, allocations: 2.273 MB / 0.7799 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.075, allocations: 3.594 kB / 0.7799 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.076, allocations: 259.7 kB / 0.7801 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/1.078, allocations: 379.9 kB / 0.7805 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/1.078, allocations: 35.33 kB / 0.7805 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/1.081, allocations: 2.223 MB / 0.7827 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.081, allocations: 7.031 kB / 0.7827 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/1.085, allocations: 2.025 MB / 0.7847 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000676/1.085, allocations: 204 kB / 0.7849 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/1.086, allocations: 22.92 kB / 0.7849 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007826/1.086, allocations: 56.16 kB / 0.7849 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.086, allocations: 66.61 kB / 0.785 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/1.087, allocations: 47.81 kB / 0.785 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004895/1.087, allocations: 387.7 kB / 0.7854 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.087, allocations: 0 / 0.7854 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002115/1.089, allocations: 0.6893 MB / 0.7861 GB, free: 9.922 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.001989/1.091, allocations: 0.8088 MB / 0.7869 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002769/1.094, allocations: 1.187 MB / 0.788 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.094, allocations: 2.688 kB / 0.788 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.096, allocations: 0.6797 MB / 0.7887 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.098, allocations: 439.8 kB / 0.7891 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/1.103, allocations: 2.22 MB / 0.7913 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/1.103, allocations: 455.2 kB / 0.7917 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/1.103, allocations: 90.39 kB / 0.7918 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/1.103, allocations: 0 / 0.7918 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of Templates: time 0.03989/1.143, allocations: 27.65 MB / 0.8188 GB, free: 6.195 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 13.129082628060132]