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.001149/0.001153, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001158/0.001158, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.228/1.228, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.1979/0.1979, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 67.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3017, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1603/0.462, allocations: 147.6 MB / 0.663 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006797/0.4689, allocations: 5.59 MB / 0.6685 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.4695, allocations: 19.88 kB / 0.6685 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009106/0.4705, allocations: 322 kB / 0.6688 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.4721, allocations: 0.855 MB / 0.6697 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.4746, allocations: 1.02 MB / 0.6706 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.4765, allocations: 1.798 MB / 0.6724 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/0.4771, allocations: 473 kB / 0.6729 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.4782, allocations: 0.7669 MB / 0.6736 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008366/0.4791, allocations: 0.7086 MB / 0.6743 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.4792, allocations: 64 kB / 0.6744 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.4802, allocations: 0.5342 MB / 0.6749 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.4805, allocations: 271.2 kB / 0.6751 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.4809, allocations: 398.2 kB / 0.6755 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.4821, allocations: 1.131 MB / 0.6766 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4821, allocations: 0 / 0.6766 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.899e-06/0.4821, allocations: 0 / 0.6766 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.4822, allocations: 11.94 kB / 0.6766 GB, free: 10.01 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.001914/0.4841, allocations: 1.056 MB / 0.6777 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4841, allocations: 8.031 kB / 0.6777 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.4845, allocations: 92.08 kB / 0.6778 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/0.4854, allocations: 0.5327 MB / 0.6783 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.4855, allocations: 101 kB / 0.6784 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.4856, allocations: 56.3 kB / 0.6784 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.4869, allocations: 0.8188 MB / 0.6792 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.487, allocations: 0 / 0.6792 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.487, allocations: 20 kB / 0.6792 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/0.4871, allocations: 36.98 kB / 0.6793 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.4881, allocations: 0.6517 MB / 0.6799 GB, free: 6.473 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.004562/0.4927, allocations: 3.959 MB / 0.6838 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.4935, allocations: 424.3 kB / 0.6842 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.4938, allocations: 209.4 kB / 0.6844 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/0.4944, allocations: 0.7366 MB / 0.6851 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.4945, allocations: 42.83 kB / 0.6851 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.364e-06/0.4945, allocations: 0 / 0.6851 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003083/0.4976, allocations: 1.542 MB / 0.6867 GB, free: 15.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.4977, allocations: 136.5 kB / 0.6868 GB, free: 14.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/0.4983, allocations: 0.5692 MB / 0.6873 GB, free: 14.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.4983, allocations: 37.7 kB / 0.6874 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.4986, allocations: 354.9 kB / 0.6877 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.4987, allocations: 165.7 kB / 0.6879 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.4989, allocations: 142.5 kB / 0.688 GB, free: 13.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4991, allocations: 370.8 kB / 0.6884 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.4994, allocations: 221.9 kB / 0.6886 GB, free: 13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.5, allocations: 0.5123 MB / 0.6891 GB, free: 12.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009069/0.5009, allocations: 0.7601 MB / 0.6898 GB, free: 11.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5009, allocations: 4 kB / 0.6898 GB, free: 11.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001541/0.5024, allocations: 0.9062 MB / 0.6907 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.5025, allocations: 15.88 kB / 0.6907 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5025, allocations: 11.94 kB / 0.6907 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.5038, allocations: 291.1 kB / 0.691 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.5042, allocations: 123.8 kB / 0.6911 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009759/0.5052, allocations: 0.8918 MB / 0.692 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.5056, allocations: 24 kB / 0.692 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.5057, allocations: 36 kB / 0.6921 GB, free: 9.125 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.0003366/0.506, allocations: 245.5 kB / 0.6923 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5061, allocations: 67.31 kB / 0.6924 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.5073, allocations: 0.7677 MB / 0.6931 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.5074, allocations: 7.984 kB / 0.6931 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5074, allocations: 48 / 0.6931 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5074, allocations: 11.92 kB / 0.6931 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.5093, allocations: 1.409 MB / 0.6945 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5093, allocations: 4.031 kB / 0.6945 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/0.5103, allocations: 199.8 kB / 0.6947 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.669e-05/0.5104, allocations: 28.78 kB / 0.6947 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.5104, allocations: 15.98 kB / 0.6947 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.5124, allocations: 2.873 MB / 0.6975 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5124, allocations: 7.969 kB / 0.6975 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.5138, allocations: 1.005 MB / 0.6985 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.5141, allocations: 208.1 kB / 0.6987 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.5142, allocations: 12 kB / 0.6987 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.5145, allocations: 19.98 kB / 0.6988 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.5146, allocations: 39.67 kB / 0.6988 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.5147, allocations: 24.05 kB / 0.6988 GB, free: 1.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004594/0.5151, allocations: 431 kB / 0.6992 GB, free: 1.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5151, allocations: 0 / 0.6992 GB, free: 1.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007201/0.5159, allocations: 220 kB / 0.6994 GB, free: 1.07 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.0005567/0.5164, allocations: 259.3 kB / 0.6997 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.5177, allocations: 0.6069 MB / 0.7003 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5177, allocations: 4 kB / 0.7003 GB, free: 216 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.5188, allocations: 454.4 kB / 0.7007 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.5204, allocations: 373.7 kB / 0.7011 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.5227, allocations: 1.379 MB / 0.7024 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.5233, allocations: 0.9385 MB / 0.7033 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006061/0.5239, allocations: 209.2 kB / 0.7035 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.524, allocations: 63.42 kB / 0.7036 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.5241, allocations: 4 kB / 0.7036 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.2698/0.7939, allocations: 15.88 MB / 0.7191 GB, free: 186.6 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