Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.002033/0.002033, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002155/0.002155, allocations: 223.4 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2295/0.2295, allocations: 44.26 MB / 330.3 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002313/0.002313, allocations: 71.89 kB / 468 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1337, allocations: 61.05 MB / 0.5167 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4436/0.5773, allocations: 127.3 MB / 0.641 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008873/0.5862, allocations: 5.178 MB / 0.6461 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.587, allocations: 27.75 kB / 0.6461 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.5884, allocations: 314 kB / 0.6464 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.5911, allocations: 0.8863 MB / 0.6473 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.5943, allocations: 1.038 MB / 0.6483 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.597, allocations: 1.813 MB / 0.65 GB, free: 9.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009368/0.598, allocations: 401.5 kB / 0.6504 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.6002, allocations: 0.7825 MB / 0.6512 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.602, allocations: 0.7241 MB / 0.6519 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.6023, allocations: 60 kB / 0.652 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.6042, allocations: 487.1 kB / 0.6524 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004713/0.6047, allocations: 283.1 kB / 0.6527 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007314/0.6054, allocations: 326.7 kB / 0.653 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.6078, allocations: 1.144 MB / 0.6541 GB, free: 5.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6078, allocations: 0 / 0.6541 GB, free: 5.168 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6078, allocations: 0 / 0.6541 GB, free: 5.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.46e-05/0.6079, allocations: 0 / 0.6541 GB, free: 5.168 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002775/0.6107, allocations: 1.003 MB / 0.6551 GB, free: 4.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6107, allocations: 8.031 kB / 0.6551 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004179/0.6111, allocations: 97.14 kB / 0.6552 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.6122, allocations: 482.8 kB / 0.6557 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.6124, allocations: 152.4 kB / 0.6558 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6125, allocations: 56.5 kB / 0.6559 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.6141, allocations: 1.166 MB / 0.657 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.6141, allocations: 11.92 kB / 0.657 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.6142, allocations: 23.98 kB / 0.657 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/0.6142, allocations: 36.98 kB / 0.6571 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.6153, allocations: 0.6499 MB / 0.6577 GB, free: 1.262 MB / 494.1 MB 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.00512/0.6205, allocations: 3.082 MB / 0.6607 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.6214, allocations: 404.2 kB / 0.6611 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.6218, allocations: 193.4 kB / 0.6613 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/0.6221, allocations: 60.28 kB / 0.6613 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.6221, allocations: 38.89 kB / 0.6614 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.6221, allocations: 0 / 0.6614 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003547/0.6257, allocations: 1.402 MB / 0.6627 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6258, allocations: 140.5 kB / 0.6629 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/0.6265, allocations: 0.5182 MB / 0.6634 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.6266, allocations: 37.7 kB / 0.6634 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.6269, allocations: 372.4 kB / 0.6638 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.6271, allocations: 162.6 kB / 0.6639 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.6273, allocations: 142.6 kB / 0.6641 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.6275, allocations: 370.8 kB / 0.6644 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.6279, allocations: 213.9 kB / 0.6646 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007355/0.6286, allocations: 0.5954 MB / 0.6652 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.6298, allocations: 0.7601 MB / 0.6659 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6298, allocations: 0 / 0.6659 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001693/0.6315, allocations: 0.9026 MB / 0.6668 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6315, allocations: 12.16 kB / 0.6668 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6315, allocations: 16 kB / 0.6669 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.6329, allocations: 289.4 kB / 0.6671 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.6333, allocations: 124.7 kB / 0.6672 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.6345, allocations: 0.8859 MB / 0.6681 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.6349, allocations: 23.98 kB / 0.6681 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.635, allocations: 40.06 kB / 0.6682 GB, free: 5.973 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003872/0.6354, allocations: 249.5 kB / 0.6684 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6355, allocations: 63.62 kB / 0.6685 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.6369, allocations: 0.6959 MB / 0.6692 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.6369, allocations: 4 kB / 0.6692 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6369, allocations: 2.5 kB / 0.6692 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.6369, allocations: 3.984 kB / 0.6692 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.639, allocations: 1.164 MB / 0.6703 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.639, allocations: 4.188 kB / 0.6703 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.6401, allocations: 203.8 kB / 0.6705 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.556e-05/0.6402, allocations: 24.84 kB / 0.6705 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.6402, allocations: 15.98 kB / 0.6705 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.6426, allocations: 2.629 MB / 0.6731 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.6426, allocations: 2.109 kB / 0.6731 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.6442, allocations: 0.9377 MB / 0.674 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.6446, allocations: 131.5 kB / 0.6741 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6447, allocations: 15.98 kB / 0.6742 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.6451, allocations: 16 kB / 0.6742 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.6452, allocations: 47.47 kB / 0.6742 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.6453, allocations: 27.97 kB / 0.6743 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004949/0.6458, allocations: 350.8 kB / 0.6746 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6458, allocations: 3.938 kB / 0.6746 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000924/0.6467, allocations: 227.7 kB / 0.6748 GB, free: 14.86 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006502/0.6474, allocations: 261 kB / 0.6751 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.6488, allocations: 0.5753 MB / 0.6756 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.6488, allocations: 7.938 kB / 0.6756 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.65, allocations: 439.2 kB / 0.676 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.6516, allocations: 316.3 kB / 0.6763 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.6543, allocations: 1.378 MB / 0.6777 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.6548, allocations: 337.1 kB / 0.678 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007656/0.6556, allocations: 205.3 kB / 0.6782 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.6557, allocations: 63.41 kB / 0.6783 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.6558, allocations: 0 / 0.6783 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.02921/0.685, allocations: 15.26 MB / 0.6932 GB, free: 12.01 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 6.267506277188659]