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.001251/0.001251, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001147/0.001147, allocations: 167.3 kB / 24.91 MB, free: 9.156 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.9632/0.9632, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2642/0.2642, allocations: 34.26 MB / 296.1 MB, free: 0.707 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.864e-06/1.864e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.687e-05, allocations: 3.188 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2991/0.2991, allocations: 144.7 MB / 470 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009135/0.3, allocations: 1.072 MB / 471 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.3001, allocations: 2.156 kB / 471 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.3003, allocations: 32.2 kB / 471.1 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005295/0.3009, allocations: 271.4 kB / 471.3 MB, free: 16.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.3011, allocations: 119 kB / 471.5 MB, free: 16.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.3013, allocations: 181.1 kB / 471.6 MB, free: 16.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.3014, allocations: 14.38 kB / 471.7 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.3016, allocations: 119 kB / 471.8 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.3016, allocations: 50.34 kB / 471.8 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3017, allocations: 5.781 kB / 471.8 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.302, allocations: 271.9 kB / 472.1 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.3021, allocations: 25.2 kB / 472.1 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.3021, allocations: 34.02 kB / 472.1 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.3024, allocations: 308.8 kB / 472.4 MB, free: 16.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3024, allocations: 0 / 472.4 MB, free: 16.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3024, allocations: 5.094 kB / 472.5 MB, free: 16.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3024, allocations: 0 / 472.5 MB, free: 16.34 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.0003183/0.3028, allocations: 310.4 kB / 472.8 MB, free: 16.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3028, allocations: 8.75 kB / 472.8 MB, free: 16.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.3038, allocations: 247.1 kB / 473 MB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.304, allocations: 128.9 kB / 473.1 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.304, allocations: 7.984 kB / 473.1 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.304, allocations: 17.83 kB / 473.2 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.3043, allocations: 269 kB / 473.4 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3043, allocations: 0 / 473.4 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.3043, allocations: 1.203 kB / 473.4 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3043, allocations: 2.312 kB / 473.4 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3044, allocations: 83.58 kB / 473.5 MB, free: 15.75 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.0004753/0.3049, allocations: 437.2 kB / 473.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.305, allocations: 93.47 kB / 474 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.3051, allocations: 51.58 kB / 474.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3051, allocations: 2.531 kB / 474.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3051, allocations: 33.88 kB / 474.1 MB, free: 15.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.3051, allocations: 0 / 474.1 MB, free: 15.35 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.002156/0.3073, allocations: 0.8359 MB / 474.9 MB, free: 15.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.3073, allocations: 61.5 kB / 475 MB, free: 14.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.619e-05/0.3073, allocations: 112 kB / 475.1 MB, free: 14.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3073, allocations: 25.7 kB / 475.1 MB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.3074, allocations: 101.2 kB / 475.2 MB, free: 14.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.3074, allocations: 69.08 kB / 475.3 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.3075, allocations: 45.16 kB / 475.3 MB, free: 14.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.3075, allocations: 322.9 kB / 475.7 MB, free: 14.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.3075, allocations: 27.8 kB / 475.7 MB, free: 14.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.3076, allocations: 68.41 kB / 475.8 MB, free: 14.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.3077, allocations: 115.9 kB / 475.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3077, allocations: 3.938 kB / 475.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001903/0.3079, allocations: 155.2 kB / 476 MB, free: 14.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3079, allocations: 9.156 kB / 476 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3079, allocations: 0 / 476 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.308, allocations: 28.83 kB / 476.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3083, allocations: 66.73 kB / 476.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/0.3158, allocations: 1.626 MB / 477.8 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3159, allocations: 6.469 kB / 477.8 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.316, allocations: 15.05 kB / 477.8 MB, free: 12.92 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 9.921e-05/0.3161, allocations: 127.7 kB / 477.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.3161, allocations: 11.38 kB / 477.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.3164, allocations: 204 kB / 478.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3164, allocations: 4 kB / 478.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3164, allocations: 4.531 kB / 478.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3164, allocations: 0 / 478.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.3168, allocations: 369.1 kB / 478.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3168, allocations: 2.938 kB / 478.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.317, allocations: 64.5 kB / 478.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.399e-05/0.3171, allocations: 21.64 kB / 478.6 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3171, allocations: 15.12 kB / 478.6 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003429/0.3174, allocations: 1.15 MB / 479.7 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3174, allocations: 2.562 kB / 479.7 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3177, allocations: 313 kB / 480 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-06/0.3177, allocations: 9.359 kB / 480 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.3177, allocations: 2.844 kB / 480.1 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.3178, allocations: 7.625 kB / 480.1 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.3178, allocations: 25.45 kB / 480.1 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.3179, allocations: 19.05 kB / 480.1 MB, free: 11.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.709e-05/0.3179, allocations: 16.92 kB / 480.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3179, allocations: 0 / 480.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.3181, allocations: 83.56 kB / 480.2 MB, free: 11.17 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.0002563/0.3184, allocations: 135.5 kB / 480.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3186, allocations: 239.7 kB / 480.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3186, allocations: 2.594 kB / 480.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.3187, allocations: 190.8 kB / 480.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.319, allocations: 66.45 kB / 480.8 MB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.3196, allocations: 379.4 kB / 481.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.3197, allocations: 75.84 kB / 481.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.3198, allocations: 60.48 kB / 481.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.32, allocations: 114.3 kB / 481.4 MB, free: 10.44 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.32, allocations: 0 / 481.4 MB, free: 10.44 MB / 410.7 MB Notification: Performance of Templates: time 0.007493/0.3275, allocations: 6.245 MB / 487.7 MB, free: 9.867 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 -s gbode -gbm=radauIIA3 -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.345887592062354]