Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.001776/0.001776, allocations: 183.1 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1999/0.1999, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 59.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3202, allocations: 60.83 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1557/0.4759, allocations: 147.6 MB / 0.663 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007225/0.4832, allocations: 5.582 MB / 0.6685 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005216/0.4837, allocations: 23.88 kB / 0.6685 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009079/0.4847, allocations: 330 kB / 0.6688 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.4864, allocations: 0.8745 MB / 0.6697 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.4889, allocations: 1.02 MB / 0.6707 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001997/0.4909, allocations: 1.801 MB / 0.6724 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.4915, allocations: 465.1 kB / 0.6729 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.4927, allocations: 0.7669 MB / 0.6736 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009274/0.4937, allocations: 0.7047 MB / 0.6743 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.4938, allocations: 60 kB / 0.6744 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.495, allocations: 0.5459 MB / 0.6749 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.4952, allocations: 267.2 kB / 0.6752 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.4957, allocations: 398.2 kB / 0.6755 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.497, allocations: 1.135 MB / 0.6766 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.497, allocations: 0 / 0.6766 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.995e-06/0.497, allocations: 0 / 0.6766 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.4971, allocations: 3.938 kB / 0.6766 GB, free: 9.949 MB / 0.5294 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.001971/0.499, allocations: 1.054 MB / 0.6777 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4991, allocations: 12.03 kB / 0.6777 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.4995, allocations: 92.08 kB / 0.6778 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.5003, allocations: 0.5482 MB / 0.6783 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.5004, allocations: 101 kB / 0.6784 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.5005, allocations: 48.36 kB / 0.6785 GB, free: 8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.5018, allocations: 0.811 MB / 0.6792 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.5019, allocations: 4 kB / 0.6792 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.502, allocations: 24 kB / 0.6793 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.502, allocations: 32.98 kB / 0.6793 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.5032, allocations: 0.6595 MB / 0.6799 GB, free: 6.402 MB / 0.5294 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.004689/0.5079, allocations: 3.951 MB / 0.6838 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.5087, allocations: 431.1 kB / 0.6842 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.5091, allocations: 209.4 kB / 0.6844 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/0.5097, allocations: 0.7366 MB / 0.6851 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.5097, allocations: 42.83 kB / 0.6852 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.5097, allocations: 0 / 0.6852 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003147/0.5129, allocations: 1.542 MB / 0.6867 GB, free: 14.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.513, allocations: 136.5 kB / 0.6868 GB, free: 14.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.5136, allocations: 0.577 MB / 0.6874 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.5137, allocations: 33.7 kB / 0.6874 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.5139, allocations: 355 kB / 0.6877 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.514, allocations: 153.8 kB / 0.6879 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.5142, allocations: 150.5 kB / 0.688 GB, free: 13.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5144, allocations: 374.8 kB / 0.6884 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.5148, allocations: 213.9 kB / 0.6886 GB, free: 12.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.5154, allocations: 0.5162 MB / 0.6891 GB, free: 12.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009791/0.5164, allocations: 0.7562 MB / 0.6898 GB, free: 11.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5164, allocations: 0 / 0.6898 GB, free: 11.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001674/0.518, allocations: 0.9103 MB / 0.6907 GB, free: 10.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.5181, allocations: 19.86 kB / 0.6907 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.5181, allocations: 16.09 kB / 0.6908 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.5195, allocations: 284.5 kB / 0.691 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.5199, allocations: 119.8 kB / 0.6911 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009787/0.5209, allocations: 0.8879 MB / 0.692 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.5213, allocations: 28 kB / 0.692 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.5214, allocations: 35.98 kB / 0.6921 GB, free: 9.062 MB / 0.545 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.0003115/0.5217, allocations: 249.5 kB / 0.6923 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5218, allocations: 63.25 kB / 0.6924 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.5231, allocations: 0.7678 MB / 0.6931 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.5231, allocations: 4 kB / 0.6931 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.5231, allocations: 4 kB / 0.6931 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.5231, allocations: 7.922 kB / 0.6931 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.525, allocations: 1.405 MB / 0.6945 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5251, allocations: 4 kB / 0.6945 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.5261, allocations: 211.9 kB / 0.6947 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.694e-05/0.5262, allocations: 24.84 kB / 0.6947 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.5263, allocations: 16 kB / 0.6948 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.5283, allocations: 2.869 MB / 0.6976 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5283, allocations: 7.969 kB / 0.6976 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.5297, allocations: 1.009 MB / 0.6986 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.53, allocations: 204.2 kB / 0.6987 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/0.5301, allocations: 16 kB / 0.6988 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.5307, allocations: 19.98 kB / 0.6988 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.5308, allocations: 43.67 kB / 0.6988 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/0.5309, allocations: 19.98 kB / 0.6988 GB, free: 1.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000785/0.5317, allocations: 431 kB / 0.6993 GB, free: 1.223 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5317, allocations: 0 / 0.6993 GB, free: 1.223 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001326/0.533, allocations: 220 kB / 0.6995 GB, free: 1.008 MB / 0.545 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.0007517/0.5338, allocations: 272.3 kB / 0.6997 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.5357, allocations: 0.6032 MB / 0.7003 GB, free: 148 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5357, allocations: 0 / 0.7003 GB, free: 148 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.5373, allocations: 462.9 kB / 0.7008 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.54, allocations: 374.1 kB / 0.7011 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.5432, allocations: 1.367 MB / 0.7024 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/0.5439, allocations: 0.9385 MB / 0.7034 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001011/0.545, allocations: 213.3 kB / 0.7036 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.5452, allocations: 63.42 kB / 0.7036 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.5452, allocations: 0 / 0.7036 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.2654/0.8106, allocations: 15.66 MB / 0.7189 GB, free: 186.8 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches