Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001616/0.001616, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.0021/0.0021, allocations: 216.8 kB / 22.99 MB, free: 4.977 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.48/1.48, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2314/0.2314, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [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.00229/0.00229, allocations: 72.33 kB / 468 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1501, allocations: 61.05 MB / 0.5167 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5342/0.6844, allocations: 155.7 MB / 0.6687 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.6965, allocations: 7.535 MB / 0.676 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006551/0.6972, allocations: 27.75 kB / 0.6761 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009832/0.6981, allocations: 306 kB / 0.6764 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.7028, allocations: 1.521 MB / 0.6778 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.7066, allocations: 1.169 MB / 0.679 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002661/0.7093, allocations: 1.868 MB / 0.6808 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008535/0.7102, allocations: 393.6 kB / 0.6812 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003643/0.7138, allocations: 1.273 MB / 0.6824 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.7154, allocations: 0.6812 MB / 0.6831 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.7156, allocations: 60 kB / 0.6831 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.7179, allocations: 0.7411 MB / 0.6839 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.7184, allocations: 279.1 kB / 0.6841 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.7191, allocations: 334.6 kB / 0.6845 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.7217, allocations: 1.425 MB / 0.6858 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7217, allocations: 0 / 0.6858 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7217, allocations: 0 / 0.6858 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.7217, allocations: 0 / 0.6858 GB, free: 4.57 MB / 0.5137 GB 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.002526/0.7242, allocations: 1.076 MB / 0.6869 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.7243, allocations: 12.03 kB / 0.6869 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008203/0.7251, allocations: 131.5 kB / 0.687 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.7261, allocations: 497.3 kB / 0.6875 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.7263, allocations: 147.8 kB / 0.6876 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.7264, allocations: 44 kB / 0.6877 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.728, allocations: 1.173 MB / 0.6888 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.728, allocations: 3.938 kB / 0.6888 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.7281, allocations: 23.94 kB / 0.6889 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.618e-05/0.7282, allocations: 40.97 kB / 0.6889 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.7293, allocations: 0.6166 MB / 0.6895 GB, free: 0.5742 MB / 0.5137 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.005006/0.7343, allocations: 3.25 MB / 0.6927 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.7349, allocations: 335.6 kB / 0.693 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.7352, allocations: 161.3 kB / 0.6932 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003675/0.7355, allocations: 126.1 kB / 0.6933 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.7356, allocations: 38.84 kB / 0.6933 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.7356, allocations: 0 / 0.6933 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005901/0.7415, allocations: 1.597 MB / 0.6949 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.7416, allocations: 132.5 kB / 0.695 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.7423, allocations: 0.5299 MB / 0.6955 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.7423, allocations: 33.7 kB / 0.6955 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.7427, allocations: 384.2 kB / 0.6959 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.7428, allocations: 154.8 kB / 0.6961 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.743, allocations: 158.6 kB / 0.6962 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.7432, allocations: 370.7 kB / 0.6966 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.7436, allocations: 205.9 kB / 0.6968 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.7443, allocations: 0.5878 MB / 0.6973 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.7455, allocations: 0.7444 MB / 0.6981 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7455, allocations: 4 kB / 0.6981 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001545/0.747, allocations: 0.8689 MB / 0.6989 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.747, allocations: 8 kB / 0.6989 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.7471, allocations: 12.09 kB / 0.6989 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.7484, allocations: 311.6 kB / 0.6992 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.7488, allocations: 127.8 kB / 0.6993 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.7501, allocations: 0.9381 MB / 0.7003 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.7506, allocations: 28 kB / 0.7003 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/0.7507, allocations: 63.98 kB / 0.7004 GB, free: 4.867 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003481/0.751, allocations: 245.6 kB / 0.7006 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.7511, allocations: 67.52 kB / 0.7007 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.7525, allocations: 0.6793 MB / 0.7013 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7525, allocations: 4 kB / 0.7013 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7525, allocations: 0 / 0.7013 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.7525, allocations: 3.984 kB / 0.7013 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.7547, allocations: 1.176 MB / 0.7025 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7547, allocations: 0 / 0.7025 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.7558, allocations: 199.8 kB / 0.7027 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.7559, allocations: 28.78 kB / 0.7027 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.756, allocations: 28.05 kB / 0.7027 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.7584, allocations: 2.613 MB / 0.7053 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7584, allocations: 4.344 kB / 0.7053 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.7598, allocations: 0.8053 MB / 0.7061 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.7601, allocations: 103.6 kB / 0.7062 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/0.7602, allocations: 17 kB / 0.7062 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.7606, allocations: 15.98 kB / 0.7062 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.7607, allocations: 43.88 kB / 0.7062 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/0.7608, allocations: 39.98 kB / 0.7063 GB, free: 14.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005082/0.7613, allocations: 366.8 kB / 0.7066 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7613, allocations: 0 / 0.7066 GB, free: 14.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001129/0.7624, allocations: 291.7 kB / 0.7069 GB, free: 13.85 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001019/0.7634, allocations: 381.9 kB / 0.7073 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.7647, allocations: 0.5312 MB / 0.7078 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7647, allocations: 0 / 0.7078 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.7658, allocations: 402.9 kB / 0.7082 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.7672, allocations: 288 kB / 0.7084 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.7696, allocations: 1.323 MB / 0.7097 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.7701, allocations: 340.3 kB / 0.7101 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008308/0.7709, allocations: 253.3 kB / 0.7103 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.7712, allocations: 95.34 kB / 0.7104 GB, free: 10.19 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.7712, allocations: 0 / 0.7104 GB, free: 10.19 MB / 0.545 GB Notification: Performance of Templates: time 0.03122/0.8024, allocations: 17.64 MB / 0.7276 GB, free: 8.586 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.424049956724048]