Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_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.001129/0.00113, allocations: 100.6 kB / 16.27 MB, free: 5.965 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.001266/0.001266, allocations: 191.8 kB / 17.2 MB, free: 5.598 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.424/1.424, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2109/0.2109, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001507/0.001507, allocations: 66.11 kB / 382.8 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.398/0.4997, allocations: 136.1 MB / 0.5632 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.5049, allocations: 4.715 MB / 0.5678 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.5051, allocations: 2.125 kB / 0.5678 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.5056, allocations: 59.72 kB / 0.5679 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.508, allocations: 0.7263 MB / 0.5686 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.5084, allocations: 168.1 kB / 0.5688 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.509, allocations: 371.8 kB / 0.5691 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.509, allocations: 12.12 kB / 0.5691 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.5092, allocations: 157.7 kB / 0.5693 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.5095, allocations: 188.5 kB / 0.5695 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.5095, allocations: 7.781 kB / 0.5695 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.511, allocations: 0.685 MB / 0.5701 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.5111, allocations: 47.14 kB / 0.5702 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.5113, allocations: 107.4 kB / 0.5703 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008016/0.5121, allocations: 462.7 kB / 0.5707 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5121, allocations: 3.938 kB / 0.5707 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.5121, allocations: 0 / 0.5707 GB, free: 12.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.5121, allocations: 0 / 0.5707 GB, free: 12.82 MB / 430.1 MB 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.001076/0.5132, allocations: 0.6035 MB / 0.5713 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.5132, allocations: 14.17 kB / 0.5713 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.011e-05/0.5133, allocations: 55.61 kB / 0.5714 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.5135, allocations: 27.03 kB / 0.5714 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.5137, allocations: 227.1 kB / 0.5716 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.5139, allocations: 121.2 kB / 0.5717 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.5139, allocations: 22.19 kB / 0.5718 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.5144, allocations: 329.8 kB / 0.5721 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5144, allocations: 0 / 0.5721 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.5145, allocations: 13.8 kB / 0.5721 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.5145, allocations: 7.438 kB / 0.5721 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.5153, allocations: 0.7414 MB / 0.5728 GB, free: 11.88 MB / 430.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.001322/0.5166, allocations: 1.231 MB / 0.574 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.517, allocations: 167.5 kB / 0.5742 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.5172, allocations: 91.36 kB / 0.5743 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002525/0.5197, allocations: 2.701 MB / 0.5769 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.5197, allocations: 30.56 kB / 0.5769 GB, free: 8.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.5198, allocations: 4 kB / 0.5769 GB, free: 8.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007376/0.5205, allocations: 217.2 kB / 0.5771 GB, free: 8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.5206, allocations: 52.61 kB / 0.5772 GB, free: 7.938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.5208, allocations: 219.2 kB / 0.5774 GB, free: 7.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5208, allocations: 28.39 kB / 0.5774 GB, free: 7.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.5209, allocations: 211.6 kB / 0.5776 GB, free: 7.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.521, allocations: 52.17 kB / 0.5777 GB, free: 7.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.5211, allocations: 84.67 kB / 0.5778 GB, free: 7.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5212, allocations: 331.4 kB / 0.5781 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.5212, allocations: 47.64 kB / 0.5781 GB, free: 7.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.5215, allocations: 335.2 kB / 0.5784 GB, free: 6.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.5219, allocations: 436.5 kB / 0.5789 GB, free: 6.465 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5219, allocations: 2.875 kB / 0.5789 GB, free: 6.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004789/0.5224, allocations: 378.8 kB / 0.5792 GB, free: 6.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5224, allocations: 14.44 kB / 0.5792 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.5224, allocations: 12.52 kB / 0.5792 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.5224, allocations: 16.66 kB / 0.5793 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.5227, allocations: 107.4 kB / 0.5794 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.5228, allocations: 19.09 kB / 0.5794 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.523, allocations: 17.56 kB / 0.5794 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.523, allocations: 29.84 kB / 0.5794 GB, free: 6.34 MB / 430.1 MB 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.0001566/0.5232, allocations: 159.5 kB / 0.5796 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.5233, allocations: 25.72 kB / 0.5796 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.5236, allocations: 147 kB / 0.5797 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5236, allocations: 1.203 kB / 0.5797 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.5236, allocations: 2.875 kB / 0.5798 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.5236, allocations: 6.391 kB / 0.5798 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.5242, allocations: 439.5 kB / 0.5802 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5242, allocations: 0 / 0.5802 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.5244, allocations: 31.33 kB / 0.5802 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5244, allocations: 2.094 kB / 0.5802 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.5244, allocations: 8.703 kB / 0.5802 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5244, allocations: 0 / 0.5802 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5244, allocations: 6.938 kB / 0.5802 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.5247, allocations: 223.8 kB / 0.5804 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5248, allocations: 103.1 kB / 0.5805 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.5249, allocations: 12.69 kB / 0.5805 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.5251, allocations: 8.391 kB / 0.5806 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.5251, allocations: 10.7 kB / 0.5806 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.5251, allocations: 7.719 kB / 0.5806 GB, free: 5.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.5253, allocations: 149.1 kB / 0.5807 GB, free: 5.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5253, allocations: 0 / 0.5807 GB, free: 5.449 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004756/0.5257, allocations: 91.52 kB / 0.5808 GB, free: 5.445 MB / 430.1 MB 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.0007225/0.5265, allocations: 0.8106 MB / 0.5816 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.5268, allocations: 182.8 kB / 0.5818 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5268, allocations: 6.844 kB / 0.5818 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.5269, allocations: 39.8 kB / 0.5818 GB, free: 4.703 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.5273, allocations: 51.77 kB / 0.5819 GB, free: 4.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.5301, allocations: 2.711 MB / 0.5845 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.5303, allocations: 0.7321 MB / 0.5852 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.5306, allocations: 53.53 kB / 0.5853 GB, free: 1.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.5307, allocations: 67.03 kB / 0.5853 GB, free: 1.805 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5307, allocations: 0 / 0.5853 GB, free: 1.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.5551, allocations: 5.217 MB / 0.5904 GB, free: 15.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.324, allocations: 9.469 kB / 0.5904 GB, free: 15.07 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches