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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009641/0.0009644, allocations: 97.02 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 182.7 kB / 16.92 MB, free: 6.672 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.831/1.831, allocations: 205.4 MB / 223.1 MB, free: 5.504 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.415/0.415, allocations: 43.57 MB / 315 MB, free: 8.781 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.0005432/0.0005434, allocations: 20.47 kB / 384.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1581, allocations: 58.88 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4332/0.5913, allocations: 146.7 MB / 0.5763 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.5936, allocations: 1.517 MB / 0.5778 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.5938, allocations: 0 / 0.5778 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.5942, allocations: 47.78 kB / 0.5779 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.5953, allocations: 342 kB / 0.5782 GB, free: 6.848 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.5959, allocations: 163.8 kB / 0.5783 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.5963, allocations: 247.2 kB / 0.5786 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.5964, allocations: 8.906 kB / 0.5786 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.5966, allocations: 75.62 kB / 0.5787 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.5968, allocations: 55.83 kB / 0.5787 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.5968, allocations: 4 kB / 0.5787 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.5982, allocations: 0.6743 MB / 0.5794 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.5983, allocations: 35.89 kB / 0.5794 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.5984, allocations: 73.5 kB / 0.5795 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.5996, allocations: 434.8 kB / 0.5799 GB, free: 5.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5996, allocations: 0 / 0.5799 GB, free: 5.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5996, allocations: 0 / 0.5799 GB, free: 5.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.5996, allocations: 0 / 0.5799 GB, free: 5.098 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.0007684/0.6004, allocations: 407.1 kB / 0.5803 GB, free: 4.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.6004, allocations: 8.031 kB / 0.5803 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.6029, allocations: 195.1 kB / 0.5805 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.6032, allocations: 200.3 kB / 0.5807 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.6032, allocations: 16.25 kB / 0.5807 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.6033, allocations: 4.5 kB / 0.5807 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.6038, allocations: 205.5 kB / 0.5809 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.6038, allocations: 0 / 0.5809 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.6039, allocations: 4 kB / 0.5809 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.6039, allocations: 4 kB / 0.5809 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.6045, allocations: 243.8 kB / 0.5811 GB, free: 3.754 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.001917/0.6064, allocations: 0.6667 MB / 0.5818 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.6069, allocations: 198.4 kB / 0.582 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.6071, allocations: 96.8 kB / 0.582 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.6073, allocations: 89.09 kB / 0.5821 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.6073, allocations: 35.06 kB / 0.5822 GB, free: 2.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.6073, allocations: 0 / 0.5822 GB, free: 2.609 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.00619/0.6135, allocations: 1.535 MB / 0.5837 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6136, allocations: 51.41 kB / 0.5837 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.6137, allocations: 117.8 kB / 0.5838 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.6138, allocations: 29.7 kB / 0.5839 GB, free: 0.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.6139, allocations: 108.2 kB / 0.584 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.614, allocations: 63.02 kB / 0.584 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.614, allocations: 25.7 kB / 0.584 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6142, allocations: 322.8 kB / 0.5844 GB, free: 228 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.6144, allocations: 87.95 kB / 0.5844 GB, free: 140 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.6147, allocations: 126 kB / 0.5846 GB, free: 4 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.6152, allocations: 223.3 kB / 0.5848 GB, free: 15.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6153, allocations: 0 / 0.5848 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006735/0.6159, allocations: 286.2 kB / 0.585 GB, free: 15.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.616, allocations: 4 kB / 0.585 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.616, allocations: 3.938 kB / 0.585 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.6162, allocations: 24.84 kB / 0.5851 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.6167, allocations: 63.89 kB / 0.5851 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004825/0.6172, allocations: 0.5329 MB / 0.5857 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.6175, allocations: 15.97 kB / 0.5857 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.6175, allocations: 11.98 kB / 0.5857 GB, free: 14.8 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.0001594/0.6177, allocations: 125.9 kB / 0.5858 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.6178, allocations: 11.91 kB / 0.5858 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.6186, allocations: 318.9 kB / 0.5861 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6186, allocations: 4 kB / 0.5861 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.6187, allocations: 7.938 kB / 0.5861 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.6187, allocations: 0 / 0.5861 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.6199, allocations: 0.665 MB / 0.5868 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.6199, allocations: 8.078 kB / 0.5868 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.6204, allocations: 47.97 kB / 0.5868 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.033e-05/0.6204, allocations: 24.78 kB / 0.5869 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.6205, allocations: 11.98 kB / 0.5869 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.6216, allocations: 1.259 MB / 0.5881 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6216, allocations: 3.938 kB / 0.5881 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.6225, allocations: 455.2 kB / 0.5885 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.6226, allocations: 85.05 kB / 0.5886 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.6226, allocations: 4 kB / 0.5886 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.623, allocations: 19.92 kB / 0.5886 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.623, allocations: 19.98 kB / 0.5887 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.6231, allocations: 11.98 kB / 0.5887 GB, free: 11.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.934e-05/0.6231, allocations: 91.25 kB / 0.5888 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6231, allocations: 0 / 0.5888 GB, free: 11.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005718/0.6237, allocations: 131.9 kB / 0.5889 GB, free: 11.26 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.0007638/0.6245, allocations: 254.9 kB / 0.5891 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006607/0.6252, allocations: 230.3 kB / 0.5893 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6252, allocations: 4 kB / 0.5893 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.6256, allocations: 234 kB / 0.5896 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.6261, allocations: 52.08 kB / 0.5896 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.6271, allocations: 0.5869 MB / 0.5902 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.6275, allocations: 0.7088 MB / 0.5909 GB, free: 9.133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004415/0.6279, allocations: 49.94 kB / 0.5909 GB, free: 9.086 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.6281, allocations: 27.42 kB / 0.591 GB, free: 9.059 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.6281, allocations: 0 / 0.591 GB, free: 9.059 MB / 462.1 MB Notification: Performance of Templates: time 0.01226/0.6403, allocations: 6.055 MB / 0.5969 GB, free: 3.02 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/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