Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001769/0.001769, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.219/0.219, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4064, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1779/0.5844, allocations: 149.9 MB / 0.6648 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004078/0.5885, allocations: 3.142 MB / 0.6679 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.5887, allocations: 0 / 0.6679 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.5891, allocations: 63.58 kB / 0.6679 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.5921, allocations: 1.031 MB / 0.6689 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.5927, allocations: 191.3 kB / 0.6691 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.5931, allocations: 358.6 kB / 0.6695 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.5931, allocations: 17.08 kB / 0.6695 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.5934, allocations: 158.2 kB / 0.6696 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.5936, allocations: 99.66 kB / 0.6697 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.5937, allocations: 15.94 kB / 0.6697 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.5966, allocations: 1.488 MB / 0.6712 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.5967, allocations: 79.78 kB / 0.6713 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.5969, allocations: 111.6 kB / 0.6714 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.5983, allocations: 0.9829 MB / 0.6723 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5983, allocations: 3.938 kB / 0.6723 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5983, allocations: 0 / 0.6723 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5984, allocations: 0 / 0.6723 GB, free: 13.96 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009002/0.5993, allocations: 0.5646 MB / 0.6729 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5993, allocations: 8.031 kB / 0.6729 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.11e-05/0.5994, allocations: 58.73 kB / 0.673 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.6008, allocations: 208.6 kB / 0.6732 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.6011, allocations: 243.8 kB / 0.6734 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.6011, allocations: 16.38 kB / 0.6734 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.6012, allocations: 16 kB / 0.6734 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.6018, allocations: 377.4 kB / 0.6738 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6018, allocations: 0 / 0.6738 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.6018, allocations: 12 kB / 0.6738 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.6018, allocations: 4 kB / 0.6738 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.6024, allocations: 403.7 kB / 0.6742 GB, free: 11.98 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.001609/0.604, allocations: 0.8086 MB / 0.675 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.6044, allocations: 223.7 kB / 0.6752 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.6046, allocations: 121.9 kB / 0.6753 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/0.6064, allocations: 0.9917 MB / 0.6763 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.6064, allocations: 34.56 kB / 0.6763 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.443e-06/0.6064, allocations: 0 / 0.6763 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001155/0.6076, allocations: 365.6 kB / 0.6766 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.6076, allocations: 85.11 kB / 0.6767 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.6077, allocations: 105.8 kB / 0.6768 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.6078, allocations: 33.7 kB / 0.6769 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.6078, allocations: 112.6 kB / 0.677 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.6079, allocations: 115 kB / 0.6771 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.499e-05/0.608, allocations: 62.02 kB / 0.6771 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6082, allocations: 330.8 kB / 0.6774 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.6084, allocations: 96.61 kB / 0.6775 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.6086, allocations: 183.5 kB / 0.6777 GB, free: 8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.6091, allocations: 313.1 kB / 0.678 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6092, allocations: 0 / 0.678 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006172/0.6098, allocations: 337.2 kB / 0.6783 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6098, allocations: 8 kB / 0.6783 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6098, allocations: 320 / 0.6783 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.6098, allocations: 8 kB / 0.6784 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.6102, allocations: 71.91 kB / 0.6784 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.6102, allocations: 4 kB / 0.6784 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.6104, allocations: 27.83 kB / 0.6785 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.6104, allocations: 20.31 kB / 0.6785 GB, free: 7.191 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.6106, allocations: 153.6 kB / 0.6786 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6107, allocations: 15.91 kB / 0.6786 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/0.6113, allocations: 322.2 kB / 0.6789 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6113, allocations: 4 kB / 0.6789 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6113, allocations: 4 kB / 0.6789 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6114, allocations: 0 / 0.6789 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.6119, allocations: 335 kB / 0.6793 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6119, allocations: 0 / 0.6793 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.6122, allocations: 55.91 kB / 0.6793 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.6122, allocations: 4 kB / 0.6793 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.6123, allocations: 11.98 kB / 0.6793 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.6123, allocations: 0 / 0.6793 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6123, allocations: 4 kB / 0.6793 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007111/0.613, allocations: 0.5025 MB / 0.6798 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.6131, allocations: 92.95 kB / 0.6799 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.6131, allocations: 8.062 kB / 0.6799 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.6134, allocations: 15.97 kB / 0.6799 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.6135, allocations: 15.98 kB / 0.68 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.6135, allocations: 23.92 kB / 0.68 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.6136, allocations: 95.2 kB / 0.6801 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6136, allocations: 3.938 kB / 0.6801 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007831/0.6144, allocations: 231.4 kB / 0.6803 GB, free: 5.219 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002015/0.6164, allocations: 1.365 MB / 0.6816 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004908/0.6169, allocations: 260.2 kB / 0.6819 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6169, allocations: 0.625 kB / 0.6819 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.6171, allocations: 131 kB / 0.682 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/0.6177, allocations: 96.02 kB / 0.6821 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.6211, allocations: 2.673 MB / 0.6847 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.6216, allocations: 0.7324 MB / 0.6854 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.6221, allocations: 74.02 kB / 0.6855 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.6223, allocations: 59.41 kB / 0.6855 GB, free: 15.64 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.6223, allocations: 3.938 kB / 0.6855 GB, free: 15.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.6593, allocations: 10.47 MB / 0.6958 GB, free: 5.285 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.415, allocations: 16.16 kB / 0.6958 GB, free: 5.277 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches