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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 100.5 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3233/0.3233, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 59.92 kB / 457.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.344, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1509/0.4949, allocations: 146 MB / 0.6489 GB, free: 13.71 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.007286/0.5022, allocations: 5.739 MB / 0.6546 GB, free: 7.953 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.503, allocations: 23.81 kB / 0.6546 GB, free: 7.93 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.5038, allocations: 282.5 kB / 0.6548 GB, free: 7.652 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.5053, allocations: 0.8166 MB / 0.6556 GB, free: 6.832 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.5077, allocations: 0.93 MB / 0.6566 GB, free: 5.91 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002297/0.51, allocations: 2.675 MB / 0.6592 GB, free: 3.23 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005014/0.5105, allocations: 401 kB / 0.6595 GB, free: 2.832 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009489/0.5114, allocations: 0.6732 MB / 0.6602 GB, free: 2.156 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008275/0.5123, allocations: 0.7241 MB / 0.6609 GB, free: 1.43 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.214e-05/0.5124, allocations: 32 kB / 0.6609 GB, free: 1.398 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009881/0.5134, allocations: 0.5418 MB / 0.6615 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.5136, allocations: 235.3 kB / 0.6617 GB, free: 0.625 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.514, allocations: 370.2 kB / 0.662 GB, free: 268 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.515, allocations: 1.108 MB / 0.6631 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.515, allocations: 0 / 0.6631 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5151, allocations: 0 / 0.6631 GB, free: 15.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.5151, allocations: 7.938 kB / 0.6631 GB, free: 15.14 MB / 490.7 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.001876/0.5169, allocations: 1.06 MB / 0.6642 GB, free: 14.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.517, allocations: 11.97 kB / 0.6642 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.5173, allocations: 88.08 kB / 0.6643 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/0.5182, allocations: 0.5171 MB / 0.6648 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.5183, allocations: 96.97 kB / 0.6649 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/0.5184, allocations: 48.38 kB / 0.6649 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.5196, allocations: 0.8227 MB / 0.6657 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.5197, allocations: 7.938 kB / 0.6657 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.5197, allocations: 23.98 kB / 0.6657 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.5198, allocations: 36.98 kB / 0.6658 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009774/0.5208, allocations: 0.6517 MB / 0.6664 GB, free: 11.62 MB / 490.7 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.004195/0.525, allocations: 3.963 MB / 0.6703 GB, free: 7.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.5257, allocations: 424.2 kB / 0.6707 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.5261, allocations: 205.4 kB / 0.6709 GB, free: 6.746 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005246/0.5266, allocations: 0.7327 MB / 0.6716 GB, free: 5.848 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.5266, allocations: 38.89 kB / 0.6716 GB, free: 5.801 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.5266, allocations: 0 / 0.6716 GB, free: 5.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.002913/0.5296, allocations: 1.553 MB / 0.6732 GB, free: 4.176 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.5296, allocations: 132.5 kB / 0.6733 GB, free: 4.016 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.5303, allocations: 0.5732 MB / 0.6738 GB, free: 3.434 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.5303, allocations: 37.7 kB / 0.6739 GB, free: 3.391 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.5306, allocations: 358.9 kB / 0.6742 GB, free: 3.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.5307, allocations: 165.7 kB / 0.6744 GB, free: 2.871 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.5309, allocations: 138.5 kB / 0.6745 GB, free: 2.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.531, allocations: 374.8 kB / 0.6749 GB, free: 2.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.5314, allocations: 213.9 kB / 0.6751 GB, free: 2.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.5319, allocations: 0.5201 MB / 0.6756 GB, free: 1.488 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009245/0.5328, allocations: 0.7601 MB / 0.6763 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.5329, allocations: 4 kB / 0.6763 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.2563/0.7891, allocations: 0.9031 MB / 0.6772 GB, free: 144.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.7892, allocations: 13.47 kB / 0.6772 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.7892, allocations: 9.5 kB / 0.6772 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.7907, allocations: 289.5 kB / 0.6775 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.7912, allocations: 122.8 kB / 0.6776 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.7923, allocations: 0.8823 MB / 0.6785 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.7929, allocations: 47.84 kB / 0.6785 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.793, allocations: 36.55 kB / 0.6786 GB, free: 144.2 MB / 490.7 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.0003524/0.7933, allocations: 256.8 kB / 0.6788 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.7935, allocations: 65.38 kB / 0.6789 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.7946, allocations: 0.7724 MB / 0.6796 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7947, allocations: 12.03 kB / 0.6796 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7947, allocations: 1.75 kB / 0.6796 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.7947, allocations: 3.469 kB / 0.6796 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.7963, allocations: 1.411 MB / 0.681 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7963, allocations: 1.25 kB / 0.681 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/0.7973, allocations: 196 kB / 0.6812 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-05/0.7974, allocations: 30.19 kB / 0.6812 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.7974, allocations: 13.28 kB / 0.6812 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.7988, allocations: 2.686 MB / 0.6839 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7988, allocations: 0 / 0.6839 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006467/0.8053, allocations: 5.562 MB / 0.6893 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.8055, allocations: 204 kB / 0.6895 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.8056, allocations: 18.27 kB / 0.6895 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.806, allocations: 24.92 kB / 0.6895 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.8062, allocations: 49.25 kB / 0.6896 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.8062, allocations: 23.39 kB / 0.6896 GB, free: 135.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000475/0.8067, allocations: 428.1 kB / 0.69 GB, free: 135.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8067, allocations: 0 / 0.69 GB, free: 135.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001071/0.8078, allocations: 311.7 kB / 0.6903 GB, free: 135.7 MB / 490.7 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.0005136/0.8083, allocations: 265 kB / 0.6906 GB, free: 135.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.8094, allocations: 0.594 MB / 0.6911 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8094, allocations: 3.859 kB / 0.6912 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009701/0.8104, allocations: 456.7 kB / 0.6916 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.8121, allocations: 358 kB / 0.6919 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.8146, allocations: 2.053 MB / 0.6939 GB, free: 133.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.8151, allocations: 0.9508 MB / 0.6949 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007968/0.8159, allocations: 215.8 kB / 0.6951 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.8161, allocations: 69.66 kB / 0.6951 GB, free: 133.1 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.8161, allocations: 0 / 0.6951 GB, free: 133.1 MB / 490.7 MB Notification: Performance of Templates: time 0.02804/0.8441, allocations: 16.4 MB / 0.7111 GB, free: 131 MB / 490.7 MB 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches