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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 82.69 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001674/0.001674, allocations: 157.4 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.094e-05/4.372e-05, allocations: 4.531 kB / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5012/0.5012, allocations: 131.6 MB / 0.5607 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.5036, allocations: 1.431 MB / 0.5621 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.5037, allocations: 3.938 kB / 0.5621 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.5041, allocations: 46.41 kB / 0.5622 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.5052, allocations: 424.7 kB / 0.5626 GB, free: 336 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.5058, allocations: 175.6 kB / 0.5627 GB, free: 164 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.5061, allocations: 191.1 kB / 0.5629 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.5061, allocations: 4 kB / 0.5629 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.5063, allocations: 111.6 kB / 0.563 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.5065, allocations: 51.86 kB / 0.5631 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.5065, allocations: 8 kB / 0.5631 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.5077, allocations: 0.5492 MB / 0.5636 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.5078, allocations: 31.89 kB / 0.5637 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.5078, allocations: 35.92 kB / 0.5637 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.5086, allocations: 442.9 kB / 0.5641 GB, free: 14.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5086, allocations: 0 / 0.5641 GB, free: 14.75 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5087, allocations: 0 / 0.5641 GB, free: 14.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.5087, allocations: 0 / 0.5641 GB, free: 14.75 MB / 478.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.0007238/0.5094, allocations: 369.7 kB / 0.5645 GB, free: 14.36 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5094, allocations: 8.031 kB / 0.5645 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.5119, allocations: 204.6 kB / 0.5647 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.5122, allocations: 153.6 kB / 0.5648 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5122, allocations: 8.75 kB / 0.5648 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.5123, allocations: 15.89 kB / 0.5648 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.5129, allocations: 278.6 kB / 0.5651 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5129, allocations: 0 / 0.5651 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.513, allocations: 8 kB / 0.5651 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.513, allocations: 0 / 0.5651 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000665/0.5136, allocations: 239 kB / 0.5653 GB, free: 13.42 MB / 478.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.001961/0.5156, allocations: 0.5496 MB / 0.5659 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.5161, allocations: 182.5 kB / 0.5661 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.5163, allocations: 92.81 kB / 0.5661 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.5165, allocations: 15.98 kB / 0.5662 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.5165, allocations: 34.56 kB / 0.5662 GB, free: 12.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.5165, allocations: 0 / 0.5662 GB, free: 12.5 MB / 478.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.006602/0.5231, allocations: 1.374 MB / 0.5675 GB, free: 11.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.5232, allocations: 55.41 kB / 0.5676 GB, free: 10.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.5233, allocations: 129.7 kB / 0.5677 GB, free: 10.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.5233, allocations: 29.7 kB / 0.5677 GB, free: 10.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.5234, allocations: 104.3 kB / 0.5678 GB, free: 10.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.5235, allocations: 63.44 kB / 0.5679 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.5236, allocations: 49.69 kB / 0.568 GB, free: 10.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5238, allocations: 318.8 kB / 0.5683 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.524, allocations: 87.95 kB / 0.5683 GB, free: 10.19 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.5243, allocations: 124.2 kB / 0.5685 GB, free: 10.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.5249, allocations: 227.3 kB / 0.5687 GB, free: 9.824 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5249, allocations: 0 / 0.5687 GB, free: 9.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007656/0.5256, allocations: 289 kB / 0.5689 GB, free: 9.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5257, allocations: 4 kB / 0.569 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5257, allocations: 0 / 0.569 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.5258, allocations: 32.88 kB / 0.569 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.5263, allocations: 59.89 kB / 0.569 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005765/0.5269, allocations: 0.5289 MB / 0.5696 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.5272, allocations: 16.89 kB / 0.5696 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.5272, allocations: 4 kB / 0.5696 GB, free: 8.863 MB / 478.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.0001661/0.5274, allocations: 129.8 kB / 0.5697 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.5275, allocations: 8.047 kB / 0.5697 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.5284, allocations: 322.3 kB / 0.57 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5284, allocations: 0 / 0.57 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5284, allocations: 0 / 0.57 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.5284, allocations: 4 kB / 0.57 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.5296, allocations: 0.5869 MB / 0.5706 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5296, allocations: 3.938 kB / 0.5706 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.5301, allocations: 47.95 kB / 0.5706 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.379e-05/0.5302, allocations: 24.78 kB / 0.5707 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.5302, allocations: 11.92 kB / 0.5707 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.5314, allocations: 1.237 MB / 0.5719 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5314, allocations: 4.031 kB / 0.5719 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5325, allocations: 446.6 kB / 0.5723 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.5326, allocations: 16.19 kB / 0.5723 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.5326, allocations: 8 kB / 0.5723 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.533, allocations: 7.938 kB / 0.5723 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.533, allocations: 23.91 kB / 0.5724 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.5331, allocations: 7.984 kB / 0.5724 GB, free: 5.793 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.873e-05/0.5331, allocations: 91.27 kB / 0.5725 GB, free: 5.703 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5331, allocations: 0 / 0.5725 GB, free: 5.703 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006042/0.5338, allocations: 135.6 kB / 0.5726 GB, free: 5.57 MB / 478.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.0008243/0.5346, allocations: 274.4 kB / 0.5729 GB, free: 5.297 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006878/0.5353, allocations: 223.9 kB / 0.5731 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5353, allocations: 0 / 0.5731 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.5357, allocations: 226.6 kB / 0.5733 GB, free: 4.844 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.5362, allocations: 52.61 kB / 0.5733 GB, free: 4.793 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/0.5372, allocations: 400.3 kB / 0.5737 GB, free: 4.371 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.5373, allocations: 93.95 kB / 0.5738 GB, free: 4.262 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.5376, allocations: 57.38 kB / 0.5739 GB, free: 4.207 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.5377, allocations: 20.5 kB / 0.5739 GB, free: 4.188 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5377, allocations: 3.938 kB / 0.5739 GB, free: 4.184 MB / 478.1 MB Notification: Performance of Templates: time 0.0127/0.5504, allocations: 6.317 MB / 0.5801 GB, free: 13.89 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.585290532559156]