Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001269/0.001269, allocations: 118.4 kB / 17.78 MB, free: 5.281 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.001203/0.001203, allocations: 183 kB / 18.72 MB, free: 4.352 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2111/0.2111, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 470.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1207, allocations: 60.82 MB / 0.5185 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3655/0.4863, allocations: 136.1 MB / 0.6514 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005375/0.4917, allocations: 4.704 MB / 0.656 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.4919, allocations: 6.688 kB / 0.656 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.4923, allocations: 61.73 kB / 0.6561 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.4941, allocations: 0.7206 MB / 0.6568 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.4945, allocations: 156.4 kB / 0.6569 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005661/0.4951, allocations: 380.3 kB / 0.6573 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.4952, allocations: 9 kB / 0.6573 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.4954, allocations: 152.6 kB / 0.6574 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.4957, allocations: 198 kB / 0.6576 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.4957, allocations: 7.438 kB / 0.6576 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.497, allocations: 0.6825 MB / 0.6583 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.4971, allocations: 48.5 kB / 0.6584 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.4972, allocations: 114.2 kB / 0.6585 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008058/0.498, allocations: 457.7 kB / 0.6589 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.498, allocations: 4 kB / 0.6589 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4981, allocations: 4.781 kB / 0.6589 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.4981, allocations: 0 / 0.6589 GB, free: 11.46 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001063/0.4991, allocations: 0.5961 MB / 0.6595 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4992, allocations: 8.031 kB / 0.6595 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.154e-05/0.4993, allocations: 67.22 kB / 0.6596 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.4994, allocations: 28.8 kB / 0.6596 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.4998, allocations: 236.5 kB / 0.6598 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.4999, allocations: 123.9 kB / 0.6599 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.4999, allocations: 16.38 kB / 0.6599 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.5005, allocations: 331.3 kB / 0.6603 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5005, allocations: 0 / 0.6603 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.5005, allocations: 12 kB / 0.6603 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.5005, allocations: 11.92 kB / 0.6603 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/0.5014, allocations: 0.743 MB / 0.661 GB, free: 9.168 MB / 0.4981 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.001371/0.5028, allocations: 1.226 MB / 0.6622 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.5032, allocations: 165.9 kB / 0.6624 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.5033, allocations: 93.41 kB / 0.6625 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/0.5059, allocations: 2.702 MB / 0.6651 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.5059, allocations: 34.56 kB / 0.6651 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.5059, allocations: 0 / 0.6651 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005992/0.5065, allocations: 223.7 kB / 0.6653 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5066, allocations: 55.41 kB / 0.6654 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.5068, allocations: 222.9 kB / 0.6656 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.5068, allocations: 29.7 kB / 0.6656 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.507, allocations: 215.6 kB / 0.6658 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.507, allocations: 64.62 kB / 0.6659 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.5071, allocations: 86.03 kB / 0.666 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5073, allocations: 326.8 kB / 0.6663 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.5074, allocations: 44.84 kB / 0.6663 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.5077, allocations: 339.8 kB / 0.6667 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.5082, allocations: 430 kB / 0.6671 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.5082, allocations: 4.625 kB / 0.6671 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005769/0.5088, allocations: 381.4 kB / 0.6674 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5088, allocations: 11.98 kB / 0.6675 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.5088, allocations: 12 kB / 0.6675 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.5089, allocations: 15.94 kB / 0.6675 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.5092, allocations: 103.8 kB / 0.6676 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-05/0.5092, allocations: 26.52 kB / 0.6676 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.5094, allocations: 12.62 kB / 0.6676 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.5095, allocations: 32 kB / 0.6676 GB, free: 1.406 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001408/0.5096, allocations: 153.6 kB / 0.6678 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.5097, allocations: 19.86 kB / 0.6678 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.51, allocations: 150 kB / 0.668 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.51, allocations: 0 / 0.668 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.51, allocations: 0.75 kB / 0.668 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.51, allocations: 0 / 0.668 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005559/0.5106, allocations: 448.5 kB / 0.6684 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5106, allocations: 0 / 0.6684 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.5108, allocations: 39.91 kB / 0.6684 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5108, allocations: 4.062 kB / 0.6684 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.5108, allocations: 0.5 kB / 0.6684 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.5108, allocations: 4 kB / 0.6684 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.5108, allocations: 0 / 0.6684 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.5111, allocations: 228 kB / 0.6686 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.5112, allocations: 101 kB / 0.6687 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.5112, allocations: 11.98 kB / 0.6688 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.5114, allocations: 7 kB / 0.6688 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.5114, allocations: 7.984 kB / 0.6688 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.5115, allocations: 19.92 kB / 0.6688 GB, free: 132 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001588/0.5116, allocations: 144.5 kB / 0.6689 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5116, allocations: 0 / 0.6689 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004691/0.5121, allocations: 95.92 kB / 0.669 GB, free: 15.89 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0009077/0.513, allocations: 0.8136 MB / 0.6698 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.5134, allocations: 185.1 kB / 0.67 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5134, allocations: 0 / 0.67 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.966e-05/0.5134, allocations: 36.47 kB / 0.67 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.5139, allocations: 50.06 kB / 0.6701 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.517, allocations: 2.711 MB / 0.6727 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.5173, allocations: 0.7293 MB / 0.6734 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000209/0.5176, allocations: 59.67 kB / 0.6735 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.5177, allocations: 55.42 kB / 0.6735 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.5177, allocations: 0 / 0.6735 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.5461, allocations: 5.297 MB / 0.6787 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.681, allocations: 4.062 kB / 0.6787 GB, free: 5.824 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches