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.00145/0.00145, allocations: 101.8 kB / 16.26 MB, free: 5.93 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.001453/0.001453, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.617/1.617, 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.2516/0.2516, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.001513/0.001514, allocations: 66.39 kB / 382.7 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1349, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4383/0.5732, allocations: 150.6 MB / 0.5772 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.5747, allocations: 0.9717 MB / 0.5782 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.5748, allocations: 0 / 0.5782 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.5751, allocations: 34.94 kB / 0.5782 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008509/0.5761, allocations: 250.8 kB / 0.5785 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.5765, allocations: 111.5 kB / 0.5786 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.5768, allocations: 163 kB / 0.5787 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.5768, allocations: 10.75 kB / 0.5787 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.5771, allocations: 86.78 kB / 0.5788 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.5772, allocations: 49.88 kB / 0.5789 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.5772, allocations: 5.344 kB / 0.5789 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.5779, allocations: 266.2 kB / 0.5791 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.5779, allocations: 26.06 kB / 0.5791 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.578, allocations: 47.62 kB / 0.5792 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.5786, allocations: 272.7 kB / 0.5795 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5786, allocations: 0 / 0.5795 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5786, allocations: 1.953 kB / 0.5795 GB, free: 12.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.5786, allocations: 0 / 0.5795 GB, free: 12.24 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.000607/0.5792, allocations: 411.7 kB / 0.5798 GB, free: 11.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5793, allocations: 11.55 kB / 0.5799 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.5815, allocations: 190.6 kB / 0.58 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.5818, allocations: 208.5 kB / 0.5802 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.5818, allocations: 6.531 kB / 0.5802 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.5819, allocations: 8.594 kB / 0.5803 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.5824, allocations: 235.1 kB / 0.5805 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5824, allocations: 2.312 kB / 0.5805 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.5824, allocations: 0 / 0.5805 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5824, allocations: 3.812 kB / 0.5805 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.5829, allocations: 172.5 kB / 0.5806 GB, free: 11.57 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.001131/0.584, allocations: 0.5748 MB / 0.5812 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.5843, allocations: 138.5 kB / 0.5813 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.5845, allocations: 67.77 kB / 0.5814 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5845, allocations: 2.031 kB / 0.5814 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.5846, allocations: 43.86 kB / 0.5814 GB, free: 11.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5846, allocations: 0 / 0.5814 GB, free: 11.04 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.005638/0.5902, allocations: 1.31 MB / 0.5827 GB, free: 10.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.5903, allocations: 54.34 kB / 0.5828 GB, free: 10.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.5904, allocations: 107.6 kB / 0.5829 GB, free: 10.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.5904, allocations: 31.58 kB / 0.5829 GB, free: 10.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.5905, allocations: 92.22 kB / 0.583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.5906, allocations: 73.91 kB / 0.5831 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/0.5907, allocations: 53.91 kB / 0.5831 GB, free: 10.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5908, allocations: 323.3 kB / 0.5834 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.591, allocations: 67.36 kB / 0.5835 GB, free: 9.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.5912, allocations: 115.5 kB / 0.5836 GB, free: 9.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.5915, allocations: 183.4 kB / 0.5838 GB, free: 9.781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5915, allocations: 3.938 kB / 0.5838 GB, free: 9.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004975/0.592, allocations: 262.5 kB / 0.584 GB, free: 9.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5921, allocations: 4.812 kB / 0.584 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5921, allocations: 2.031 kB / 0.584 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.5923, allocations: 46.64 kB / 0.5841 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.5926, allocations: 63.61 kB / 0.5841 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004669/0.5931, allocations: 0.5669 MB / 0.5847 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.5933, allocations: 3.984 kB / 0.5847 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.5933, allocations: 25.47 kB / 0.5847 GB, free: 9.129 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.0001303/0.5935, allocations: 129.9 kB / 0.5849 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.5935, allocations: 19.11 kB / 0.5849 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008152/0.5944, allocations: 334.9 kB / 0.5852 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5944, allocations: 6.406 kB / 0.5852 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.5944, allocations: 2.438 kB / 0.5852 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5944, allocations: 0 / 0.5852 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009982/0.5954, allocations: 0.6283 MB / 0.5858 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.5954, allocations: 2.094 kB / 0.5858 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.5958, allocations: 61.11 kB / 0.5859 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.542e-05/0.5959, allocations: 21.03 kB / 0.5859 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.5959, allocations: 20.83 kB / 0.5859 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009502/0.5969, allocations: 1.364 MB / 0.5872 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5969, allocations: 7.922 kB / 0.5873 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.5976, allocations: 429.9 kB / 0.5877 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.5977, allocations: 91.81 kB / 0.5877 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.5977, allocations: 5.469 kB / 0.5878 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.5979, allocations: 10.02 kB / 0.5878 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.598, allocations: 20.23 kB / 0.5878 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.598, allocations: 30.42 kB / 0.5878 GB, free: 6.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.247e-05/0.5981, allocations: 90.39 kB / 0.5879 GB, free: 6.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5981, allocations: 0 / 0.5879 GB, free: 6.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.5986, allocations: 83.62 kB / 0.588 GB, free: 6.613 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.0003857/0.5989, allocations: 145.8 kB / 0.5881 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.5995, allocations: 217.5 kB / 0.5883 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5995, allocations: 0 / 0.5883 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.5999, allocations: 221.3 kB / 0.5885 GB, free: 6.332 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.6003, allocations: 50.14 kB / 0.5886 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.6012, allocations: 481.8 kB / 0.589 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.6015, allocations: 0.7059 MB / 0.5897 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.6019, allocations: 80.89 kB / 0.5898 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.6021, allocations: 54.81 kB / 0.5899 GB, free: 5.211 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.6021, allocations: 0 / 0.5899 GB, free: 5.211 MB / 430.1 MB Notification: Performance of Templates: time 0.01062/0.6127, allocations: 5.596 MB / 0.5953 GB, free: 2.371 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/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