Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 175.3 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007942/0.0007942, allocations: 90.34 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3798/0.617, allocations: 136.8 MB / 0.4999 GB, free: 1.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.6186, allocations: 1.392 MB / 0.5013 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.6187, allocations: 0 / 0.5013 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.6191, allocations: 48.17 kB / 0.5013 GB, free: 1.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007564/0.6198, allocations: 335.6 kB / 0.5016 GB, free: 1.461 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.6202, allocations: 143.9 kB / 0.5018 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.6205, allocations: 212.7 kB / 0.502 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.6206, allocations: 2.938 kB / 0.502 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.6207, allocations: 74.02 kB / 0.502 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.6208, allocations: 53.53 kB / 0.5021 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.6209, allocations: 10.22 kB / 0.5021 GB, free: 1.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.622, allocations: 0.6708 MB / 0.5028 GB, free: 1.445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.622, allocations: 35.33 kB / 0.5028 GB, free: 1.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.6221, allocations: 74.75 kB / 0.5029 GB, free: 1.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.6225, allocations: 282 kB / 0.5031 GB, free: 1.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6225, allocations: 0 / 0.5031 GB, free: 1.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6225, allocations: 0 / 0.5031 GB, free: 1.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.6225, allocations: 3.219 kB / 0.5031 GB, free: 1.395 MB / 378.7 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.0006841/0.6232, allocations: 399 kB / 0.5035 GB, free: 17.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6233, allocations: 13.86 kB / 0.5035 GB, free: 17.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.6253, allocations: 191.5 kB / 0.5037 GB, free: 17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.6255, allocations: 212.9 kB / 0.5039 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.6256, allocations: 10.44 kB / 0.5039 GB, free: 16.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.6256, allocations: 5.438 kB / 0.5039 GB, free: 16.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.6261, allocations: 205.1 kB / 0.5041 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6261, allocations: 0 / 0.5041 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.6261, allocations: 5.156 kB / 0.5041 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6262, allocations: 3.094 kB / 0.5041 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.6267, allocations: 246.5 kB / 0.5044 GB, free: 16.75 MB / 394.7 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.001597/0.6283, allocations: 0.6681 MB / 0.505 GB, free: 16.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.6287, allocations: 186.8 kB / 0.5052 GB, free: 16.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.6289, allocations: 93.89 kB / 0.5053 GB, free: 16.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.6291, allocations: 91.31 kB / 0.5054 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.6291, allocations: 37.59 kB / 0.5054 GB, free: 16.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.684e-06/0.6291, allocations: 0 / 0.5054 GB, free: 16.21 MB / 394.7 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.005125/0.6342, allocations: 1.548 MB / 0.5069 GB, free: 15.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.6343, allocations: 54.34 kB / 0.507 GB, free: 15.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.6344, allocations: 115.9 kB / 0.5071 GB, free: 15.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.6344, allocations: 25.7 kB / 0.5071 GB, free: 15.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.6345, allocations: 97.7 kB / 0.5072 GB, free: 15.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.6346, allocations: 68.8 kB / 0.5073 GB, free: 15.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.6346, allocations: 5.469 kB / 0.5073 GB, free: 15.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6347, allocations: 325.4 kB / 0.5076 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.6349, allocations: 90.97 kB / 0.5077 GB, free: 14.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.6352, allocations: 124.1 kB / 0.5078 GB, free: 14.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.6356, allocations: 223.5 kB / 0.508 GB, free: 14.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6356, allocations: 0 / 0.508 GB, free: 14.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006964/0.6363, allocations: 287.4 kB / 0.5083 GB, free: 14.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6363, allocations: 3.562 kB / 0.5083 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6364, allocations: 6.312 kB / 0.5083 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.6365, allocations: 23.72 kB / 0.5083 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.6369, allocations: 60.69 kB / 0.5084 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003354/0.6373, allocations: 0.5374 MB / 0.5089 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.6376, allocations: 12.69 kB / 0.5089 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.6376, allocations: 13.28 kB / 0.5089 GB, free: 14.28 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.6378, allocations: 127.2 kB / 0.509 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.6378, allocations: 10.12 kB / 0.509 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007111/0.6385, allocations: 314.3 kB / 0.5093 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.6386, allocations: 2.594 kB / 0.5093 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6386, allocations: 3.938 kB / 0.5093 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6386, allocations: 0 / 0.5093 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.6398, allocations: 0.6734 MB / 0.51 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6398, allocations: 0 / 0.51 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.6402, allocations: 57.19 kB / 0.5101 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.171e-05/0.6403, allocations: 18.98 kB / 0.5101 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.6403, allocations: 8.453 kB / 0.5101 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008117/0.6411, allocations: 1.261 MB / 0.5113 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6412, allocations: 1.781 kB / 0.5113 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009204/0.6421, allocations: 452.1 kB / 0.5118 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.6421, allocations: 100.1 kB / 0.5118 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.6422, allocations: 2.594 kB / 0.5118 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.6425, allocations: 21.98 kB / 0.5119 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.6425, allocations: 20.03 kB / 0.5119 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.6426, allocations: 10.09 kB / 0.5119 GB, free: 12.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.6427, allocations: 87.88 kB / 0.512 GB, free: 12.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6427, allocations: 0.5312 kB / 0.512 GB, free: 12.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006606/0.6433, allocations: 128.5 kB / 0.5121 GB, free: 12.1 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006849/0.644, allocations: 256 kB / 0.5123 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.6446, allocations: 229.5 kB / 0.5126 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6446, allocations: 3.188 kB / 0.5126 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.645, allocations: 227.3 kB / 0.5128 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.6454, allocations: 60.52 kB / 0.5128 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008108/0.6462, allocations: 0.593 MB / 0.5134 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.6465, allocations: 0.7041 MB / 0.5141 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.6466, allocations: 31.3 kB / 0.5141 GB, free: 10.79 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6467, allocations: 4 kB / 0.5141 GB, free: 10.79 MB / 394.7 MB Notification: Performance of Templates: time 0.008181/0.6548, allocations: 5.129 MB / 0.5192 GB, free: 10.41 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches