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.001374/0.001374, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.008151/0.008151, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.9364/0.9364, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2435/0.2435, allocations: 34.25 MB / 295.6 MB, free: 0.6641 MB / 266.7 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 1.393e-06/1.393e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.03e-05, allocations: 2.281 kB / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3245/0.3245, allocations: 131.4 MB / 0.5613 GB, free: 12.82 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009632/0.3254, allocations: 0.946 MB / 0.5622 GB, free: 11.87 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.3255, allocations: 11.94 kB / 0.5622 GB, free: 11.86 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.3258, allocations: 27.78 kB / 0.5623 GB, free: 11.83 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.3265, allocations: 274.3 kB / 0.5625 GB, free: 11.56 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.3268, allocations: 127.6 kB / 0.5627 GB, free: 11.44 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.3271, allocations: 183.1 kB / 0.5628 GB, free: 11.26 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.3271, allocations: 4 kB / 0.5628 GB, free: 11.25 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.3274, allocations: 123.6 kB / 0.563 GB, free: 11.13 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.3274, allocations: 47.88 kB / 0.563 GB, free: 11.09 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3275, allocations: 4 kB / 0.563 GB, free: 11.08 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.3279, allocations: 259.5 kB / 0.5633 GB, free: 10.83 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.3279, allocations: 27.91 kB / 0.5633 GB, free: 10.8 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.328, allocations: 31.92 kB / 0.5633 GB, free: 10.77 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.3284, allocations: 323.3 kB / 0.5636 GB, free: 10.45 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3284, allocations: 3.938 kB / 0.5636 GB, free: 10.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3284, allocations: 0 / 0.5636 GB, free: 10.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3284, allocations: 0 / 0.5636 GB, free: 10.45 MB / 474.7 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.0004598/0.3289, allocations: 334.5 kB / 0.5639 GB, free: 10.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3289, allocations: 8.031 kB / 0.5639 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.33, allocations: 215.8 kB / 0.5642 GB, free: 9.883 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.3303, allocations: 145.7 kB / 0.5643 GB, free: 9.715 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3303, allocations: 8.125 kB / 0.5643 GB, free: 9.707 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.3304, allocations: 15.95 kB / 0.5643 GB, free: 9.691 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.3307, allocations: 298 kB / 0.5646 GB, free: 9.367 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3307, allocations: 0 / 0.5646 GB, free: 9.367 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.3308, allocations: 4 kB / 0.5646 GB, free: 9.363 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3308, allocations: 4 kB / 0.5646 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.331, allocations: 167.9 kB / 0.5648 GB, free: 9.195 MB / 474.7 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.0006981/0.3317, allocations: 0.5041 MB / 0.5653 GB, free: 8.656 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.332, allocations: 138.6 kB / 0.5654 GB, free: 8.516 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.3321, allocations: 75.91 kB / 0.5655 GB, free: 8.445 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.3321, allocations: 4 kB / 0.5655 GB, free: 8.441 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3322, allocations: 38.5 kB / 0.5655 GB, free: 8.395 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3322, allocations: 4 kB / 0.5655 GB, free: 8.391 MB / 474.7 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.002804/0.335, allocations: 1.149 MB / 0.5666 GB, free: 7.195 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.335, allocations: 55.34 kB / 0.5667 GB, free: 7.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.3351, allocations: 113.8 kB / 0.5668 GB, free: 7.008 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3351, allocations: 25.7 kB / 0.5668 GB, free: 6.977 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.3351, allocations: 104 kB / 0.5669 GB, free: 6.871 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.3352, allocations: 67.38 kB / 0.567 GB, free: 6.805 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.3353, allocations: 60.94 kB / 0.567 GB, free: 6.742 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.3353, allocations: 324.6 kB / 0.5673 GB, free: 6.418 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.3354, allocations: 63.97 kB / 0.5674 GB, free: 6.355 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3355, allocations: 103.4 kB / 0.5675 GB, free: 6.242 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3357, allocations: 189.5 kB / 0.5677 GB, free: 6.047 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3358, allocations: 4 kB / 0.5677 GB, free: 6.043 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003031/0.3361, allocations: 250.3 kB / 0.5679 GB, free: 5.789 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3361, allocations: 8 kB / 0.5679 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3361, allocations: 0 / 0.5679 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.3362, allocations: 56.77 kB / 0.568 GB, free: 5.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.3364, allocations: 51.95 kB / 0.568 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002871/0.3367, allocations: 0.5681 MB / 0.5686 GB, free: 5.078 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.3367, allocations: 7.938 kB / 0.5686 GB, free: 5.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.3368, allocations: 30.34 kB / 0.5686 GB, free: 5.043 MB / 474.7 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 8.799e-05/0.3368, allocations: 123.1 kB / 0.5688 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.3369, allocations: 15.94 kB / 0.5688 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.3373, allocations: 334.4 kB / 0.5691 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3373, allocations: 4 kB / 0.5691 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3373, allocations: 0 / 0.5691 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.3373, allocations: 3.938 kB / 0.5691 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.3379, allocations: 0.5633 MB / 0.5696 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3379, allocations: 4 kB / 0.5696 GB, free: 3.953 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3381, allocations: 59.89 kB / 0.5697 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.048e-05/0.3381, allocations: 20.84 kB / 0.5697 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3381, allocations: 15.98 kB / 0.5697 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006042/0.3388, allocations: 1.237 MB / 0.5709 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3388, allocations: 4.031 kB / 0.571 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.3392, allocations: 435.7 kB / 0.5714 GB, free: 2.059 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.3392, allocations: 15.97 kB / 0.5714 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3392, allocations: 5.438 kB / 0.5714 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3393, allocations: 8.156 kB / 0.5714 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3394, allocations: 31.95 kB / 0.5714 GB, free: 2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.3394, allocations: 24 kB / 0.5714 GB, free: 1.977 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.727e-05/0.3394, allocations: 87.27 kB / 0.5715 GB, free: 1.891 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3394, allocations: 0 / 0.5715 GB, free: 1.891 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.3397, allocations: 83.88 kB / 0.5716 GB, free: 1.809 MB / 474.7 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.0002777/0.34, allocations: 154.2 kB / 0.5718 GB, free: 1.648 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.3403, allocations: 200 kB / 0.5719 GB, free: 1.453 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3403, allocations: 0 / 0.5719 GB, free: 1.453 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.3405, allocations: 218.1 kB / 0.5722 GB, free: 1.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.3408, allocations: 51.48 kB / 0.5722 GB, free: 1.184 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.3413, allocations: 435 kB / 0.5726 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.523e-05/0.3414, allocations: 90.09 kB / 0.5727 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3415, allocations: 64.41 kB / 0.5728 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of SimCode: time 4.9e-07/0.3415, allocations: 0 / 0.5728 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of Templates: time 0.004536/0.3461, allocations: 3.945 MB / 0.5766 GB, free: 12.62 MB / 490.7 MB " [Timeout remaining time 660] 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.282264756038785]