Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 169.2 kB / 24.91 MB, free: 9.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9531/0.9531, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2455/0.2455, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.571e-05, allocations: 2.969 kB / 323.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3073/0.3074, allocations: 144.7 MB / 467.9 MB, free: 16.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.3082, allocations: 0.9918 MB / 468.9 MB, free: 16.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.3083, allocations: 3.031 kB / 468.9 MB, free: 16.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.3085, allocations: 28.36 kB / 468.9 MB, free: 16.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.309, allocations: 241 kB / 469.2 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.3093, allocations: 125.3 kB / 469.3 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.3095, allocations: 172.8 kB / 469.5 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.3095, allocations: 4.062 kB / 469.5 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.3097, allocations: 112.5 kB / 469.6 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.3098, allocations: 45.98 kB / 469.6 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3098, allocations: 7.406 kB / 469.6 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.3101, allocations: 271.5 kB / 469.9 MB, free: 16.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.3102, allocations: 24.59 kB / 469.9 MB, free: 16.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.009e-05/0.3102, allocations: 35.06 kB / 470 MB, free: 16.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.3105, allocations: 305 kB / 470.3 MB, free: 16.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3105, allocations: 1.094 kB / 470.3 MB, free: 16.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3105, allocations: 0 / 470.3 MB, free: 16.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3105, allocations: 2.844 kB / 470.3 MB, free: 16.75 MB / 410.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.0003457/0.3109, allocations: 311.1 kB / 470.6 MB, free: 16.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3109, allocations: 12.09 kB / 470.6 MB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.312, allocations: 249.3 kB / 470.8 MB, free: 16.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3121, allocations: 128.1 kB / 470.9 MB, free: 16.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3121, allocations: 12.73 kB / 471 MB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.3121, allocations: 14.28 kB / 471 MB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.3124, allocations: 268.2 kB / 471.2 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3124, allocations: 0 / 471.2 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.3124, allocations: 6.5 kB / 471.2 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3124, allocations: 6.719 kB / 471.2 MB, free: 16.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3126, allocations: 80.39 kB / 471.3 MB, free: 16.15 MB / 410.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.0005064/0.3131, allocations: 430.4 kB / 471.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3132, allocations: 92.38 kB / 471.8 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.3132, allocations: 43.66 kB / 471.9 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3133, allocations: 8.156 kB / 471.9 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3133, allocations: 40.38 kB / 471.9 MB, free: 15.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.3133, allocations: 4 kB / 471.9 MB, free: 15.75 MB / 410.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.002011/0.3153, allocations: 0.8311 MB / 472.8 MB, free: 15.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.3153, allocations: 54.91 kB / 472.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.3154, allocations: 120.5 kB / 472.9 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3154, allocations: 28.83 kB / 473 MB, free: 15.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.3154, allocations: 102.4 kB / 473.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.3154, allocations: 69.77 kB / 473.1 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.3155, allocations: 41.67 kB / 473.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.062e-05/0.3155, allocations: 320.2 kB / 473.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.619e-05/0.3155, allocations: 33.3 kB / 473.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/0.3156, allocations: 67.97 kB / 473.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.3157, allocations: 116.8 kB / 473.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3157, allocations: 3.938 kB / 473.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001826/0.3159, allocations: 153.5 kB / 473.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3159, allocations: 9.594 kB / 473.9 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3159, allocations: 2.312 kB / 473.9 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.316, allocations: 24.81 kB / 473.9 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.3162, allocations: 67.19 kB / 473.9 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/0.3237, allocations: 1.623 MB / 475.6 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/0.3237, allocations: 6.531 kB / 475.6 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.3238, allocations: 11.94 kB / 475.6 MB, free: 13.31 MB / 410.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/0.3238, allocations: 133 kB / 475.7 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.3238, allocations: 12.22 kB / 475.7 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.3241, allocations: 198.7 kB / 475.9 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3241, allocations: 3.625 kB / 475.9 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3241, allocations: 0 / 475.9 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3241, allocations: 3 kB / 475.9 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.3244, allocations: 374.2 kB / 476.3 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3244, allocations: 4.609 kB / 476.3 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.3246, allocations: 62.98 kB / 476.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.138e-05/0.3247, allocations: 23.36 kB / 476.4 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3247, allocations: 11.33 kB / 476.4 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003076/0.325, allocations: 1.154 MB / 477.6 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.325, allocations: 0 / 477.6 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.3252, allocations: 316.3 kB / 477.9 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.3252, allocations: 16.47 kB / 477.9 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3252, allocations: 5.969 kB / 477.9 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.3253, allocations: 6.219 kB / 477.9 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.3254, allocations: 23.3 kB / 477.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3254, allocations: 21.78 kB / 477.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.379e-05/0.3254, allocations: 15.7 kB / 477.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3254, allocations: 0 / 477.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002165/0.3256, allocations: 80.09 kB / 478 MB, free: 11.56 MB / 410.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 (20): * Single equations (assignments): 19 * 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.000228/0.3259, allocations: 140.8 kB / 478.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.3261, allocations: 231.4 kB / 478.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.3261, allocations: 2.594 kB / 478.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3262, allocations: 187.8 kB / 478.6 MB, free: 11.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.3264, allocations: 58.31 kB / 478.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.3271, allocations: 390.4 kB / 479 MB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.967e-05/0.3271, allocations: 73.05 kB / 479.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.3273, allocations: 64.39 kB / 479.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3274, allocations: 112.9 kB / 479.3 MB, free: 10.82 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3274, allocations: 0 / 479.3 MB, free: 10.82 MB / 410.7 MB Notification: Performance of Templates: time 0.006401/0.3338, allocations: 6.247 MB / 485.5 MB, free: 10.26 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2875393452122808]