Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.001428/0.001428, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001521/0.001521, allocations: 162.1 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9249/0.9249, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.869e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2911/0.2911, allocations: 141.1 MB / 392.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2926, allocations: 1.507 MB / 394.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.2927, allocations: 0 / 394.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.293, allocations: 45.2 kB / 394.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008359/0.2939, allocations: 409.1 kB / 394.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.2943, allocations: 176.6 kB / 394.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.2945, allocations: 185.1 kB / 394.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.2945, allocations: 5.938 kB / 394.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.2947, allocations: 105.2 kB / 395 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.2948, allocations: 49.3 kB / 395 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.2948, allocations: 5.188 kB / 395 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.2955, allocations: 0.5256 MB / 395.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.2956, allocations: 34.42 kB / 395.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.2956, allocations: 41.75 kB / 395.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.2961, allocations: 412.3 kB / 396 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2961, allocations: 4 kB / 396 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2962, allocations: 0 / 396 MB, free: 10.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2962, allocations: 1.094 kB / 396 MB, free: 10.39 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000437/0.2966, allocations: 457.4 kB / 396.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2966, allocations: 14.64 kB / 396.5 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2977, allocations: 212.1 kB / 396.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.2979, allocations: 151.4 kB / 396.8 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2979, allocations: 6.5 kB / 396.8 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.2979, allocations: 17.86 kB / 396.9 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.2982, allocations: 242 kB / 397.1 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2982, allocations: 0 / 397.1 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.2982, allocations: 0 / 397.1 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2982, allocations: 2.312 kB / 397.1 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.2984, allocations: 131.3 kB / 397.2 MB, free: 9.664 MB / 330.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.0009206/0.2993, allocations: 0.5315 MB / 397.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.2996, allocations: 153.2 kB / 397.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.2996, allocations: 70.81 kB / 398 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.642e-05/0.2997, allocations: 21.92 kB / 398 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.2997, allocations: 36.17 kB / 398 MB, free: 9.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2997, allocations: 0 / 398 MB, free: 9.246 MB / 330.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.002451/0.3022, allocations: 1.052 MB / 399.1 MB, free: 8.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.3022, allocations: 57.72 kB / 399.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.3023, allocations: 175.9 kB / 399.3 MB, free: 8.512 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3023, allocations: 25.7 kB / 399.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.3023, allocations: 147.7 kB / 399.5 MB, free: 8.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.3024, allocations: 71.75 kB / 399.6 MB, free: 8.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.3025, allocations: 51.92 kB / 399.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.3025, allocations: 0.4921 MB / 400.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.3026, allocations: 49.28 kB / 400.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-05/0.3027, allocations: 91.95 kB / 400.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3028, allocations: 161.1 kB / 400.4 MB, free: 7.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3028, allocations: 3.984 kB / 400.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002818/0.3031, allocations: 224.8 kB / 400.6 MB, free: 7.547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3031, allocations: 5.719 kB / 400.6 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3031, allocations: 2.031 kB / 400.6 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.3033, allocations: 27.27 kB / 400.7 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.3035, allocations: 53.78 kB / 400.7 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006296/0.3041, allocations: 1.759 MB / 402.5 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.3042, allocations: 9.984 kB / 402.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3042, allocations: 18.19 kB / 402.5 MB, free: 5.734 MB / 330.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 8.769e-05/0.3043, allocations: 170.1 kB / 402.7 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.3044, allocations: 15.11 kB / 402.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.3047, allocations: 257.6 kB / 402.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3047, allocations: 2.781 kB / 402.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3047, allocations: 3.938 kB / 402.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3047, allocations: 0 / 402.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.3053, allocations: 0.5487 MB / 403.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3053, allocations: 0 / 403.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.3056, allocations: 52.55 kB / 403.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.439e-05/0.3057, allocations: 20.64 kB / 403.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.3057, allocations: 13.48 kB / 403.6 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004589/0.3061, allocations: 1.701 MB / 405.3 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3061, allocations: 4.109 kB / 405.3 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.3066, allocations: 447.2 kB / 405.7 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.3066, allocations: 9.422 kB / 405.7 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.3066, allocations: 10.11 kB / 405.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.3068, allocations: 6.469 kB / 405.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.3068, allocations: 26.94 kB / 405.8 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.3068, allocations: 9.078 kB / 405.8 MB, free: 2.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.436e-05/0.3069, allocations: 129 kB / 405.9 MB, free: 2.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3069, allocations: 0 / 405.9 MB, free: 2.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004528/0.3073, allocations: 139.8 kB / 406 MB, free: 2.832 MB / 330.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 (19): * Single equations (assignments): 18 * 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.0004908/0.3078, allocations: 250 kB / 406.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.3082, allocations: 347.7 kB / 406.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3082, allocations: 0 / 406.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.3084, allocations: 263.2 kB / 406.9 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3087, allocations: 56.92 kB / 406.9 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/0.3095, allocations: 396.6 kB / 407.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.3096, allocations: 78.33 kB / 407.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.3098, allocations: 54.02 kB / 407.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.31, allocations: 122.2 kB / 407.6 MB, free: 1.738 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.31, allocations: 0 / 407.6 MB, free: 1.738 MB / 330.7 MB Notification: Performance of Templates: time 0.01017/0.3202, allocations: 7.31 MB / 414.9 MB, free: 13.93 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.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.1301288357935846]