Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001103/0.001103, allocations: 80.8 kB / 21.5 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.001224/0.001224, allocations: 170.4 kB / 24.91 MB, free: 8.641 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.9803/0.9803, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2397/0.2397, allocations: 34.27 MB / 296.1 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.631e-05, allocations: 4.031 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3243/0.3244, allocations: 144.7 MB / 469.9 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009237/0.3253, allocations: 1.075 MB / 471 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.3253, allocations: 2.344 kB / 471 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.3256, allocations: 27.67 kB / 471 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005497/0.3261, allocations: 286.2 kB / 471.3 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.3264, allocations: 117.6 kB / 471.4 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.3266, allocations: 184.8 kB / 471.6 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.3266, allocations: 12.34 kB / 471.6 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3268, allocations: 123.5 kB / 471.7 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.3269, allocations: 45.16 kB / 471.7 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3269, allocations: 5.281 kB / 471.7 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.3272, allocations: 263.2 kB / 472 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.3272, allocations: 22.8 kB / 472 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.3273, allocations: 29.66 kB / 472 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.3276, allocations: 310.6 kB / 472.4 MB, free: 16.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3276, allocations: 0 / 472.4 MB, free: 16.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3276, allocations: 0 / 472.4 MB, free: 16.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.3276, allocations: 4 kB / 472.4 MB, free: 16.31 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.0003184/0.3279, allocations: 311.4 kB / 472.7 MB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.3279, allocations: 10.09 kB / 472.7 MB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009678/0.3289, allocations: 253 kB / 472.9 MB, free: 16.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3291, allocations: 125 kB / 473 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3291, allocations: 12.73 kB / 473.1 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.3291, allocations: 12.31 kB / 473.1 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.3293, allocations: 269.5 kB / 473.3 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3293, allocations: 2.156 kB / 473.3 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3294, allocations: 7.359 kB / 473.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3294, allocations: 3 kB / 473.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3295, allocations: 80.22 kB / 473.4 MB, free: 15.71 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.0004669/0.3299, allocations: 432.6 kB / 473.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3301, allocations: 91.94 kB / 473.9 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.3301, allocations: 49.42 kB / 474 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3301, allocations: 5.766 kB / 474 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.3301, allocations: 33.25 kB / 474 MB, free: 15.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.3301, allocations: 0 / 474 MB, free: 15.32 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.002037/0.3322, allocations: 0.8328 MB / 474.8 MB, free: 15.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.3322, allocations: 57.86 kB / 474.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.085e-05/0.3322, allocations: 122.2 kB / 475 MB, free: 14.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3323, allocations: 28.36 kB / 475.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.3323, allocations: 97.89 kB / 475.1 MB, free: 14.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.3323, allocations: 72.14 kB / 475.2 MB, free: 14.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3324, allocations: 39.53 kB / 475.3 MB, free: 14.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.3324, allocations: 327.2 kB / 475.6 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.3324, allocations: 31.03 kB / 475.6 MB, free: 14.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.339e-05/0.3325, allocations: 61.61 kB / 475.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.3326, allocations: 120.2 kB / 475.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3326, allocations: 3.938 kB / 475.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001693/0.3328, allocations: 152.7 kB / 475.9 MB, free: 14.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3328, allocations: 7.562 kB / 475.9 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3328, allocations: 2.938 kB / 475.9 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.3329, allocations: 25.5 kB / 476 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3331, allocations: 55.91 kB / 476 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/0.3399, allocations: 1.608 MB / 477.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.34, allocations: 9.531 kB / 477.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.34, allocations: 18.03 kB / 477.7 MB, free: 12.89 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.782e-05/0.3401, allocations: 123.5 kB / 477.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.3401, allocations: 19.86 kB / 477.8 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.3403, allocations: 200.8 kB / 478 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3403, allocations: 0 / 478 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3403, allocations: 2.938 kB / 478 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3403, allocations: 4 kB / 478 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.3407, allocations: 378.1 kB / 478.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3407, allocations: 0 / 478.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.3408, allocations: 47 kB / 478.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-05/0.3409, allocations: 21.48 kB / 478.4 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3409, allocations: 7.906 kB / 478.4 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003021/0.3412, allocations: 1.161 MB / 479.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3412, allocations: 2.344 kB / 479.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.3414, allocations: 306.9 kB / 479.9 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.3414, allocations: 6.891 kB / 479.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3414, allocations: 6.594 kB / 479.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.3415, allocations: 12.31 kB / 479.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.3415, allocations: 24.77 kB / 480 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3416, allocations: 16.28 kB / 480 MB, free: 11.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.302e-05/0.3416, allocations: 17.03 kB / 480 MB, free: 11.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.3416, allocations: 0 / 480 MB, free: 11.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00022/0.3418, allocations: 84.14 kB / 480.1 MB, free: 11.14 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.0002189/0.342, allocations: 141.3 kB / 480.2 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3422, allocations: 236.5 kB / 480.4 MB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3422, allocations: 4.188 kB / 480.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.3423, allocations: 185.8 kB / 480.6 MB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3425, allocations: 59.81 kB / 480.7 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.3432, allocations: 387.1 kB / 481.1 MB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.119e-05/0.3432, allocations: 72.33 kB / 481.1 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.3433, allocations: 57.27 kB / 481.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.3435, allocations: 110.7 kB / 481.3 MB, free: 10.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3435, allocations: 0 / 481.3 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Templates: time 0.006716/0.3502, allocations: 6.207 MB / 487.5 MB, free: 9.848 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.450292997993529]