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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.001826/0.001826, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.385/1.385, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.1975/0.1975, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 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.00238/0.00238, allocations: 72.52 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1027, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3665/0.4692, allocations: 150.6 MB / 0.5786 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.4703, allocations: 0.9756 MB / 0.5796 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.4704, allocations: 4 kB / 0.5796 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.4706, allocations: 32.95 kB / 0.5796 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005559/0.4712, allocations: 241.4 kB / 0.5799 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.4716, allocations: 120.8 kB / 0.58 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4718, allocations: 165.4 kB / 0.5801 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.4718, allocations: 7.406 kB / 0.5801 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.472, allocations: 86.41 kB / 0.5802 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.735e-05/0.4721, allocations: 52.61 kB / 0.5803 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.4721, allocations: 5.812 kB / 0.5803 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.4726, allocations: 259 kB / 0.5805 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.4726, allocations: 27.67 kB / 0.5806 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.4727, allocations: 48.92 kB / 0.5806 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.4731, allocations: 275.6 kB / 0.5809 GB, free: 12.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4731, allocations: 0 / 0.5809 GB, free: 12.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4731, allocations: 3.938 kB / 0.5809 GB, free: 12.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.4731, allocations: 0 / 0.5809 GB, free: 12.41 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.0004834/0.4736, allocations: 409.8 kB / 0.5813 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.4736, allocations: 13.86 kB / 0.5813 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.4755, allocations: 192.9 kB / 0.5815 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.4758, allocations: 198.2 kB / 0.5816 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.4758, allocations: 9.281 kB / 0.5817 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.4759, allocations: 8.688 kB / 0.5817 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.4763, allocations: 239.2 kB / 0.5819 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.4763, allocations: 1.438 kB / 0.5819 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.4764, allocations: 2.875 kB / 0.5819 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4764, allocations: 1.781 kB / 0.5819 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.4768, allocations: 177.5 kB / 0.5821 GB, free: 11.74 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.0009427/0.4777, allocations: 0.578 MB / 0.5826 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.478, allocations: 134.4 kB / 0.5828 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.4782, allocations: 67.67 kB / 0.5828 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.4782, allocations: 6.328 kB / 0.5828 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.4782, allocations: 40.03 kB / 0.5829 GB, free: 11.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4782, allocations: 0 / 0.5829 GB, free: 11.21 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.004845/0.4831, allocations: 1.308 MB / 0.5841 GB, free: 10.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.4831, allocations: 51.41 kB / 0.5842 GB, free: 10.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.4832, allocations: 111.7 kB / 0.5843 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.4833, allocations: 32.08 kB / 0.5843 GB, free: 10.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.4833, allocations: 94.41 kB / 0.5844 GB, free: 10.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.4834, allocations: 71.52 kB / 0.5845 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.4835, allocations: 52.89 kB / 0.5845 GB, free: 10.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4836, allocations: 323.2 kB / 0.5848 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.4837, allocations: 66.88 kB / 0.5849 GB, free: 10.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.4839, allocations: 112.4 kB / 0.585 GB, free: 10 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.4842, allocations: 180.6 kB / 0.5852 GB, free: 9.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.4842, allocations: 0 / 0.5852 GB, free: 9.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004393/0.4846, allocations: 271.5 kB / 0.5854 GB, free: 9.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4847, allocations: 5.031 kB / 0.5855 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4847, allocations: 0 / 0.5855 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.4848, allocations: 48.98 kB / 0.5855 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.4852, allocations: 55.02 kB / 0.5856 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004045/0.4856, allocations: 0.5752 MB / 0.5861 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.4858, allocations: 5.531 kB / 0.5861 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.4858, allocations: 22.56 kB / 0.5861 GB, free: 9.297 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.0001078/0.4859, allocations: 130 kB / 0.5863 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.486, allocations: 12.12 kB / 0.5863 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/0.4867, allocations: 341.3 kB / 0.5866 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4867, allocations: 10.55 kB / 0.5866 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4867, allocations: 1.188 kB / 0.5866 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4867, allocations: 0 / 0.5866 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/0.4876, allocations: 0.6191 MB / 0.5872 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4876, allocations: 4.094 kB / 0.5872 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.4879, allocations: 64.58 kB / 0.5873 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.442e-05/0.488, allocations: 22.72 kB / 0.5873 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.4881, allocations: 13.98 kB / 0.5873 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008387/0.4889, allocations: 1.361 MB / 0.5886 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4889, allocations: 2.781 kB / 0.5886 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.4895, allocations: 431.9 kB / 0.5891 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.4896, allocations: 89.55 kB / 0.5891 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.4896, allocations: 6.281 kB / 0.5892 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.4898, allocations: 9.859 kB / 0.5892 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.4899, allocations: 29.95 kB / 0.5892 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.4899, allocations: 24.45 kB / 0.5892 GB, free: 6.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.49, allocations: 94.5 kB / 0.5893 GB, free: 6.797 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.49, allocations: 0 / 0.5893 GB, free: 6.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.4904, allocations: 86.47 kB / 0.5894 GB, free: 6.785 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.000334/0.4907, allocations: 147.1 kB / 0.5895 GB, free: 6.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.4912, allocations: 209.7 kB / 0.5897 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4912, allocations: 0 / 0.5897 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.4915, allocations: 224.3 kB / 0.5899 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.4919, allocations: 46.27 kB / 0.59 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.4927, allocations: 489 kB / 0.5905 GB, free: 6.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.4929, allocations: 0.7023 MB / 0.5911 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.4932, allocations: 80.88 kB / 0.5912 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.4934, allocations: 54.25 kB / 0.5913 GB, free: 5.383 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4934, allocations: 0 / 0.5913 GB, free: 5.383 MB / 430.1 MB Notification: Performance of Templates: time 0.008608/0.502, allocations: 5.601 MB / 0.5967 GB, free: 2.539 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/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