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.001138/0.001138, allocations: 96.14 kB / 15.87 MB, free: 16 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.001695/0.001695, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.725/1.725, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.3965/0.3965, allocations: 43.49 MB / 313.5 MB, free: 8.266 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.001416/0.001416, allocations: 63.91 kB / 382 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1529, allocations: 57.79 MB / 439.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4439/0.5968, allocations: 148.6 MB / 0.5747 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.5991, allocations: 1.527 MB / 0.5761 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.5992, allocations: 7.938 kB / 0.5762 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.5998, allocations: 51.78 kB / 0.5762 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.6009, allocations: 349.6 kB / 0.5765 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.6014, allocations: 149.8 kB / 0.5767 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.6018, allocations: 243.2 kB / 0.5769 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.6018, allocations: 8.766 kB / 0.5769 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.602, allocations: 79.69 kB / 0.577 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.6022, allocations: 63.77 kB / 0.5771 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.6022, allocations: 4 kB / 0.5771 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.6035, allocations: 0.675 MB / 0.5777 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.667e-05/0.6036, allocations: 23.91 kB / 0.5777 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.6037, allocations: 51.78 kB / 0.5778 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.6045, allocations: 426.9 kB / 0.5782 GB, free: 3.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6045, allocations: 3.938 kB / 0.5782 GB, free: 3.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.6045, allocations: 0 / 0.5782 GB, free: 3.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.6045, allocations: 4 kB / 0.5782 GB, free: 3.816 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.0006676/0.6052, allocations: 433.7 kB / 0.5786 GB, free: 3.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6052, allocations: 8.031 kB / 0.5786 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.6076, allocations: 195.1 kB / 0.5788 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.608, allocations: 212.1 kB / 0.579 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.608, allocations: 12.31 kB / 0.579 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.6081, allocations: 8 kB / 0.579 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.6086, allocations: 205.3 kB / 0.5792 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6086, allocations: 0 / 0.5792 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.6087, allocations: 0 / 0.5792 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.6087, allocations: 4 kB / 0.5792 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.6093, allocations: 247.8 kB / 0.5795 GB, free: 2.441 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.001912/0.6112, allocations: 0.6624 MB / 0.5801 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.6117, allocations: 190.5 kB / 0.5803 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.612, allocations: 92.81 kB / 0.5804 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.6122, allocations: 93.09 kB / 0.5805 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.6122, allocations: 34.56 kB / 0.5805 GB, free: 1.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.6123, allocations: 0 / 0.5805 GB, free: 1.309 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.005895/0.6182, allocations: 1.53 MB / 0.582 GB, free: 15.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.6182, allocations: 51.41 kB / 0.5821 GB, free: 15.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.6183, allocations: 109.8 kB / 0.5822 GB, free: 15.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.6184, allocations: 29.7 kB / 0.5822 GB, free: 15.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.6184, allocations: 108.2 kB / 0.5823 GB, free: 15.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.6185, allocations: 70.98 kB / 0.5824 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/0.6186, allocations: 41.7 kB / 0.5824 GB, free: 15.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6188, allocations: 322.8 kB / 0.5827 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.619, allocations: 91.95 kB / 0.5828 GB, free: 14.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.6193, allocations: 128.6 kB / 0.5829 GB, free: 14.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.6198, allocations: 215.3 kB / 0.5831 GB, free: 14.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6198, allocations: 3.125 kB / 0.5831 GB, free: 14.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006411/0.6204, allocations: 286.2 kB / 0.5834 GB, free: 14.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6205, allocations: 11.94 kB / 0.5834 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.6205, allocations: 0 / 0.5834 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.6206, allocations: 28.78 kB / 0.5834 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.6211, allocations: 51.95 kB / 0.5835 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00043/0.6215, allocations: 0.5439 MB / 0.584 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.6219, allocations: 15.88 kB / 0.584 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.6219, allocations: 15.92 kB / 0.584 GB, free: 13.48 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.0001692/0.6221, allocations: 125.7 kB / 0.5842 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.6222, allocations: 15.84 kB / 0.5842 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008204/0.623, allocations: 311.9 kB / 0.5845 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.623, allocations: 4 kB / 0.5845 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.623, allocations: 0 / 0.5845 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.623, allocations: 7.938 kB / 0.5845 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.6242, allocations: 0.677 MB / 0.5852 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6243, allocations: 0 / 0.5852 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.6247, allocations: 51.89 kB / 0.5852 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.85e-05/0.6248, allocations: 20.94 kB / 0.5852 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.6248, allocations: 8 kB / 0.5852 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008931/0.6257, allocations: 1.27 MB / 0.5865 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6258, allocations: 0 / 0.5865 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008577/0.6266, allocations: 455.2 kB / 0.5869 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.6267, allocations: 85.05 kB / 0.587 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.6267, allocations: 8 kB / 0.587 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.6271, allocations: 11.92 kB / 0.587 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.6272, allocations: 15.98 kB / 0.587 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.6272, allocations: 11.98 kB / 0.587 GB, free: 10.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.6273, allocations: 92.11 kB / 0.5871 GB, free: 10.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6273, allocations: 0 / 0.5871 GB, free: 10.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005739/0.6279, allocations: 127.9 kB / 0.5872 GB, free: 9.949 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.0007692/0.6286, allocations: 269.3 kB / 0.5875 GB, free: 9.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006412/0.6293, allocations: 234.1 kB / 0.5877 GB, free: 9.453 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6293, allocations: 0 / 0.5877 GB, free: 9.453 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.6297, allocations: 231.4 kB / 0.5879 GB, free: 9.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.6302, allocations: 57.23 kB / 0.588 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6312, allocations: 0.5 MB / 0.5885 GB, free: 8.629 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.6315, allocations: 0.7049 MB / 0.5892 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004286/0.632, allocations: 63.17 kB / 0.5892 GB, free: 7.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.6321, allocations: 19.42 kB / 0.5892 GB, free: 7.82 MB / 462.1 MB Notification: Performance of SimCode: time 3.376e-06/0.6321, allocations: 4 kB / 0.5893 GB, free: 7.816 MB / 462.1 MB Notification: Performance of Templates: time 0.01063/0.6427, allocations: 6.075 MB / 0.5952 GB, free: 1.762 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