Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.001431, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 75.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4243, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1911/0.6155, allocations: 152.5 MB / 0.6805 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.6178, allocations: 1.596 MB / 0.6821 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.025e-05/0.6179, allocations: 0 / 0.6821 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.6183, allocations: 51.72 kB / 0.6821 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.6195, allocations: 402.1 kB / 0.6825 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.6201, allocations: 178.3 kB / 0.6827 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.6204, allocations: 183.2 kB / 0.6829 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.6204, allocations: 15.98 kB / 0.6829 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.6206, allocations: 79.69 kB / 0.6829 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.6208, allocations: 55.77 kB / 0.683 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.6208, allocations: 11.94 kB / 0.683 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.6221, allocations: 0.6003 MB / 0.6836 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.6221, allocations: 31.89 kB / 0.6836 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.6222, allocations: 51.73 kB / 0.6837 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007871/0.623, allocations: 400.8 kB / 0.6841 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.623, allocations: 0 / 0.6841 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.623, allocations: 3.938 kB / 0.6841 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6231, allocations: 4 kB / 0.6841 GB, free: 5.109 MB / 0.5294 GB 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.0006294/0.6237, allocations: 439.3 kB / 0.6845 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6237, allocations: 8.031 kB / 0.6845 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.6259, allocations: 200.6 kB / 0.6847 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.6262, allocations: 203.8 kB / 0.6849 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.6263, allocations: 8 kB / 0.6849 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.6263, allocations: 11.94 kB / 0.6849 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.6268, allocations: 201.5 kB / 0.6851 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6268, allocations: 0 / 0.6851 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.6269, allocations: 4 kB / 0.6851 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.6269, allocations: 7.938 kB / 0.6851 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.6275, allocations: 231.8 kB / 0.6853 GB, free: 3.73 MB / 0.5294 GB 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.001728/0.6292, allocations: 0.6629 MB / 0.686 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.6297, allocations: 190.4 kB / 0.6862 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.6299, allocations: 96.81 kB / 0.6862 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.63, allocations: 85.09 kB / 0.6863 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.6301, allocations: 34.56 kB / 0.6864 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.6301, allocations: 0 / 0.6864 GB, free: 2.574 MB / 0.5294 GB 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.005611/0.6357, allocations: 1.548 MB / 0.6879 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.6358, allocations: 55.41 kB / 0.6879 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.6359, allocations: 105.8 kB / 0.688 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.6359, allocations: 37.64 kB / 0.6881 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.636, allocations: 100.3 kB / 0.6882 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.6361, allocations: 67.08 kB / 0.6882 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.6362, allocations: 49.55 kB / 0.6883 GB, free: 480 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6363, allocations: 322.8 kB / 0.6886 GB, free: 148 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.6365, allocations: 87.95 kB / 0.6887 GB, free: 60 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.6368, allocations: 130.4 kB / 0.6888 GB, free: 15.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.6373, allocations: 224.4 kB / 0.689 GB, free: 15.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6373, allocations: 4 kB / 0.689 GB, free: 15.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006281/0.6379, allocations: 285.8 kB / 0.6893 GB, free: 15.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.638, allocations: 4 kB / 0.6893 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.638, allocations: 4 kB / 0.6893 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.6381, allocations: 20.84 kB / 0.6893 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.6386, allocations: 63.89 kB / 0.6894 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000378/0.639, allocations: 0.5291 MB / 0.6899 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.6392, allocations: 15.89 kB / 0.6899 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.6393, allocations: 15.94 kB / 0.6899 GB, free: 14.72 MB / 0.545 GB 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.0001367/0.6394, allocations: 121.8 kB / 0.69 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.6395, allocations: 11.89 kB / 0.69 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/0.6403, allocations: 315.1 kB / 0.6903 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6403, allocations: 0 / 0.6903 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6403, allocations: 0 / 0.6903 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6403, allocations: 3.984 kB / 0.6903 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.6415, allocations: 0.6816 MB / 0.691 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6415, allocations: 0 / 0.691 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.642, allocations: 47.95 kB / 0.6911 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.677e-05/0.6421, allocations: 28.88 kB / 0.6911 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.6421, allocations: 11.98 kB / 0.6911 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.6431, allocations: 1.36 MB / 0.6924 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6431, allocations: 7.969 kB / 0.6924 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000871/0.644, allocations: 449.2 kB / 0.6929 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.6441, allocations: 89.05 kB / 0.6929 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.6441, allocations: 4 kB / 0.6929 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.6444, allocations: 11.98 kB / 0.693 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.6445, allocations: 19.98 kB / 0.693 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.6445, allocations: 19.98 kB / 0.693 GB, free: 11.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.6446, allocations: 91.58 kB / 0.6931 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6446, allocations: 3.938 kB / 0.6931 GB, free: 11.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005573/0.6452, allocations: 135.9 kB / 0.6932 GB, free: 11.05 MB / 0.545 GB 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.0007044/0.6459, allocations: 258.9 kB / 0.6935 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006384/0.6465, allocations: 235.7 kB / 0.6937 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6465, allocations: 192 / 0.6937 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.647, allocations: 230.6 kB / 0.6939 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.6474, allocations: 46.28 kB / 0.6939 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.6484, allocations: 0.4954 MB / 0.6944 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.6487, allocations: 0.7046 MB / 0.6951 GB, free: 9.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.6488, allocations: 27.42 kB / 0.6951 GB, free: 8.992 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.6488, allocations: 0 / 0.6951 GB, free: 8.992 MB / 0.545 GB Notification: Performance of Templates: time 0.008893/0.6577, allocations: 5.194 MB / 0.7002 GB, free: 3.789 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches