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.001436/0.001436, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001564/0.001564, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.578/1.578, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.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.2596/0.2596, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002381/0.002381, allocations: 87.81 kB / 0.4966 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.335, allocations: 66.09 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.182/0.517, allocations: 131.5 MB / 0.6896 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.5193, allocations: 1.445 MB / 0.691 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.5194, allocations: 0 / 0.691 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.5198, allocations: 43.75 kB / 0.691 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.5211, allocations: 410.1 kB / 0.6914 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.5216, allocations: 178.5 kB / 0.6916 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.522, allocations: 187.2 kB / 0.6918 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.522, allocations: 8 kB / 0.6918 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.5222, allocations: 83.69 kB / 0.6919 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.5224, allocations: 59.73 kB / 0.6919 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.5224, allocations: 8 kB / 0.6919 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.5236, allocations: 0.5455 MB / 0.6925 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.5237, allocations: 27.91 kB / 0.6925 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.5238, allocations: 43.84 kB / 0.6925 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.5248, allocations: 397.6 kB / 0.6929 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5248, allocations: 0 / 0.6929 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5248, allocations: 0 / 0.6929 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.5248, allocations: 8 kB / 0.6929 GB, free: 12.54 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.0007112/0.5255, allocations: 357.8 kB / 0.6933 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5255, allocations: 12.03 kB / 0.6933 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.5279, allocations: 196.6 kB / 0.6935 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.5282, allocations: 158 kB / 0.6936 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.5282, allocations: 8 kB / 0.6936 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.5283, allocations: 12 kB / 0.6936 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.5288, allocations: 270.6 kB / 0.6939 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5288, allocations: 7.922 kB / 0.6939 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.5289, allocations: 8 kB / 0.6939 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.5289, allocations: 3.938 kB / 0.6939 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.5295, allocations: 235.7 kB / 0.6941 GB, free: 11.22 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.001809/0.5313, allocations: 0.54 MB / 0.6947 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.5317, allocations: 178.5 kB / 0.6948 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.532, allocations: 92.81 kB / 0.6949 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.5321, allocations: 19.92 kB / 0.6949 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.5321, allocations: 34.56 kB / 0.695 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.5321, allocations: 0 / 0.695 GB, free: 10.31 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.00621/0.5383, allocations: 1.389 MB / 0.6963 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.5384, allocations: 59.41 kB / 0.6964 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.5385, allocations: 113.8 kB / 0.6965 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.5385, allocations: 29.7 kB / 0.6965 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.5386, allocations: 104.3 kB / 0.6966 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.5387, allocations: 67.44 kB / 0.6967 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.5388, allocations: 49.64 kB / 0.6967 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5389, allocations: 314.8 kB / 0.697 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.5391, allocations: 95.89 kB / 0.6971 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.5394, allocations: 119.4 kB / 0.6972 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.5399, allocations: 234.6 kB / 0.6975 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5399, allocations: 0 / 0.6975 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006496/0.5405, allocations: 282.2 kB / 0.6977 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5405, allocations: 4 kB / 0.6977 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5405, allocations: 4.406 kB / 0.6977 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.5407, allocations: 24.84 kB / 0.6978 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.5412, allocations: 55.95 kB / 0.6978 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004804/0.5416, allocations: 0.5289 MB / 0.6983 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.542, allocations: 16.02 kB / 0.6983 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.542, allocations: 11.92 kB / 0.6984 GB, free: 6.656 MB / 0.5294 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.0001699/0.5422, allocations: 137.9 kB / 0.6985 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.5422, allocations: 11.89 kB / 0.6985 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/0.543, allocations: 303.1 kB / 0.6988 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.543, allocations: 3.938 kB / 0.6988 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.543, allocations: 8 kB / 0.6988 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.543, allocations: 4 kB / 0.6988 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5442, allocations: 0.5817 MB / 0.6994 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.5442, allocations: 0 / 0.6994 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.5446, allocations: 51.89 kB / 0.6994 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.313e-05/0.5447, allocations: 28.94 kB / 0.6995 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.5447, allocations: 7.984 kB / 0.6995 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.5458, allocations: 1.233 MB / 0.7007 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5458, allocations: 7.969 kB / 0.7007 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.5467, allocations: 450.8 kB / 0.7011 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.5467, allocations: 11.97 kB / 0.7011 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.5467, allocations: 11.94 kB / 0.7011 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.5471, allocations: 8 kB / 0.7011 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.5471, allocations: 15.97 kB / 0.7011 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.5471, allocations: 7.984 kB / 0.7012 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.5472, allocations: 95.2 kB / 0.7012 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5472, allocations: 0 / 0.7012 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005683/0.5478, allocations: 131.7 kB / 0.7014 GB, free: 3.367 MB / 0.5294 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.0007508/0.5485, allocations: 266.7 kB / 0.7016 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006658/0.5492, allocations: 233.9 kB / 0.7018 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.5492, allocations: 0 / 0.7018 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.5496, allocations: 232.4 kB / 0.7021 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.5501, allocations: 60.42 kB / 0.7021 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.5511, allocations: 472.5 kB / 0.7026 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.5512, allocations: 89.97 kB / 0.7027 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000302/0.5515, allocations: 53.39 kB / 0.7027 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.5516, allocations: 27.42 kB / 0.7027 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.5516, allocations: 0 / 0.7027 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of Templates: time 0.01265/0.5643, allocations: 6.448 MB / 0.709 GB, free: 11.46 MB / 0.545 GB " [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.701886717230082]