Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",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.001586/0.001586, allocations: 100.8 kB / 16.27 MB, free: 5.957 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.001609/0.001609, allocations: 190.1 kB / 17.19 MB, free: 5.594 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.428/1.428, 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.2261/0.2261, allocations: 43.53 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.002618/0.002618, allocations: 65.73 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1167, allocations: 57.78 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4546/0.5714, allocations: 150.6 MB / 0.5773 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.573, allocations: 0.9758 MB / 0.5783 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.5731, allocations: 0 / 0.5783 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.5735, allocations: 36.47 kB / 0.5783 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008553/0.5744, allocations: 239.4 kB / 0.5786 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.5749, allocations: 122.9 kB / 0.5787 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.5752, allocations: 164.7 kB / 0.5788 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.5753, allocations: 9.625 kB / 0.5788 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.5755, allocations: 81.22 kB / 0.5789 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.5757, allocations: 51.8 kB / 0.579 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.5757, allocations: 5.062 kB / 0.579 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.5762, allocations: 270.9 kB / 0.5792 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.5763, allocations: 28.36 kB / 0.5793 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.5764, allocations: 39.55 kB / 0.5793 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.5769, allocations: 281.7 kB / 0.5796 GB, free: 12.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5769, allocations: 0 / 0.5796 GB, free: 12.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.5769, allocations: 2.156 kB / 0.5796 GB, free: 12.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5769, allocations: 0 / 0.5796 GB, free: 12.29 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005462/0.5774, allocations: 406.1 kB / 0.5799 GB, free: 11.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.5775, allocations: 14.23 kB / 0.58 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.5776, allocations: 45.22 kB / 0.58 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.5797, allocations: 189.1 kB / 0.5802 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.58, allocations: 198.4 kB / 0.5804 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5801, allocations: 8.75 kB / 0.5804 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.5801, allocations: 14.38 kB / 0.5804 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.5807, allocations: 232.9 kB / 0.5806 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5807, allocations: 2.812 kB / 0.5806 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.5807, allocations: 0 / 0.5806 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.5807, allocations: 2.812 kB / 0.5806 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.5811, allocations: 171.9 kB / 0.5808 GB, free: 11.59 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.001038/0.5822, allocations: 0.5799 MB / 0.5814 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.5825, allocations: 138.3 kB / 0.5815 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.5827, allocations: 72.27 kB / 0.5816 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.5827, allocations: 2.969 kB / 0.5816 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.5828, allocations: 34.56 kB / 0.5816 GB, free: 11.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.5828, allocations: 0 / 0.5816 GB, free: 11.05 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00565/0.5885, allocations: 1.312 MB / 0.5829 GB, free: 10.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.5885, allocations: 53.84 kB / 0.5829 GB, free: 10.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.5886, allocations: 110.5 kB / 0.583 GB, free: 10.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.5887, allocations: 28.83 kB / 0.5831 GB, free: 10.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.5887, allocations: 92.17 kB / 0.5831 GB, free: 10.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.5888, allocations: 73.81 kB / 0.5832 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.5889, allocations: 56.36 kB / 0.5833 GB, free: 10.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.589, allocations: 325.4 kB / 0.5836 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.5892, allocations: 67.25 kB / 0.5836 GB, free: 9.879 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.5893, allocations: 108.5 kB / 0.5837 GB, free: 9.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.5897, allocations: 187.3 kB / 0.5839 GB, free: 9.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.5897, allocations: 0 / 0.5839 GB, free: 9.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004674/0.5901, allocations: 264.6 kB / 0.5842 GB, free: 9.715 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5902, allocations: 4.719 kB / 0.5842 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5902, allocations: 2.531 kB / 0.5842 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.5904, allocations: 47.14 kB / 0.5842 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.5907, allocations: 61.55 kB / 0.5843 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000418/0.5912, allocations: 0.5631 MB / 0.5848 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.5914, allocations: 9.859 kB / 0.5848 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.5914, allocations: 27.36 kB / 0.5849 GB, free: 9.145 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.5915, allocations: 129.5 kB / 0.585 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.5916, allocations: 9.156 kB / 0.585 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.5924, allocations: 340.2 kB / 0.5853 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.5924, allocations: 10.47 kB / 0.5853 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5924, allocations: 0 / 0.5853 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5924, allocations: 0 / 0.5853 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.5934, allocations: 0.6237 MB / 0.5859 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5934, allocations: 1.969 kB / 0.586 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.5937, allocations: 64.52 kB / 0.586 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.529e-05/0.5938, allocations: 22.44 kB / 0.586 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.5939, allocations: 14.98 kB / 0.586 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009909/0.5949, allocations: 1.367 MB / 0.5874 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5949, allocations: 2.906 kB / 0.5874 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.5956, allocations: 437 kB / 0.5878 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.5956, allocations: 82.8 kB / 0.5879 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.5957, allocations: 5.906 kB / 0.5879 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.5959, allocations: 10.06 kB / 0.5879 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.596, allocations: 24.39 kB / 0.5879 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.596, allocations: 27.45 kB / 0.5879 GB, free: 6.727 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.5961, allocations: 94.44 kB / 0.588 GB, free: 6.645 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.863e-06/0.5961, allocations: 0 / 0.588 GB, free: 6.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.5965, allocations: 90.66 kB / 0.5881 GB, free: 6.629 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (21): * Single equations (assignments): 20 * 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): 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.001191/0.5977, allocations: 0.9973 MB / 0.5891 GB, free: 5.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.5982, allocations: 225.5 kB / 0.5893 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5983, allocations: 0 / 0.5893 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.5986, allocations: 226.2 kB / 0.5895 GB, free: 5.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.5991, allocations: 49.42 kB / 0.5896 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.6017, allocations: 2.052 MB / 0.5916 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.602, allocations: 0.7072 MB / 0.5923 GB, free: 3.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004573/0.6025, allocations: 76.67 kB / 0.5923 GB, free: 3.367 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.6027, allocations: 73.86 kB / 0.5924 GB, free: 3.34 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6027, allocations: 0 / 0.5924 GB, free: 3.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.6437, allocations: 7.252 MB / 0.5995 GB, free: 15.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.32, allocations: 14.3 kB / 0.5995 GB, free: 15.51 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches