Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 108.4 kB / 16.41 MB, free: 6.027 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.001101/0.001101, allocations: 185.1 kB / 17.34 MB, free: 5.633 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.459/1.459, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2517/0.2517, allocations: 43.52 MB / 314.1 MB, free: 456 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.001421/0.001421, allocations: 63.89 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1528, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.6217/0.7746, allocations: 179.7 MB / 0.6634 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01236/0.787, allocations: 8.186 MB / 0.6714 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.7884, allocations: 19.81 kB / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.7902, allocations: 310 kB / 0.6717 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.7965, allocations: 1.511 MB / 0.6732 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0039/0.8004, allocations: 1.142 MB / 0.6743 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.8036, allocations: 1.853 MB / 0.6761 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007865/0.8044, allocations: 456.6 kB / 0.6765 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.8084, allocations: 1.261 MB / 0.6778 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.8095, allocations: 0.654 MB / 0.6784 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.8096, allocations: 60 kB / 0.6785 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.8118, allocations: 0.8386 MB / 0.6793 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.8122, allocations: 251.3 kB / 0.6795 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.8128, allocations: 394.2 kB / 0.6799 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.8156, allocations: 1.426 MB / 0.6813 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.8156, allocations: 0 / 0.6813 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.053e-06/0.8156, allocations: 0 / 0.6813 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.8157, allocations: 0 / 0.6813 GB, free: 4.391 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.002584/0.8182, allocations: 1.133 MB / 0.6824 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.8183, allocations: 8.031 kB / 0.6824 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008365/0.8192, allocations: 135 kB / 0.6825 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/0.8201, allocations: 0.5353 MB / 0.6831 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.8202, allocations: 108.4 kB / 0.6832 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.8203, allocations: 44 kB / 0.6832 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.8217, allocations: 0.8097 MB / 0.684 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.8217, allocations: 7.938 kB / 0.684 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.8218, allocations: 27.98 kB / 0.684 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/0.8219, allocations: 40.92 kB / 0.6841 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.8229, allocations: 0.6243 MB / 0.6847 GB, free: 0.75 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.005002/0.8279, allocations: 3.973 MB / 0.6885 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.8286, allocations: 355.6 kB / 0.6889 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.829, allocations: 177.3 kB / 0.6891 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/0.8297, allocations: 365.4 kB / 0.6894 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.8297, allocations: 44.03 kB / 0.6894 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.876e-06/0.8297, allocations: 0 / 0.6894 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.00687/0.8366, allocations: 1.663 MB / 0.6911 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.497e-05/0.8367, allocations: 136.5 kB / 0.6912 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.8378, allocations: 0.6171 MB / 0.6918 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.8379, allocations: 37.7 kB / 0.6918 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.8383, allocations: 363 kB / 0.6922 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.8385, allocations: 145.9 kB / 0.6923 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.8388, allocations: 154.5 kB / 0.6925 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.8391, allocations: 378.8 kB / 0.6928 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.8395, allocations: 209.8 kB / 0.693 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007639/0.8403, allocations: 0.5086 MB / 0.6935 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.8415, allocations: 0.7524 MB / 0.6943 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.8415, allocations: 4 kB / 0.6943 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001787/0.8433, allocations: 0.8724 MB / 0.6951 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.8434, allocations: 12 kB / 0.6951 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.8434, allocations: 11.98 kB / 0.6951 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.8449, allocations: 312.9 kB / 0.6954 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.8454, allocations: 119.8 kB / 0.6956 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.8467, allocations: 0.9386 MB / 0.6965 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.8474, allocations: 27.98 kB / 0.6965 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.8475, allocations: 67.98 kB / 0.6966 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.0004548/0.848, allocations: 241.5 kB / 0.6968 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.8482, allocations: 71.19 kB / 0.6969 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.8497, allocations: 0.6813 MB / 0.6975 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.8497, allocations: 4 kB / 0.6975 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.8497, allocations: 0 / 0.6975 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.8498, allocations: 3.984 kB / 0.6975 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.8525, allocations: 1.607 MB / 0.6991 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.8525, allocations: 11.88 kB / 0.6991 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.8535, allocations: 199.8 kB / 0.6993 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.581e-05/0.8536, allocations: 28.95 kB / 0.6993 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.8537, allocations: 20 kB / 0.6994 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/0.8564, allocations: 2.877 MB / 0.7022 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8564, allocations: 4.031 kB / 0.7022 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.8578, allocations: 0.8087 MB / 0.703 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.8582, allocations: 196.1 kB / 0.7031 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.8583, allocations: 8 kB / 0.7032 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.8588, allocations: 15.98 kB / 0.7032 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.8589, allocations: 44.02 kB / 0.7032 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-05/0.859, allocations: 43.98 kB / 0.7033 GB, free: 12.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006139/0.8596, allocations: 443 kB / 0.7037 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8596, allocations: 0 / 0.7037 GB, free: 11.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001177/0.8608, allocations: 295.9 kB / 0.704 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.001341/0.8622, allocations: 381.4 kB / 0.7043 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.8636, allocations: 0.5475 MB / 0.7049 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.8636, allocations: 4 kB / 0.7049 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.8647, allocations: 410.2 kB / 0.7052 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.8665, allocations: 362.2 kB / 0.7056 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.8691, allocations: 1.306 MB / 0.7069 GB, free: 8.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.8698, allocations: 0.93 MB / 0.7078 GB, free: 7.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009653/0.8708, allocations: 262 kB / 0.708 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.8711, allocations: 99.41 kB / 0.7081 GB, free: 7.355 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.8711, allocations: 0 / 0.7081 GB, free: 7.355 MB / 0.545 GB Notification: Performance of Templates: time 0.03788/0.909, allocations: 18.5 MB / 0.7262 GB, free: 4.879 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches