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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 119.3 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 197.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2461/0.2461, allocations: 43.52 MB / 314.8 MB, free: 436 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1495, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6115/0.7611, allocations: 179.7 MB / 0.6641 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.7726, allocations: 8.18 MB / 0.672 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009185/0.7736, allocations: 19.88 kB / 0.6721 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.7748, allocations: 318 kB / 0.6724 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004815/0.7796, allocations: 1.484 MB / 0.6738 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.7832, allocations: 1.15 MB / 0.6749 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.7858, allocations: 1.849 MB / 0.6767 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.7865, allocations: 457.3 kB / 0.6772 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.7894, allocations: 1.242 MB / 0.6784 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009533/0.7904, allocations: 0.654 MB / 0.679 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.7905, allocations: 67.98 kB / 0.6791 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.7924, allocations: 0.827 MB / 0.6799 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.7927, allocations: 255.3 kB / 0.6801 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003967/0.7931, allocations: 398.2 kB / 0.6805 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.7949, allocations: 1.422 MB / 0.6819 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7949, allocations: 0 / 0.6819 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7949, allocations: 0 / 0.6819 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.795, allocations: 4 kB / 0.6819 GB, free: 4.379 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.002341/0.7973, allocations: 1.122 MB / 0.683 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.7974, allocations: 12.03 kB / 0.683 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/0.7982, allocations: 139 kB / 0.6832 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/0.799, allocations: 0.5352 MB / 0.6837 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.7991, allocations: 104.4 kB / 0.6838 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.921e-05/0.7993, allocations: 47.98 kB / 0.6838 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.8005, allocations: 0.8097 MB / 0.6846 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.8006, allocations: 0 / 0.6846 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.8006, allocations: 31.92 kB / 0.6846 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/0.8007, allocations: 40.92 kB / 0.6847 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009851/0.8017, allocations: 0.6244 MB / 0.6853 GB, free: 0.7422 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.00434/0.806, allocations: 3.981 MB / 0.6892 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.8066, allocations: 355.6 kB / 0.6895 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.8069, allocations: 169.3 kB / 0.6897 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004328/0.8073, allocations: 369.3 kB / 0.69 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.8074, allocations: 38.84 kB / 0.6901 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.8074, allocations: 4 kB / 0.6901 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005438/0.8128, allocations: 1.663 MB / 0.6917 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/0.8129, allocations: 132.5 kB / 0.6918 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/0.8136, allocations: 0.6288 MB / 0.6924 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.8137, allocations: 33.7 kB / 0.6925 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.814, allocations: 359 kB / 0.6928 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.8141, allocations: 145.9 kB / 0.693 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.8143, allocations: 158.5 kB / 0.6931 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.8145, allocations: 374.8 kB / 0.6935 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.8148, allocations: 205.8 kB / 0.6937 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.8154, allocations: 0.5164 MB / 0.6942 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009703/0.8164, allocations: 0.7523 MB / 0.6949 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8164, allocations: 0 / 0.6949 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001381/0.8178, allocations: 0.8718 MB / 0.6957 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.8178, allocations: 8.938 kB / 0.6958 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.8178, allocations: 12 kB / 0.6958 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.8192, allocations: 313.8 kB / 0.6961 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.8195, allocations: 127.8 kB / 0.6962 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.8207, allocations: 0.9308 MB / 0.6971 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.8211, allocations: 28 kB / 0.6971 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/0.8212, allocations: 63.98 kB / 0.6972 GB, free: 3.777 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.0003687/0.8216, allocations: 249.5 kB / 0.6974 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.8217, allocations: 67.19 kB / 0.6975 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.8231, allocations: 0.6811 MB / 0.6982 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8231, allocations: 8 kB / 0.6982 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.8231, allocations: 4 kB / 0.6982 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.8231, allocations: 0 / 0.6982 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.8253, allocations: 1.603 MB / 0.6997 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.8254, allocations: 8.062 kB / 0.6997 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.8264, allocations: 203.8 kB / 0.6999 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.401e-05/0.8265, allocations: 28.78 kB / 0.7 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.8265, allocations: 20 kB / 0.7 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.8287, allocations: 2.873 MB / 0.7028 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8287, allocations: 4.156 kB / 0.7028 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.8299, allocations: 0.8047 MB / 0.7036 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.8301, allocations: 196.2 kB / 0.7038 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.34e-05/0.8302, allocations: 12.06 kB / 0.7038 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.8306, allocations: 19.98 kB / 0.7038 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.8307, allocations: 43.89 kB / 0.7038 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.8308, allocations: 43.98 kB / 0.7039 GB, free: 12.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005101/0.8313, allocations: 443 kB / 0.7043 GB, free: 11.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8313, allocations: 0 / 0.7043 GB, free: 11.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009969/0.8323, allocations: 288 kB / 0.7046 GB, free: 11.7 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.0009623/0.8333, allocations: 382.8 kB / 0.7049 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.8345, allocations: 0.5422 MB / 0.7055 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.8345, allocations: 1.5 kB / 0.7055 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009227/0.8354, allocations: 410.4 kB / 0.7059 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.8371, allocations: 370.6 kB / 0.7062 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.8394, allocations: 1.35 MB / 0.7075 GB, free: 8.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.84, allocations: 0.93 MB / 0.7084 GB, free: 7.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.8403, allocations: 111.4 kB / 0.7085 GB, free: 7.551 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.8403, allocations: 0 / 0.7085 GB, free: 7.551 MB / 0.545 GB Notification: Performance of Templates: time 0.03562/0.8759, allocations: 17.09 MB / 0.7252 GB, free: 6.465 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches