Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.001231/0.001231, allocations: 106.8 kB / 15.98 MB, free: 6.352 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.00108/0.00108, allocations: 190.6 kB / 16.91 MB, free: 6.191 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.645/1.645, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.364/0.364, allocations: 43.5 MB / 313.6 MB, free: 8.305 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.002067/0.002068, allocations: 71.88 kB / 382.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1613, allocations: 57.77 MB / 440.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4196/0.5809, allocations: 148.8 MB / 0.575 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.5827, allocations: 1.488 MB / 0.5765 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.5828, allocations: 0 / 0.5765 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.5831, allocations: 47.73 kB / 0.5765 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008267/0.584, allocations: 356 kB / 0.5769 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.5845, allocations: 165.5 kB / 0.577 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.5847, allocations: 183.2 kB / 0.5772 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.5847, allocations: 14.66 kB / 0.5772 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.5849, allocations: 71.75 kB / 0.5773 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.585, allocations: 55.83 kB / 0.5773 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.585, allocations: 8 kB / 0.5774 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009478/0.586, allocations: 0.6002 MB / 0.5779 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.5861, allocations: 31.91 kB / 0.578 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.5861, allocations: 47.8 kB / 0.578 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.5867, allocations: 430.9 kB / 0.5784 GB, free: 3.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5867, allocations: 0 / 0.5784 GB, free: 3.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5867, allocations: 0 / 0.5784 GB, free: 3.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.5867, allocations: 0 / 0.5784 GB, free: 3.695 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005841/0.5873, allocations: 430.3 kB / 0.5788 GB, free: 3.234 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5874, allocations: 11.89 kB / 0.5789 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.5874, allocations: 46.73 kB / 0.5789 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.5897, allocations: 191.1 kB / 0.5791 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.5899, allocations: 212.3 kB / 0.5793 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5899, allocations: 7.938 kB / 0.5793 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.59, allocations: 15.98 kB / 0.5793 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.5904, allocations: 193.5 kB / 0.5795 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5905, allocations: 3.938 kB / 0.5795 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.5905, allocations: 12 kB / 0.5795 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.5905, allocations: 0 / 0.5795 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.5911, allocations: 243.8 kB / 0.5797 GB, free: 2.266 MB / 446.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.001698/0.5928, allocations: 0.6626 MB / 0.5804 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.5932, allocations: 186.5 kB / 0.5806 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.5935, allocations: 97.25 kB / 0.5807 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.5936, allocations: 93.09 kB / 0.5807 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.5937, allocations: 30.56 kB / 0.5808 GB, free: 1.137 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.5937, allocations: 4 kB / 0.5808 GB, free: 1.133 MB / 446.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.005734/0.5994, allocations: 1.532 MB / 0.5823 GB, free: 15.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.5995, allocations: 55.41 kB / 0.5823 GB, free: 15.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.5996, allocations: 110.6 kB / 0.5824 GB, free: 15.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.5996, allocations: 33.7 kB / 0.5825 GB, free: 15.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.5997, allocations: 96.25 kB / 0.5826 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.5998, allocations: 67.02 kB / 0.5826 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.767e-05/0.5999, allocations: 49.69 kB / 0.5827 GB, free: 15.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.6001, allocations: 318.8 kB / 0.583 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.6003, allocations: 95.88 kB / 0.5831 GB, free: 14.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.6006, allocations: 124.3 kB / 0.5832 GB, free: 14.51 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.601, allocations: 226.9 kB / 0.5834 GB, free: 14.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.601, allocations: 3.938 kB / 0.5834 GB, free: 14.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000581/0.6016, allocations: 286.3 kB / 0.5837 GB, free: 13.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6016, allocations: 4 kB / 0.5837 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6016, allocations: 0 / 0.5837 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.6018, allocations: 20.84 kB / 0.5837 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.6022, allocations: 63.89 kB / 0.5838 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003268/0.6026, allocations: 0.5367 MB / 0.5843 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.6029, allocations: 15.88 kB / 0.5843 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.6029, allocations: 8 kB / 0.5843 GB, free: 13.31 MB / 462.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.0001266/0.603, allocations: 129.8 kB / 0.5844 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.6031, allocations: 7.906 kB / 0.5844 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.6039, allocations: 321.1 kB / 0.5847 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6039, allocations: 0 / 0.5847 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6039, allocations: 3.938 kB / 0.5847 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6039, allocations: 4 kB / 0.5847 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.6051, allocations: 0.667 MB / 0.5854 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6051, allocations: 3.984 kB / 0.5854 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.6056, allocations: 55.89 kB / 0.5855 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-05/0.6056, allocations: 28.84 kB / 0.5855 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.6057, allocations: 7.984 kB / 0.5855 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008907/0.6066, allocations: 1.367 MB / 0.5868 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6066, allocations: 0 / 0.5868 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/0.6074, allocations: 454.4 kB / 0.5873 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.6075, allocations: 88.95 kB / 0.5873 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.6075, allocations: 4 kB / 0.5873 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.6078, allocations: 15.89 kB / 0.5874 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.6079, allocations: 20.05 kB / 0.5874 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.6079, allocations: 7.984 kB / 0.5874 GB, free: 9.883 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.922e-05/0.608, allocations: 95.2 kB / 0.5875 GB, free: 9.789 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.608, allocations: 0 / 0.5875 GB, free: 9.789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00052/0.6085, allocations: 123.9 kB / 0.5876 GB, free: 9.668 MB / 462.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 (19): * Single equations (assignments): 18 * 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.0016/0.6101, allocations: 1.129 MB / 0.5887 GB, free: 8.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.6107, allocations: 232.3 kB / 0.5889 GB, free: 8.273 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6108, allocations: 4.188 kB / 0.5889 GB, free: 8.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.6111, allocations: 242.9 kB / 0.5892 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.6116, allocations: 59.08 kB / 0.5892 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.6144, allocations: 2.177 MB / 0.5913 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.6146, allocations: 0.7046 MB / 0.592 GB, free: 4.953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004287/0.615, allocations: 57.33 kB / 0.5921 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.6152, allocations: 43.41 kB / 0.5921 GB, free: 4.855 MB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.6152, allocations: 4 kB / 0.5921 GB, free: 4.852 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4436/1.059, allocations: 7.835 MB / 0.5998 GB, free: 13.05 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/1.059, allocations: 226.8 kB / 0.6 GB, free: 12.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/3.167, allocations: 4.062 kB / 0.6 GB, free: 12.8 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches