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.001445/0.001445, allocations: 116.2 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 79.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2977, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1651/0.4628, allocations: 152.4 MB / 0.6805 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.4656, allocations: 1.596 MB / 0.6821 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.4657, allocations: 0 / 0.6821 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.4661, allocations: 51.72 kB / 0.6821 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.4673, allocations: 410.1 kB / 0.6825 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.468, allocations: 178.7 kB / 0.6827 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.4683, allocations: 183.2 kB / 0.6829 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.4684, allocations: 7.984 kB / 0.6829 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.4686, allocations: 75.7 kB / 0.683 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.4688, allocations: 67.73 kB / 0.683 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.4688, allocations: 4 kB / 0.683 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.47, allocations: 0.5963 MB / 0.6836 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.4701, allocations: 35.88 kB / 0.6836 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.4701, allocations: 47.8 kB / 0.6837 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007742/0.4709, allocations: 411.5 kB / 0.6841 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.471, allocations: 7.938 kB / 0.6841 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.471, allocations: 0 / 0.6841 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.471, allocations: 0 / 0.6841 GB, free: 5.062 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.0006188/0.4716, allocations: 430.9 kB / 0.6845 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4716, allocations: 12.03 kB / 0.6845 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.4739, allocations: 204.6 kB / 0.6847 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.4742, allocations: 207.8 kB / 0.6849 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.4742, allocations: 4 kB / 0.6849 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.4743, allocations: 12 kB / 0.6849 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.4747, allocations: 196.9 kB / 0.6851 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4748, allocations: 0 / 0.6851 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.4748, allocations: 4 kB / 0.6851 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4748, allocations: 7.938 kB / 0.6851 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000613/0.4754, allocations: 235.8 kB / 0.6853 GB, free: 3.688 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.001784/0.4772, allocations: 0.6629 MB / 0.686 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.4777, allocations: 190.5 kB / 0.6862 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.478, allocations: 92.81 kB / 0.6863 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.4781, allocations: 93.08 kB / 0.6863 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4782, allocations: 30.56 kB / 0.6864 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.913e-06/0.4782, allocations: 3.938 kB / 0.6864 GB, free: 2.527 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.00603/0.4842, allocations: 1.542 MB / 0.6879 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.4843, allocations: 63.34 kB / 0.6879 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.4844, allocations: 113.8 kB / 0.6881 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.4844, allocations: 29.7 kB / 0.6881 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.4845, allocations: 96.41 kB / 0.6882 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.4846, allocations: 75.36 kB / 0.6882 GB, free: 480 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/0.4847, allocations: 41.69 kB / 0.6883 GB, free: 432 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4848, allocations: 322.8 kB / 0.6886 GB, free: 100 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.485, allocations: 87.95 kB / 0.6887 GB, free: 12 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.4853, allocations: 126.6 kB / 0.6888 GB, free: 15.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.4858, allocations: 234.8 kB / 0.689 GB, free: 15.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4858, allocations: 0 / 0.689 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006517/0.4865, allocations: 278.3 kB / 0.6893 GB, free: 15.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4865, allocations: 4 kB / 0.6893 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.4865, allocations: 4 kB / 0.6893 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/0.4866, allocations: 24.78 kB / 0.6893 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.4871, allocations: 64.05 kB / 0.6894 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000368/0.4875, allocations: 0.5327 MB / 0.6899 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.4878, allocations: 15.97 kB / 0.6899 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.4879, allocations: 11.98 kB / 0.6899 GB, free: 14.68 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.0001338/0.488, allocations: 125.9 kB / 0.69 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.4881, allocations: 7.953 kB / 0.6901 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007616/0.4889, allocations: 311.1 kB / 0.6904 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.4889, allocations: 11.92 kB / 0.6904 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4889, allocations: 0 / 0.6904 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.4889, allocations: 96.95 kB / 0.6905 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.489, allocations: 0 / 0.6905 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.4893, allocations: 11.98 kB / 0.6905 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.4894, allocations: 11.98 kB / 0.6905 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001054/0.4904, allocations: 332.3 kB / 0.6908 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008286/0.4913, allocations: 450.5 kB / 0.6912 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002265/0.4915, allocations: 94.88 kB / 0.6913 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.79e-05/0.4916, allocations: 87.27 kB / 0.6914 GB, free: 13.1 MB / 0.545 GB Notification: Performance of Backend: time 5.11e-07/0.4916, allocations: 0 / 0.6914 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.4931, allocations: 433.5 kB / 0.6918 GB, free: 12.67 MB / 0.545 GB Notification: Performance of SimCode: time 0.00101/0.4941, allocations: 0.8604 MB / 0.6927 GB, free: 11.77 MB / 0.545 GB Notification: Performance of Templates: time 0.01255/0.5067, allocations: 7.898 MB / 0.7004 GB, free: 3.863 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