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.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.SimpleAir,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.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_3.2.3_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.001452/0.001451, allocations: 100.7 kB / 16.27 MB, free: 5.957 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.001669/0.001669, allocations: 187.9 kB / 17.19 MB, free: 5.594 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.698/1.698, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2156/0.2156, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 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.001803/0.001803, allocations: 68.19 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1044, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4424/0.5468, allocations: 147.6 MB / 0.5743 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007467/0.5544, allocations: 5.586 MB / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.5555, allocations: 20.75 kB / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.5567, allocations: 331.1 kB / 0.5801 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.5589, allocations: 0.8508 MB / 0.5809 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.5623, allocations: 1.02 MB / 0.5819 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.5657, allocations: 1.804 MB / 0.5837 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007346/0.5664, allocations: 469.1 kB / 0.5841 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.5679, allocations: 0.7498 MB / 0.5849 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.5694, allocations: 0.7047 MB / 0.5856 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003308/0.5697, allocations: 66.78 kB / 0.5856 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.5713, allocations: 0.5346 MB / 0.5861 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.5718, allocations: 263.1 kB / 0.5864 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007145/0.5725, allocations: 401.5 kB / 0.5868 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.5745, allocations: 1.117 MB / 0.5879 GB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5745, allocations: 4 kB / 0.5879 GB, free: 9.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5745, allocations: 0 / 0.5879 GB, free: 9.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.354e-05/0.5746, allocations: 0 / 0.5879 GB, free: 9.855 MB / 430.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.002904/0.5775, allocations: 1.058 MB / 0.5889 GB, free: 9.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5775, allocations: 10.06 kB / 0.5889 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.578, allocations: 87.47 kB / 0.589 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/0.579, allocations: 0.5137 MB / 0.5895 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.5791, allocations: 101.5 kB / 0.5896 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.5792, allocations: 53.03 kB / 0.5897 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.5807, allocations: 0.8229 MB / 0.5905 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.5807, allocations: 3.984 kB / 0.5905 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.5808, allocations: 28.38 kB / 0.5905 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.5808, allocations: 42.48 kB / 0.5905 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009931/0.5818, allocations: 0.6511 MB / 0.5912 GB, free: 8.188 MB / 430.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.00435/0.5862, allocations: 3.981 MB / 0.595 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.5869, allocations: 426.6 kB / 0.5955 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.5872, allocations: 202 kB / 0.5956 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.5879, allocations: 0.7328 MB / 0.5964 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.588, allocations: 51.17 kB / 0.5964 GB, free: 4.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.588, allocations: 0 / 0.5964 GB, free: 4.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003614/0.5916, allocations: 1.535 MB / 0.5979 GB, free: 3.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.5917, allocations: 132.9 kB / 0.598 GB, free: 3.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007012/0.5924, allocations: 0.5715 MB / 0.5986 GB, free: 2.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/0.5925, allocations: 40.42 kB / 0.5986 GB, free: 2.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.5928, allocations: 354.1 kB / 0.599 GB, free: 2.508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.593, allocations: 164.5 kB / 0.5991 GB, free: 2.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.5932, allocations: 138.5 kB / 0.5993 GB, free: 2.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5933, allocations: 373.9 kB / 0.5996 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.5937, allocations: 217.5 kB / 0.5998 GB, free: 1.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/0.5943, allocations: 0.512 MB / 0.6003 GB, free: 1.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5954, allocations: 0.759 MB / 0.6011 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.5954, allocations: 3 kB / 0.6011 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001656/0.5971, allocations: 0.915 MB / 0.602 GB, free: 188 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.5971, allocations: 14.06 kB / 0.602 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.5972, allocations: 10.53 kB / 0.602 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.5986, allocations: 290.5 kB / 0.6023 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.599, allocations: 124.6 kB / 0.6024 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.6001, allocations: 0.8797 MB / 0.6032 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.6008, allocations: 30.45 kB / 0.6033 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.6009, allocations: 32.47 kB / 0.6033 GB, free: 15.29 MB / 446.1 MB 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.0005382/0.6014, allocations: 260 kB / 0.6036 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.6016, allocations: 67.81 kB / 0.6036 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.6029, allocations: 0.7592 MB / 0.6044 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.6029, allocations: 12.31 kB / 0.6044 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6029, allocations: 0 / 0.6044 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.603, allocations: 3.984 kB / 0.6044 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.605, allocations: 1.417 MB / 0.6058 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.605, allocations: 0 / 0.6058 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.6061, allocations: 204.8 kB / 0.606 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-05/0.6062, allocations: 33.34 kB / 0.606 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.6062, allocations: 12.34 kB / 0.606 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.6085, allocations: 2.877 MB / 0.6088 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.6086, allocations: 6.781 kB / 0.6088 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.6102, allocations: 1.007 MB / 0.6098 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.6106, allocations: 203.3 kB / 0.61 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.6108, allocations: 9.75 kB / 0.61 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.6113, allocations: 14.84 kB / 0.61 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.6114, allocations: 42.27 kB / 0.6101 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.6115, allocations: 26.91 kB / 0.6101 GB, free: 9.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005458/0.612, allocations: 430.1 kB / 0.6105 GB, free: 9.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.612, allocations: 0 / 0.6105 GB, free: 9.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009776/0.613, allocations: 223.6 kB / 0.6107 GB, free: 9.18 MB / 446.1 MB 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.000633/0.6136, allocations: 260.3 kB / 0.6109 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.6152, allocations: 0.6674 MB / 0.6116 GB, free: 8.566 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6152, allocations: 7.859 kB / 0.6116 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.6163, allocations: 454.3 kB / 0.612 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.6184, allocations: 380 kB / 0.6124 GB, free: 7.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.6214, allocations: 1.395 MB / 0.6138 GB, free: 6.309 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.622, allocations: 0.9346 MB / 0.6147 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008141/0.6229, allocations: 210.1 kB / 0.6149 GB, free: 5.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.623, allocations: 63.42 kB / 0.6149 GB, free: 5.074 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.623, allocations: 0 / 0.6149 GB, free: 5.074 MB / 446.1 MB Notification: Performance of Templates: time 0.02954/0.6526, allocations: 15.51 MB / 0.6301 GB, free: 5.629 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (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) 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) Reference file matches