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.001637/0.001636, allocations: 114.9 kB / 17.08 MB, free: 6.016 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.001674/0.001674, allocations: 194.4 kB / 18.02 MB, free: 5.09 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.472/1.472, allocations: 205.1 MB / 223.9 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.2127/0.2127, allocations: 43.52 MB / 314.8 MB, free: 472 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.001591/0.001591, allocations: 71.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1087, allocations: 57.78 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3865/0.4952, allocations: 147.6 MB / 0.6327 GB, free: 7.004 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007671/0.5029, allocations: 5.595 MB / 0.6381 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007241/0.5037, allocations: 19.88 kB / 0.6382 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.5049, allocations: 322 kB / 0.6385 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.5071, allocations: 0.8589 MB / 0.6393 GB, free: 208 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.5099, allocations: 1.025 MB / 0.6403 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.5123, allocations: 1.798 MB / 0.6421 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008195/0.5131, allocations: 468 kB / 0.6425 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.5147, allocations: 0.7552 MB / 0.6432 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.516, allocations: 0.7008 MB / 0.6439 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.5163, allocations: 64 kB / 0.644 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.5176, allocations: 0.542 MB / 0.6445 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004134/0.5181, allocations: 255.3 kB / 0.6448 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007973/0.5189, allocations: 414.2 kB / 0.6452 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.5208, allocations: 1.128 MB / 0.6463 GB, free: 9.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5208, allocations: 0 / 0.6463 GB, free: 9.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5208, allocations: 0 / 0.6463 GB, free: 9.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.233e-05/0.5209, allocations: 0 / 0.6463 GB, free: 9.066 MB / 494.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.002509/0.5234, allocations: 1.051 MB / 0.6473 GB, free: 7.969 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5234, allocations: 12.03 kB / 0.6473 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.5239, allocations: 91.98 kB / 0.6474 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009561/0.5248, allocations: 0.5326 MB / 0.6479 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.525, allocations: 112.9 kB / 0.648 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.5251, allocations: 48.56 kB / 0.6481 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.5264, allocations: 0.8188 MB / 0.6489 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.5265, allocations: 3.938 kB / 0.6489 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.5265, allocations: 23.98 kB / 0.6489 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.978e-05/0.5266, allocations: 48.91 kB / 0.6489 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.5277, allocations: 0.6479 MB / 0.6496 GB, free: 5.52 MB / 494.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.004681/0.5324, allocations: 3.963 MB / 0.6534 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007965/0.5332, allocations: 432.1 kB / 0.6539 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.5336, allocations: 205.4 kB / 0.654 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/0.5342, allocations: 0.7327 MB / 0.6548 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.5342, allocations: 38.89 kB / 0.6548 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 3.176e-06/0.5342, allocations: 4 kB / 0.6548 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003318/0.5376, allocations: 1.541 MB / 0.6563 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.5377, allocations: 136.5 kB / 0.6564 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.5384, allocations: 0.5731 MB / 0.657 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.5385, allocations: 33.7 kB / 0.657 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5387, allocations: 351.1 kB / 0.6574 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.5389, allocations: 161.6 kB / 0.6575 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.5391, allocations: 138.6 kB / 0.6577 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5392, allocations: 374.8 kB / 0.658 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.5396, allocations: 217.9 kB / 0.6582 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.5402, allocations: 0.5139 MB / 0.6587 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.5412, allocations: 0.7601 MB / 0.6595 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5412, allocations: 0 / 0.6595 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001652/0.5429, allocations: 0.9134 MB / 0.6604 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5429, allocations: 11.94 kB / 0.6604 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.5429, allocations: 8 kB / 0.6604 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.5443, allocations: 296.1 kB / 0.6607 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.5447, allocations: 115.8 kB / 0.6608 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009927/0.5457, allocations: 0.8878 MB / 0.6616 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.5462, allocations: 31.98 kB / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.5463, allocations: 32 kB / 0.6617 GB, free: 8.188 MB / 0.4981 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.000355/0.5467, allocations: 253.6 kB / 0.6619 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.5468, allocations: 71.14 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.5481, allocations: 0.7684 MB / 0.6628 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.5482, allocations: 7.875 kB / 0.6628 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5482, allocations: 0 / 0.6628 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.5482, allocations: 3.984 kB / 0.6628 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.5502, allocations: 1.415 MB / 0.6641 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.5502, allocations: 0 / 0.6641 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.5513, allocations: 203.8 kB / 0.6643 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.747e-05/0.5514, allocations: 32.97 kB / 0.6644 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.5514, allocations: 12 kB / 0.6644 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.5538, allocations: 2.869 MB / 0.6672 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5538, allocations: 4.031 kB / 0.6672 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.5553, allocations: 1.016 MB / 0.6682 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.5556, allocations: 200.2 kB / 0.6684 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.5557, allocations: 12 kB / 0.6684 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.5561, allocations: 19.98 kB / 0.6684 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.5563, allocations: 47.67 kB / 0.6684 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.5563, allocations: 24.86 kB / 0.6685 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005365/0.5569, allocations: 431 kB / 0.6689 GB, free: 324 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5569, allocations: 0 / 0.6689 GB, free: 324 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008702/0.5577, allocations: 220 kB / 0.6691 GB, free: 104 kB / 0.4981 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.0006377/0.5584, allocations: 263.4 kB / 0.6693 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.5597, allocations: 0.5991 MB / 0.6699 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5597, allocations: 0 / 0.6699 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.5607, allocations: 446.9 kB / 0.6704 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.5625, allocations: 369.1 kB / 0.6707 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.5653, allocations: 1.424 MB / 0.6721 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.5659, allocations: 0.9307 MB / 0.673 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.5662, allocations: 67.42 kB / 0.6731 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.423e-06/0.5662, allocations: 0 / 0.6731 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.02311/0.5893, allocations: 16.06 MB / 0.6888 GB, free: 11.89 MB / 0.5294 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/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