Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.001249, allocations: 98.2 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 45.91 MB / 344 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002863, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1293, allocations: 63.46 MB / 481.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4289/0.5583, allocations: 125.6 MB / 0.5928 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.5595, allocations: 0.8108 MB / 0.5935 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.5596, allocations: 4 kB / 0.5936 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.5599, allocations: 23.88 kB / 0.5936 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005825/0.5605, allocations: 212.9 kB / 0.5938 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.5608, allocations: 107.2 kB / 0.5939 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.561, allocations: 103.8 kB / 0.594 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.5611, allocations: 4 kB / 0.594 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.5613, allocations: 83.73 kB / 0.5941 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.5614, allocations: 43.86 kB / 0.5941 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.5615, allocations: 4 kB / 0.5941 GB, free: 6.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006095/0.5621, allocations: 295.6 kB / 0.5944 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.5621, allocations: 19.97 kB / 0.5944 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.5622, allocations: 37.64 kB / 0.5944 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.5625, allocations: 197.5 kB / 0.5946 GB, free: 5.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5625, allocations: 0 / 0.5946 GB, free: 5.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5626, allocations: 0 / 0.5946 GB, free: 5.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.5626, allocations: 0 / 0.5946 GB, free: 5.984 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.0005614/0.5631, allocations: 391.7 kB / 0.595 GB, free: 5.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.5632, allocations: 12.03 kB / 0.595 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.5653, allocations: 191.6 kB / 0.5952 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.5655, allocations: 203.8 kB / 0.5954 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.5656, allocations: 8 kB / 0.5954 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.5656, allocations: 11.94 kB / 0.5954 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.5661, allocations: 226.6 kB / 0.5956 GB, free: 4.863 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5662, allocations: 3.984 kB / 0.5956 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.5662, allocations: 4 kB / 0.5956 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5662, allocations: 0 / 0.5956 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.5666, allocations: 179.7 kB / 0.5958 GB, free: 4.68 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.001013/0.5676, allocations: 0.5727 MB / 0.5964 GB, free: 4.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.568, allocations: 138.5 kB / 0.5965 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.568, allocations: 0 / 0.5965 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.568, allocations: 44.5 kB / 0.5965 GB, free: 3.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.568, allocations: 0 / 0.5965 GB, free: 3.852 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.005155/0.5732, allocations: 1.302 MB / 0.5978 GB, free: 2.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.5733, allocations: 51.41 kB / 0.5979 GB, free: 2.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.5734, allocations: 125.7 kB / 0.598 GB, free: 2.266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.5734, allocations: 29.7 kB / 0.598 GB, free: 2.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.5735, allocations: 95.98 kB / 0.5981 GB, free: 2.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.5735, allocations: 67 kB / 0.5982 GB, free: 2.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.5736, allocations: 4 kB / 0.5982 GB, free: 2.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5737, allocations: 326.8 kB / 0.5985 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.5739, allocations: 75.75 kB / 0.5986 GB, free: 1.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.574, allocations: 103.6 kB / 0.5987 GB, free: 1.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.5742, allocations: 80.86 kB / 0.5987 GB, free: 1.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5742, allocations: 0 / 0.5987 GB, free: 1.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004649/0.5747, allocations: 259.4 kB / 0.599 GB, free: 1.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5747, allocations: 8.094 kB / 0.599 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5747, allocations: 4 kB / 0.599 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.5749, allocations: 48.83 kB / 0.599 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.5753, allocations: 51.91 kB / 0.5991 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004011/0.5757, allocations: 0.568 MB / 0.5996 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.5758, allocations: 4.094 kB / 0.5996 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.5759, allocations: 31.98 kB / 0.5997 GB, free: 476 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.5761, allocations: 125.7 kB / 0.5998 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.5761, allocations: 15.81 kB / 0.5998 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007981/0.5769, allocations: 342.6 kB / 0.6001 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.577, allocations: 7.922 kB / 0.6001 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.577, allocations: 8 kB / 0.6002 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.577, allocations: 0 / 0.6002 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.578, allocations: 0.6175 MB / 0.6008 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.578, allocations: 7.984 kB / 0.6008 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.5784, allocations: 56.06 kB / 0.6008 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.39e-05/0.5784, allocations: 28.77 kB / 0.6008 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.5785, allocations: 12 kB / 0.6009 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009875/0.5795, allocations: 1.277 MB / 0.6021 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5795, allocations: 0 / 0.6021 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/0.5802, allocations: 464 kB / 0.6025 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.5802, allocations: 88.95 kB / 0.6026 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5803, allocations: 15.92 kB / 0.6026 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.5805, allocations: 8 kB / 0.6027 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.5806, allocations: 19.97 kB / 0.6027 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.5806, allocations: 36.05 kB / 0.6027 GB, free: 13.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.534e-05/0.5807, allocations: 83.28 kB / 0.6028 GB, free: 13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5807, allocations: 3.938 kB / 0.6028 GB, free: 13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.5811, allocations: 79.98 kB / 0.6029 GB, free: 12.92 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003793/0.5815, allocations: 151.1 kB / 0.603 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004748/0.582, allocations: 199.8 kB / 0.6032 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.582, allocations: 0 / 0.6032 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.5824, allocations: 218.9 kB / 0.6034 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.5827, allocations: 46.25 kB / 0.6035 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.5836, allocations: 0.5624 MB / 0.604 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.584, allocations: 0.7049 MB / 0.6047 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004468/0.5845, allocations: 85.92 kB / 0.6048 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.5847, allocations: 51.41 kB / 0.6048 GB, free: 10.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.766e-06/0.5847, allocations: 0 / 0.6048 GB, free: 10.84 MB / 446.1 MB Notification: Performance of Templates: time 0.01003/0.5947, allocations: 5.406 MB / 0.6101 GB, free: 5.438 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches