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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001822/0.001822, allocations: 89.38 kB / 20.68 MB, free: 1.023 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.002236/0.002236, allocations: 162.2 kB / 23.95 MB, free: 4.145 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.565/1.565, allocations: 177 MB / 204.1 MB, free: 9.156 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.2367/0.2367, allocations: 34.27 MB / 294.8 MB, free: 14.52 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.625e-05/3.871e-05, allocations: 4.672 kB / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4921/0.4921, allocations: 131.4 MB / 0.5606 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.494, allocations: 0.9693 MB / 0.5615 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.4941, allocations: 0 / 0.5615 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.4944, allocations: 23.78 kB / 0.5615 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.4955, allocations: 289 kB / 0.5618 GB, free: 1.164 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.496, allocations: 121.3 kB / 0.5619 GB, free: 1.051 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.4964, allocations: 187.1 kB / 0.5621 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.446e-05/0.4964, allocations: 4 kB / 0.5621 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.4968, allocations: 127.6 kB / 0.5622 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.4969, allocations: 43.88 kB / 0.5623 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.497, allocations: 4 kB / 0.5623 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007062/0.4977, allocations: 267.5 kB / 0.5625 GB, free: 440 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.4978, allocations: 15.92 kB / 0.5625 GB, free: 424 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.4979, allocations: 43.91 kB / 0.5626 GB, free: 380 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007471/0.4986, allocations: 315.3 kB / 0.5629 GB, free: 64 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4986, allocations: 0 / 0.5629 GB, free: 64 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4986, allocations: 1.031 kB / 0.5629 GB, free: 64 kB / 462.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.4986, allocations: 0 / 0.5629 GB, free: 64 kB / 462.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.0007574/0.4994, allocations: 341.9 kB / 0.5632 GB, free: 15.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.4994, allocations: 12.02 kB / 0.5632 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.5019, allocations: 208.6 kB / 0.5634 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.5023, allocations: 141.7 kB / 0.5636 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.5024, allocations: 8.562 kB / 0.5636 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.5024, allocations: 19.89 kB / 0.5636 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.5031, allocations: 293.2 kB / 0.5639 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5031, allocations: 0 / 0.5639 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.5032, allocations: 8 kB / 0.5639 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5032, allocations: 6.062 kB / 0.5639 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.5037, allocations: 167.8 kB / 0.564 GB, free: 14.79 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.001216/0.5049, allocations: 0.5062 MB / 0.5645 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.5053, allocations: 134.5 kB / 0.5647 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.5055, allocations: 66.39 kB / 0.5647 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.5055, allocations: 4 kB / 0.5647 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.5055, allocations: 38.56 kB / 0.5648 GB, free: 13.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.5055, allocations: 0 / 0.5648 GB, free: 13.99 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.006143/0.5117, allocations: 1.158 MB / 0.5659 GB, free: 12.78 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.5117, allocations: 51.41 kB / 0.5659 GB, free: 12.72 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.5119, allocations: 109.8 kB / 0.566 GB, free: 12.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.5119, allocations: 33.7 kB / 0.5661 GB, free: 12.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.512, allocations: 104 kB / 0.5662 GB, free: 12.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/0.5121, allocations: 63.44 kB / 0.5662 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.5122, allocations: 57.62 kB / 0.5663 GB, free: 12.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.5124, allocations: 322.8 kB / 0.5666 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.5126, allocations: 71.91 kB / 0.5667 GB, free: 11.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.5128, allocations: 99.39 kB / 0.5668 GB, free: 11.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.5132, allocations: 198.2 kB / 0.567 GB, free: 11.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.5133, allocations: 0 / 0.567 GB, free: 11.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006094/0.5139, allocations: 254.3 kB / 0.5672 GB, free: 11.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5139, allocations: 8 kB / 0.5672 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.5139, allocations: 0 / 0.5672 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.5141, allocations: 48.83 kB / 0.5673 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.5145, allocations: 59.89 kB / 0.5673 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006054/0.5151, allocations: 0.5603 MB / 0.5679 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.5153, allocations: 7.984 kB / 0.5679 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.5154, allocations: 31.88 kB / 0.5679 GB, free: 10.62 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.0001838/0.5156, allocations: 117.8 kB / 0.568 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.5156, allocations: 15.94 kB / 0.568 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009007/0.5165, allocations: 340.9 kB / 0.5683 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.5165, allocations: 4 kB / 0.5684 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5165, allocations: 0 / 0.5684 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5165, allocations: 4 kB / 0.5684 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5177, allocations: 0.5475 MB / 0.5689 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.5177, allocations: 5.062 kB / 0.5689 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.5181, allocations: 63.89 kB / 0.569 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.845e-05/0.5182, allocations: 20.78 kB / 0.569 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.5182, allocations: 15.98 kB / 0.569 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.5195, allocations: 1.236 MB / 0.5702 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.5195, allocations: 7.969 kB / 0.5702 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.5203, allocations: 425.1 kB / 0.5706 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.5204, allocations: 15.94 kB / 0.5706 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.5204, allocations: 4.219 kB / 0.5706 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.5207, allocations: 12 kB / 0.5706 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.5207, allocations: 31.84 kB / 0.5707 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.5208, allocations: 27.98 kB / 0.5707 GB, free: 7.562 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.525e-05/0.5209, allocations: 87.58 kB / 0.5708 GB, free: 7.477 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5209, allocations: 0 / 0.5708 GB, free: 7.477 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005007/0.5214, allocations: 79.94 kB / 0.5709 GB, free: 7.398 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 (21): * Single equations (assignments): 20 * 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.0005126/0.5219, allocations: 155 kB / 0.571 GB, free: 7.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006225/0.5225, allocations: 200.2 kB / 0.5712 GB, free: 7.039 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.5225, allocations: 0 / 0.5712 GB, free: 7.039 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.523, allocations: 214.8 kB / 0.5714 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.5235, allocations: 55.61 kB / 0.5715 GB, free: 6.766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.5245, allocations: 416.5 kB / 0.5719 GB, free: 6.324 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.5246, allocations: 97.94 kB / 0.5719 GB, free: 6.215 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003465/0.525, allocations: 81.45 kB / 0.572 GB, free: 6.137 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.5252, allocations: 52.47 kB / 0.5721 GB, free: 6.086 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5252, allocations: 4 kB / 0.5721 GB, free: 6.082 MB / 478.1 MB Notification: Performance of Templates: time 0.01299/0.5382, allocations: 5.553 MB / 0.5775 GB, free: 0.5703 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.574650030583143]